Opened 10 years ago
Last modified 10 years ago
#10736 new defect
JOSM ignores keyboard shortcuts after opening another window
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core shortcuts | Version: | |
Keywords: | template_report, focus, shortcut, arch linux | Cc: | skyper |
Description (last modified by )
What steps will reproduce the problem?
- Perform an action that opens a new window in JOSM, e.g. edit or add a tag.
- Close the window (Enter, esc, click, …)
- Try to use a keyboard shortcut → It doesn’t work
- Focus the main JOSM window. It already has the focus again, but apparently JOSM doesn’t notice and ignores keyboard shortcuts
- Finally, use the keyboard shortcut you wanted to use.
What is the expected result?
JOSM should respond to keyboard shortcuts after the secondary window is closed.
What happens instead?
Nothing. One has to refocus the main window (even though it is focused) to be able to use keyboard shortcuts again.
Please provide any additional information below. Attach a screenshot if possible.
This problem didn’t occur in previous versions of JOSM. Ticket #10633 seems to be related. Sometimes keyboard shortcuts still work after closing the window, but after opening and closing another window (without refocusing), it always fails.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2014-10-21 19:23:06 Last Changed Author: Don-vip Revision: 7643 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Relative URL: ^/trunk URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2014-10-21 21:19:16 +0200 (Tue, 21 Oct 2014) Last Changed Rev: 7643 Identification: JOSM/1.5 (7643 de) Linux Arch Linux Memory Usage: 350 MB / 3641 MB (231 MB allocated, but free) Java version: 1.7.0_71, Oracle Corporation, OpenJDK 64-Bit Server VM VM arguments: [-Djosm.restart=true] Dataset consistency test: No problems found
Attachments (0)
Change History (6)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Description: | modified (diff) |
---|---|
Keywords: | arch linux added |
Owner: | changed from | to
Status: | new → needinfo |
Can't reproduce neither on my Ubuntu machine.
Oliver, can you please tell us what window manager you're using?
comment:3 by , 10 years ago
I am using Xorg (1.16.2) with Gnome 3.14, so my window manager is Mutter (both version 3.14.2).
comment:4 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
comment:6 by , 10 years ago
I have the same issue.
This started happening after upgrading from Fedora 17(32bit) to 21(64bit) even with the same josm version. With no plugins loaded. No errors on the console.
Also affects menu selections (f.ex Alt-f to open File menu) and not just josm specific stuff.
Identification: JOSM/1.5 (8109 en) Linux Fedora release 21 (Twenty One) Memory Usage: 473 MB / 668 MB (158 MB allocated, but free) Java version: 1.8.0_25, Oracle Corporation, OpenJDK 64-Bit Server VM VM arguments: [-agentpath:/usr/lib/abrt-java-connector/libabrt-java-connector.so=abrt=on]
I always had a bad feeling about that FocusListeners...
However I can not reproduce on my Windows machine.