flxzt / rnote

Sketch and take handwritten notes.
https://rnote.flxzt.net
GNU General Public License v3.0
8.21k stars 282 forks source link

Immediate switching of tool upon (Stylus) button release #966

Open bestlinuxgamers opened 9 months ago

bestlinuxgamers commented 9 months ago

Currently, when using the primary button on the stylus to activate the eraser tool (option "temporary"), it does not revert to the previous tool upon releasing the button if the stylus hasn't touched the screen yet. The tool only switches back after the stylus has touched the screen and been released. This is annoying since I have to touch a random spot on the screen upon accidentally pressing the primary stylus button to switch back to the drawing tool. I understand that this behaviour is intended and necessary for most other button types, but for the stylus button, this is not the optimal behaviour.

I suggest adding a fourth option to the button action menu that behaves just like the "temporary" option but reverts to the previous tool if the button is released and the tool is not actively being used (e.g. drawing).

flxzt commented 9 months ago

there is an open merge request with this improvement #728