aforeman / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

Keyboard shortcuts "while key is pressed" #179

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The program has many keyboard shortcuts that toggle something (on<->off).
Some functions would benefit from having keyboard shortcuts that turn 
something ON when the key is pressed, and OFF when the key is released.

An existing example that I know is the panning in Photoshop: While you're 
holding "space", the tool is the panning hand; when you release you go 
back to original tool.

This would be on user's option, of course. The program allows two 
shortcuts per function, so the user can assign a "toggle" shortcut and 
a "held" shortcut, if he needs both.
User interface: In the screen where the user sets shortcuts, next to each 
shortcut there could be a checkbox "while held". In the help screens, such 
shortcuts would appear as "Hold Shift-D" instead of "Shift-D"

This has to examined on a function-by-function basis.
Right now I can see:
- All shortcuts that open a window with a OK button (releasing the key 
confirms the changes)
- All buttons that select a tool, including pipette (On key release: pop 
back the previous tool)
- Magnify
- Shortcuts that enable/disable a drawing effect.

Note: it's possible to hold MouseMiddleButton (and thus you can hook a 
shortcut there), but not MouseWheelUp or MouseWheelDown.

This is related to:
Issue 88: Make all the shortcuts opening a window close it back if it was 
already open.
Issue 135: Brush container

Original issue reported on code.google.com by yrizoud on 15 Jun 2009 at 11:53

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by pulkoma...@gmail.com on 15 Sep 2009 at 7:13

GoogleCodeExporter commented 8 years ago

Original comment by pulkoma...@gmail.com on 15 Feb 2011 at 8:12

GoogleCodeExporter commented 8 years ago
The only useful one is implented in 2.4 : Hold Space to pan view.

Original comment by yrizoud on 8 Mar 2012 at 7:04

GoogleCodeExporter commented 8 years ago
There is another useful one : "adjust picture" tool.
With an extra feature : allow to use the arrow keys to move the picture while 
another key is pressed. Very useful, as it is next to impossible to use the 
adjust tool with mouse for precise alignment.

Suggested by samw3 on the IRC channel.

Original comment by pulkoma...@gmail.com on 28 May 2012 at 5:11

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Notes about "Adjust picture" (scroll) tool: It works also in zoomed view. This 
can provide much improved mouse accuracy, especially if you wanted to use the 
Shift modifier. In fullscreen (no zoom), I often use the window edges as rulers.

Original comment by yrizoud on 12 Jul 2012 at 10:41

GoogleCodeExporter commented 8 years ago

Original comment by pulkoma...@gmail.com on 6 Oct 2012 at 7:00