Modify

Opened 10 years ago

Last modified 10 years ago

#11739 new defect

Hotkeys don't work, but those with modifiers do.

Reported by: mmyfl Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

Open a layer, draw, drag as usual, press some hotkeys.

What is the expected result?

Activate corresponded functions.

What happens instead?

Hotkeys with modifiers (e.g. Shift-M) function as expected, but single key hotkeys (e.g. a, m, p etc) just don't work (but debug output do show something).

Please provide any additional information below. Attach a screenshot if possible.

I've tried a very old version (3376), still the same. I'm using Debian 8/MATE 1.8/OpenJDK 7.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-07-30 01:32:16
Last Changed Author: wiktorn
Revision: 8629
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-07-29 19:17:49 +0200 (Wed, 29 Jul 2015)
Last Changed Rev: 8629

Identification: JOSM/1.5 (8629 en) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 72 MB / 494 MB (15 MB allocated, but free)
Java version: 1.7.0_75, Oracle Corporation, OpenJDK Client VM
Java package: openjdk-7-jre:i386-7u75-2.5.4-2
Program arguments: [--debug]
Dataset consistency test: No problems found

Attachments (1)

debug_info (23.9 KB ) - added by mmyfl 10 years ago.

Download all attachments as: .zip

Change History (5)

by mmyfl, 10 years ago

Attachment: debug_info added

comment:1 by bastiK, 10 years ago

Your debug_info is very helpful. It appears, that JOSM does register the events. But the test AdvancedKeyPressDetector.isFocusInMainWindow fails for some reason.

in reply to:  1 comment:2 by mmyfl, 10 years ago

Replying to bastiK:

Your debug_info is very helpful. It appears, that JOSM does register the events. But the test AdvancedKeyPressDetector.isFocusInMainWindow fails for some reason.

I have found the reason (and even more bugs!). After I switched off input method, everything is ok. It looks like JOSM hates CJK environment.

comment:3 by bastiK, 10 years ago

What kind of input method are you using? The only issue I'm aware of, is that the keyboard sometimes stops working with ibus (#11209).

in reply to:  3 comment:4 by mmyfl, 10 years ago

Replying to bastiK:

What kind of input method are you using? The only issue I'm aware of, is that the keyboard sometimes stops working with ibus (#11209).

Exactly ibus. With IM, I've encountered this problem, that problem(#11209), eating IM buffer too eagerly, and even severe bug.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to mmyfl.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.