micku7zu / QuickCursor

Quick Cursor: One-Handed mode
https://play.google.com/store/apps/details?id=com.quickcursor
20 stars 1 forks source link

The click doesn't work on Samsung #6

Open micku7zu opened 1 year ago

micku7zu commented 1 year ago

Issue description

The click doesn't work on Samsung device. The following error message appear:

Quick Cursor couldn't send the gesture because the Android Accessibility Service stopped to dispatch gestures. This is a known bug in some devices and can be triggered by other apps that use accessibility services or by some integrated ones, like the One-Handed mode on Samsung devices. To resolve this issue, disable and enable the Quick Cursor accessibility service or restart your device. If you keep having this problem for unknown reasons, please try the limited mode.

Solution

  1. Disable Samsung "One-Handed mode": Settings -> Advanced features -> One-handed mode turned off

  2. Uninstall Samsung "One Hand Operation +" app.

  3. Restart the device

Root cause

Samsung "One-Handed mode" and "One Hand Operation +" have a bug that breaks the gesture replication in Android. There is no explanation or reason why this happens, it just stops working. It looks like the 2022 December Android 13 update fixed this issue, at least on some devices that I tried. I still need more feedback if this is resolved for all their devices.

The dispatchGesture accessibility method is not working if one of that two services is enabled.