Skip to content

Add option to lock eraser button to the eraser #1104

Open
@Klaaktu

Description

@Klaaktu

Describe the bug
The Surface slim pen's eraser button activates the selector tool instead of eraser in Rnote while hovering above the screen.

To Reproduce
Steps to reproduce the behavior:
0. Primary side button is mapped to the selector, and secondary button is mapped to the eraser. (not sure if necessary)

  1. Write something in Rnote with the Surface slim pen.
  2. Flip the pen over, hover the eraser above the screen. See selector is activated instead.
  3. Attempt erasing. See selector is used instead.

Expected behavior
Eraser button activates the eraser tool.

Console Output
(Tried setting the env variables in Powershell, command exits, no output...)

Screenshots

Desktop (please complete the following information):

  • OS: Windows 11 23H2
  • App Version: Rnote v0.10.2
  • Installation Source: Github releases
  • Desktop Environment:
  • Display Server:
  • Input Source: On-Screen-Tablet & Windows Ink

Additional context
Secondary button doesn't seem to exist on the Surface slim pen, there is another button via eraser click, but doesn't seem to do anything, same in Xournal++.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions