https://bugs.kde.org/show_bug.cgi?id=517978

            Bug ID: 517978
           Summary: Samsung S-Pen button very inconsistent based on
                    distance/ movement
    Classification: Applications
           Product: krita
      Version First 5.2.16
       Reported In:
          Platform: Android
                OS: Android 14.x
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Shortcuts and Canvas Input Settings
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Summary:
Using the S Pen button (mapped as middle mouse button / MMB) to trigger “Set
Eraser Mode” is inconsistent. The action only works reliably when the pen is
held further away from the screen (no hover). When the pen is near the screen
(hovering), the same button press often does nothing. Additionally, not all
clicks are picked up in non-hover state while pen is in motion.

Steps to Reproduce:

1. Open Krita on an Android device with S Pen.
2. Go to Configure Krita → Canvas Input Settings.
3. Bind:
- “Set Eraser Mode” to Click (MMB) or Double Click (MMB) under S Pen actions.
4. Use the pen:
- Hold the pen close to the screen (hover), press the button.
- Move the pen further away (no hover), press the button.
- Try both actions while pen in motion or static.

Expected Behavior:

- Pressing the S Pen button should consistently trigger “Set Eraser Mode,”
regardless of pen distance from the screen or current speed of movement of pen.

Actual Behavior:

When hovering (pen near screen):
- Button press frequently does nothing (unless perfectly still).
When not hovering (pen further away):
- Button press reliably toggles eraser mode (unless making broad gestures -
akin to air actions).
Behavior is more reliable if the pen is completely still or away from hover
detection.

By default, the s-pen button had become 'pan canvas' when near screen.
Disabling this does not fix issue.
- Removing other MMB bindings (e.g., pan) does not resolve the issue.

Platform:

- Device: Samsung Galaxy Tablet S9 Ultra
- OS: Android 16
- Krita version: 5.2.16

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to