micku7zu / micku7zu/QuickCursor

The click doesn't work on Samsung

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cant_be_fixed workaround_available
Dominant language
No language data
Stars
83
Forks
1
PR merge metrics
No merged PRs in 30d

Description

# 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](https://user-images.githubusercontent.com/3103859/210067297-759d8a4c-a621-4a39-aab4-ec93e0876c6f.png)

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](https://developer.android.com/reference/android/accessibilityservice/AccessibilityService?hl=Es-419#dispatchGesture(android.accessibilityservice.GestureDescription,%20android.accessibilityservice.AccessibilityService.GestureResultCallback,%20android.os.Handler)) accessibility method is not working if one of that two services is enabled.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure on a Samsung device with One-Handed mode and One Hand Operation + enabled, then review the Android AccessibilityService dispatchGesture behavior described in the issue. Compare the normal and limited modes and determine whether the project has a code-level response; done is a reproducible diagnosis or a clearly documented limitation and workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
accessibility, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.