flxzt / rnote

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

customizable pen property presets/macros #841

Open samualon opened 1 year ago

samualon commented 1 year ago

The problem

Since I only use keyboard and mouse, it sometimes is annoying having to select the line tool and green color to highlight things and then switch over to the text tool and the black color to annotate.

The solution

This is why I think a macro system that is more extensive and customizable than the button shortcutts which already exist, could be usefull. This system would allow users to create a macro where you can choose a tool with its properties (f.e. the color of the paint brush and the thickness; the shape tool with the chosen shape, thickness and color). This user-defined macro could then be binded to a shortcut.

This way, users could easily switch between highlighting, text annotating, drawing, etc.

Another possible solution

Another slightly less efficient solution would be to feature keyboard navigation similar to the keyboard shortcuts in Microsoft Office producst, where all visible buttons show a certain key when the user presses ALT. Then the user can press the key correlating to the button they'd wanna press which would activatie this button (see picture below).

image

felurx commented 2 months ago

I think #389 comes from a similar place, it would be convenient to be able to quickly switch between different combinations of style/color/size/etc.

I personally like the idea of being able to "clone" a tool / to have multiple instances of a tool in the toolbar, with each instance remembering its settings. That way, one could have a pen tool and a highlighter tool, and switch between them just like between the brush and the eraser. But it might also make (more?) sense to instead be able to save the settings of a tool into a preset and quickly apply those presets.

Would it make more sense to create a new issue for discussing a possible preset/multiple-tool system? I think the idea to have a macro system is interesting by itself, and is somewhat different from that. Also, a more powerful/adjustable keyboard shortcut system (that could, for example, execute macros) might be an additional issue?

One more thought, a macro system could be the base (or a replacement) for a preset system: Saving a preset could generate a macro behind the scenes, and applying a preset would then just be the same as executing the macro.