saber icon indicating copy to clipboard operation
saber copied to clipboard

S-Pen button switches tool to Erase, but not erasing

Open QubaB opened this issue 1 year ago • 8 comments

Before submitting an issue, please check the following

  • [X] I have searched for similar issues (both open and closed) and cannot find a duplicate
  • [X] I agree to follow the Code of Conduct

Describe the bug

Newly introduced handling of S-Pen button pres (when howering pen) #1355 does not work correctly to me.

When I press S-Pen button, Eraser tool is activated on toolbar, but entities are not erased.

To reproduce

  1. Draw some entities
  2. Press S-Pen button (when pen is howered above screen) - Eraser activates
  3. Try to erase some items

Expected behavior

When Eraser is activated it should erase items

Saber version

v0.25.3

Device

  • Device: Samsung Galaxy Tab S6
  • OS: Android 13

Anything else?

No response

QubaB avatar Dec 14 '24 13:12 QubaB

It works after having upgraded to Android 15 (LineageOS 22.1).

Iey4iej3 avatar Jan 10 '25 19:01 Iey4iej3

Same problem on a galaxy tab S4, and cannot update it above Android 10 so I'm stuck with being unable to use the stylus button...

Whitebowfr avatar Jan 19 '25 10:01 Whitebowfr

This actually works partially in version 0.25.1, but was broken in 0.25.2. In 0.25.1 you have to press the button after putting the pen on the screen to start erasing.

However, starting with 0.25.2 eraser does not work at all.

Evidlo avatar Mar 12 '25 03:03 Evidlo

Bug still present on my Tab S7 running v0.25.4 F-Droid (25040)

bigrjsuto avatar Apr 07 '25 04:04 bigrjsuto

Same Issue at v0.25.6 F-Droid (25060) on Samsung Tab S6 Lite

Jakob10101 avatar May 27 '25 08:05 Jakob10101

Same issue at v0.25.8 (25080) on same device

Crowerade avatar Jun 04 '25 12:06 Crowerade

Same issue at v0.26.0 F-Droid on Samsung Tab S7+.

manuel-carrasco avatar Jul 24 '25 18:07 manuel-carrasco

Same issue at v0.25.2 (F-Droid) on Samsung Tab S6 Lite.

  • If the stylus button is pressed before the stylus touches the screen: toolbar shows that the eraser is enabled, but touching the screen with the stylus has no effect.
  • If the stylus button is pressed after the stylus touches the screen: toolbar shows that the eraser is enabled, and touching the screen with the stylus erases objects.

After upgrading to v0.26.2, the eraser has no effect no matter whether the button is pressed before or after touching the screen.

dniku avatar Aug 17 '25 10:08 dniku