Opened 6 years ago

Last modified 5 years ago

#15787 new defect

Keyboard shortcuts (specifically for delete and undo) stop working after switching apps (at least under Mac OS)

Reported by: chris@… Owned by: team
Priority: major Milestone:
Component: Core shortcuts Version:
Keywords: template_report Cc:


What steps will reproduce the problem?

  1. Be in an edit session in JOSM
  2. Switch to another app (either command+tab or by using control+arrows to change space/desktop or fullscreen apps)
  3. Go back to JOSM
  4. Try to undo a change with command+Z or delete an object with the delete key

What is the expected result?

The change is undone or the object is deleted

What happens instead?


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

This gives me a suspicion that's it's a problem with Java UI frameworks playing nicely under Mac OS. It is similar to the problem where closing certain dialogues (I've personally noticed it on the download area and F3 preset selection) blocks keyboard shortcuts from working at all until you open and close another dialogue box.

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-12-31 03:09:43 +0100 (Sun, 31 Dec 2017)
Build-Date:2017-12-31 02:33:46
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13265 en) Mac OS X 10.11.6
OS Build number: Mac OS X 10.11.6 (15G18013)
Memory Usage: 640 MB / 1820 MB (419 MB allocated, but free)
Java version: 1.8.0_151-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 2026427093 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin,, -Djnlpx.origFilenameArg=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/56/1ee8cfb8-668392a0, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true,, -Dmacosx.jnlpx.dock.icon=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/16/47ee53d0-5050928a.icns, -Djnlp.application.href= , -Djnlpx.jvm="<java.home>/bin/java"]
Dataset consistency test: No problems found

Last errors/warnings:
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W: Attribution is not loaded yet
- W:
- W:
- W:
- W:
- W: Network is down (connect failed)
- E: Network is down (connect failed)
- W: Could not connect to the OSM server. Please check your internet connection.. Cause: Network is down (connect failed)

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
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 chris@….
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.