Skip to content

Randomly switching between eraser and regular mode #1624

@hoellwerth

Description

@hoellwerth

Describe the bug

I sometimes have the problem of random switching between the regular pen and the eraser mode when writing with my stylus. I'm not sure if this behaviour is caused by Rnote or my hardware. I have attached a video to emphasize my point, I think one can see the issue quite clearly. I suspect it has something to do with palm detection, because when I write without my palm lying on the screen, everything works like a charm.

To Reproduce

Steps to reproduce the behavior:

  1. Write something
  2. Wait
  3. Randomly switching between eraser and regular mode

Expected behavior
Stay in regular mode, only switch when I want to. Also the writing is supposed to be uniform thickness when applying the same amount of force.

Console Output
Run the app in the terminal with flatpak --env=RUST_LOG=rnote=debug --env=RUST_BACKTRACE=1 run com.github.flxzt.rnote
and post the output.

Everytime the mode switches, the engine prints the following debug message:

'''
130.940997468s DEBUG rnote_engine::store: State has not changed, no need to record.
163.036097497s DEBUG rnote_engine::store: State has not changed, no need to record.
163.280088122s DEBUG rnote_engine::store: State has not changed, no need to record.
'''

Screenshots
The following video was not the same session as the one with the debug messages

Screencast.From.2026-01-10.21-50-28.mp4

Desktop (please complete the following information):

  • OS: Fedora 43
  • App Version: 0.13.1
  • Installation Source: Flatpak
  • Desktop Environment: Gnome 49
  • Display Server: Wayland
  • Input Source: On-Screen tablet

Additional context
Hardware is Minisforum V3 with the minisforum stylus

Metadata

Metadata

Assignees

No one assigned

    Labels

    inputinput related issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions