Skip to content

stylus Button Issue when changing tool #1456

Open
@ComputerElite

Description

@ComputerElite

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

Describe the bug

When the stylus is lifted from the tablets reach after pressing the button the eraser remains active. When now changing the tools to e. g. the highlighter and bringing the pen back (button now released), the tool changes back to whatever you had before the eraser.

To reproduce

  1. Open a note
  2. Select the pen tool
  3. Hold the stylus button while lifting it away from the screen (S Pen without bluetooth)
  4. Change to highlighter tool
  5. Start writing
    => The pen tool will get selected again

Expected behavior

I propose that this is changed to instead keep the current tool. Will provide PR later

Saber version

v0.25.4 FOSS

Device

  • Device: Samsung Galaxy Tab S7 FE
  • OS: Android 14 (One UI 6.1)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions