Modify

Opened 6 years ago

Closed 5 years ago

#82 closed defect (invalid)

JOSM shortcuts lose focus

Reported by: steve@… Owned by: imi
Priority: trivial Component: Core
Version: latest Keywords:
Cc:

Description

One or more of the tool panels on the right makes ctrl-up, ctrl-down... ctrl-, etc lose focus. If I just load in a GPX then its ok but then I enabled some tool panels and downloaded data and I can't move around anymore.

If I could ctrl-drag or something to move (on a macintosh) that would be really really helpful :-)

This is using latest subversion.

Attachments (0)

Change History (11)

comment:1 Changed 6 years ago by imi

All of them works for me.

Can you please describe the exact steps until Ctrl-cursor keys don't work anymore?

As for the Ctrl-movement: I will probably make the "move screen" configurable once shortkeys are configurable.

comment:2 Changed 6 years ago by imi

  • Resolution set to duplicate
  • Status changed from new to closed

comment:3 Changed 5 years ago by Michael

  • Resolution duplicate deleted
  • Status changed from closed to reopened

I have this problem too using JOSM on Linux in wmii (http://www.suckless.org). It is very annoying: If I stay in one mode (adding new ways), switching to selection mode by pressing 's' works. However, as soon as I start adding tags (by using alt+A or by clicking on Add), the shortcuts such as 'a' or 's' do not work anymore. Also, alt+a doesn't work from then on.

I have (probably) the same problem using the surveyor plugin: If I switch active window using Mod+J/Mod+K in wmii from surveyor to JOSM and back, surveyor does _not_ have focus. It just gets focus as soon as I click on a button. Shortcuts don't works.

Just to be sure: I think the problem is not wmii as JOSM is the only application I've ever seen with this focus problems. All other programs such as Firefox, Opera, urxvt, GIMP, inkscape work without any problems.

If this is a duplicate please point a link to the original ticket. This is a serious issue for usability in my opinion.

comment:4 Changed 5 years ago by Michael

Just want to add that this also happens on my workstation using enlightenment (e17).

comment:5 Changed 5 years ago by anonymous

Another easy reproducable case:
CTRL+A is select all. As soon as you select an error in validator dialog it CTRL+A will select all in this dialog and no longer in the map, even if you go back into the map and click there.

comment:6 Changed 5 years ago by anonymous

  • Priority changed from major to minor

comment:7 Changed 5 years ago by Michael

  • Priority changed from minor to major

Why did you change priority and component? Are you sure about gui vs. JOSM core?

And for the priority, I clearly want it to be major. This is a huge impact in working with JOSM which should be fixed ASAP.

To be a bit more productive: Which Java-Version do you recommend to use JOSM with?

comment:8 Changed 5 years ago by stoecker

A major issue is something which makes working hard or impossible. This bug is neither of these two that's why minor. An yes it's "JOSM core".

comment:9 Changed 5 years ago by anonymous

  • Priority changed from major to minor

comment:10 Changed 5 years ago by Michael

  • Priority changed from minor to major

OK, so then it's JOSM core.

This bug definitely makes working hard to impossible (on the long term). Please provide at least some information on how to debug/workaround this. It's really a K.O. argument for JOSM on linux. Given that I won't use anything but linux, it's quite a K.O. argument for JOSM itself.

comment:11 Changed 5 years ago by Henry Loenwind

  • Priority changed from major to trivial
  • Resolution set to invalid
  • Status changed from reopened to closed

while testing the new keyboard handling code I found that it is operation system dependent which keys will be sent to the global shortcut handler, which ones will never be seen by it and which ones bypass it completely and are dispatched to some individual component.

This is not a bug in JOSM. It may be a bug in the Java Runtime Environment or even in the operating system.

I'd advise you to reconfigure the shortcuts to use keys that are handed to the shortcut handler on your platform.

PS: If you want to blame JOSM, you'd better compare it with other Java programs, not with native applications.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.