Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to change the active tool using keyboard #300

Closed
kiraleos opened this issue Nov 13, 2020 · 2 comments
Closed

Add a way to change the active tool using keyboard #300

kiraleos opened this issue Nov 13, 2020 · 2 comments
Labels
accessibility bugs or features addressing needs of people with a disability or impairment feature request new features that don't exist at all tools bugs or suggestions related to tools
Milestone

Comments

@kiraleos
Copy link

Requested feature

Right now keyboard shortcuts are rarely used. I think a good addition would be to add shortcuts for common tasks and tools like Pencil, Eraser, Text and Rectangular Selection, along with a shortcut to increase/decrease the brush size.

Those shortcuts could be: 'B' or 'P' for Brush/Pencil, 'E' for Eraser, 'T' for text, 'S' for selection and '=' and '-' for increasing/decreasing the brush size.

Possible drawbacks

Not any that I can think of, the aforementioned shortcuts don't conflict with any existing ones.

Use case

Keyboard shortcuts are always handy. In a program like Drawing, one can draw with one hand, and the other hand presses the shortcuts to change tools etc. without moving one hand from the mouse to the keyboard.

@kiraleos kiraleos added the feature request new features that don't exist at all label Nov 13, 2020
@maoschanz maoschanz added accessibility bugs or features addressing needs of people with a disability or impairment tools bugs or suggestions related to tools labels Nov 13, 2020
@maoschanz
Copy link
Owner

maoschanz commented Nov 13, 2020

keyboard shortcuts are rarely used

Saving? Creating a new tab? Undoing? Copying? Pasting? Zooming in or out? The shortcuts window currently has 4 pages of shortcuts. The last stable version has "only" 3 entire pages but they're quite overcrowded...

common tasks and tools like Pencil, Eraser, Text and Rectangular Selection

This is highly subjective, i wouldn't consider "Eraser" to be common at all. This tool isn't even enabled by default.

along with a shortcut to increase/decrease the brush size.

it was reported as #242 and it's fixed

Those shortcuts could be: 'B' or 'P' for Brush/Pencil, 'E' for Eraser, 'T' for text, 'S' for selection and '=' and '-' for increasing/decreasing the brush size.

All of them conflict with existing ones except P (and = but increasing size already exists and it's shift+ctrl+↑)


Anyway, if a shortcut is too complex to remember or to type, people will just not type it. So to have something consistent across tools, easier, and less english-centric, i think the solution is too use underscore accelerators, but i'm not sure how well it works when the label can be hidden from the button. So it's not as easy as it sounds.

Also, it relies heavily on the quality of translations, and putting that in place would require to remove the existing accelerators from the menubar for people currently using it

@maoschanz maoschanz changed the title Add keyboard shortcuts for common tasks Add a way to change the active tool using keyboard Nov 13, 2020
@jn64
Copy link

jn64 commented Jun 13, 2021

I suggest using number keys 1 to 0, corresponding to the enabled tools (not fixed mappings).

  • Language agnostic, doesn't require translations.
  • Doesn't require any decisions about which key maps to what tool.
  • Doesn't require learning or memorisation.

Of course, the limitation is only the first 10 tools will have shortcut keys.

Another idea is to use a modifier key with scrollwheel to change tools.

@maoschanz maoschanz added this to the 1.0.0 milestone Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility bugs or features addressing needs of people with a disability or impairment feature request new features that don't exist at all tools bugs or suggestions related to tools
Projects
None yet
Development

No branches or pull requests

3 participants