saber-notes / saber-notes/saber
S Pen eraser mode detected but doesn't erase on Samsung Galaxy Tab S6 Lite
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 4.8k
- Forks
- 371
- Avg merge
- 29m
- Merged PRs (30d)
- 3
Description
Describe the bug
In Samsung the app detects S Pen perfectly, and when the button is pressed it changes the mode to rubber but it dont rubber. Is so annoying the function that the app correctly detects the S Pen button press and switches to eraser mode visually, but the eraser functionality does not work —This is a a issue with this topic but i consider this is a bug, cuz detects the button but don't works , would be super if u can fix it. I'm on a Samsung galaxy Tab S6 Lite.
The UI shows eraser mode is active, but no strokes are removed when drawing over them. The pen continues to behave as if in pen mode.
To reproduce
Take the S Pen out of the tablet
Write something on the canvas
Press the S Pen side button (app UI switches to eraser mode)
Attempt to erase strokes by drawing over them
Expected behavior
Strokes should be erased when drawing over them in eraser mode.
Saber version
version: 1.30.0
Device
App version: 1.29.5
Device: Samsung Galaxy Tab S6 Lite (SM-P610 / SM-P613 / SM-P615)
OS: Android (One UI version not specified — please add if known)
S Pen model: Integrated S Pen for Tab S6 Lite
Anything else?
The mode switch is detected (UI changes to eraser icon), confirming S Pen button events are received.
The issue appears to be in the eraser action logic, not event detection.
Workaround: Manually switching to eraser via UI toolbar works correctly.
(there's already a issue commenting this, but this is a bug cuz i saw the function in the UI is added but is just it do nothing)
Before submitting an issue, please check the following
- I have searched for similar issues (both open and closed) and cannot find a duplicate
- I agree to follow the Code of Conduct
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the S Pen side-button handling and the eraser action logic, then compare that path with the toolbar eraser path, which reportedly works. Reproduce on a Samsung Galaxy Tab S6 Lite and verify that drawing over existing strokes with the button-held eraser removes them while normal pen input remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, dart, flutter
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100