saber-notes / saber

The cross-platform open-source app built for handwriting
https://saber.adil.hanney.org
GNU General Public License v3.0
2.23k stars 142 forks source link

Undesired Undo with two fingers #643

Open Polux49 opened 1 year ago

Polux49 commented 1 year ago

Describe the bug

I don't know if it's a bug or a (odd) feature, but in v0.12.5, just tapping with two fingers on a note results in an undesired Undo.

This is annoying, because zooming in and out, as well as scrolling, use two fingers too. Thus, except if I press my two fingers very slowly on the screen, I get an Undo whenever I try to zoom in and out or to scroll with two fingers.

To reproduce

  1. Open a note
  2. Type some things
  3. Tap with two fingers
  4. The last thing you wrote disappears

You can repeat it until everything you wrote is deleted.

Expected behavior

If it is a feature, I wish it could be disabled.

Saber version

v0.12.5 F-Droid

Device

Anything else?

No response

HoWilgh commented 1 year ago

I am completely with polux49 . Please make it possible to disable this 'feature'!

theIuser commented 1 year ago

Experienced this bug today as well. Whenever I hand draw something, then use the two finger gesture to zoom out my drawn line disappears. Tested on iOS with v0.13.0

HoWilgh commented 8 months ago

This ist still the main reason why I do not use saber as daily driver- tool on my mobile phone.

atahanacar commented 6 months ago

Possibly relevant code: https://github.com/saber-notes/saber/blob/839bf2bb97ee425b54fee317e53000d6252cd738/lib/pages/editor/editor.dart#L527