Opened 17 years ago
Closed 17 years ago
#128 closed enhancement (wontfix)
Alt keyboard shortcut is a common window manager shortcut
Reported by: | hansendc | Owned by: | imi |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
Honestly not a huge show stopper bug or anything, but the keyboard shortcuts page mentions that Alt will grab segments instead of ways if you use the alt key. However, many window managers use Alt as a shortcut for various window actions like resizing or moving windows. It would be nice if this was something a bit less common, or could also be accessed with Alt-Shift or something.
I guess this would also be taken care of if the shortcuts were configurable. In any case, I thought I'd at least document this request.
Attachments (0)
Change History (2)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
beside the fact the patch is totally screwed when passing outside an { { { / } } } - tag, it looks a bit dirty to me, e.g. assigning something other than the state of the alt-key to a variable "alt"...
Anyway, to circumvent most windowmanager, press the mouse button first and then press alt and finally release the mouse button (while still holding alt). JOSM will react to the mouse release only while all window manager I've seen react only on mouse press.
This patch will make right click do the same as alt+click does (I much prefer this):
Index: J:/eclipse/eclipse/workspace/JOSM/src/org/openstreetmap/josm/gui/SelectionManager.java
===================================================================
--- J:/eclipse/eclipse/workspace/JOSM/src/org/openstreetmap/josm/gui/SelectionManager.java (revision 219)
+++ J:/eclipse/eclipse/workspace/JOSM/src/org/openstreetmap/josm/gui/SelectionManager.java (working copy)
@@ -162,7 +162,7 @@
@@ -194,7 +194,7 @@
+ if (e.getButton() != MouseEvent.BUTTON1 && e.getButton() != MouseEvent.BUTTON3)
@@ -206,7 +206,7 @@