Opened 4 years ago

Last modified 3 months ago

#17849 needinfo defect

macos: erratic extra window behaviour

Reported by: richlv Owned by: richlv
Priority: normal Milestone:
Component: Core Version: tested
Keywords: macos Cc: Stereo


On MacOS, some additional JOSM windows do not appear in front when they have focus.
It seems like the windows are in two or more categories.

For example, the following nicely come forward of one another when they get focus:

  • Mapillary image
  • Geotagged Images
  • Correlate images with GPX track

On the other hand, these windows always appear below the ones listed above, even when they have focus:

  • Add tag
  • Download

This is very inconvenient - for example, the "Download" window cannot be used until the image windows have been moved somewhere else. "Add tag" window often pops up below the image windows and gives an impression of JOSM having hung.

Attachments (0)

Change History (13)

comment:1 Changed 4 years ago by Don-vip

Can you please share your status report?

comment:2 Changed 4 years ago by Don-vip

Keywords: macos added

comment:3 Changed 4 years ago by richlv

Sure, here it is:

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-06-03 00:05:30 +0200 (Mon, 03 Jun 2019)
Build-Date:2019-06-02 22:10:24
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15155 en_GB) Mac OS X 10.14.5
OS Build number: Mac OS X 10.14.5 (18F132)
Memory Usage: 779 MB / 1820 MB (502 MB allocated, but free)
Java version: 1.8.0_211-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 1127230987 1920x1080, Display 69733382 1680x1050
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-3463dc3d, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m,, -Dmacosx.jnlpx.dock.icon=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/25/4c122699-75b5ae18.icns, -Djnlp.application.href= , -Djnlpx.jvm="<java.home>/bin/java"]

+ Mapillary (1.5.18)
+ PicLayer (34908)
+ apache-commons (34908)
+ apache-http (34908)
+ ejml (34908)
+ geotools (34908)
+ jaxb (35014)
+ jna (34908)
+ jts (34908)
+ measurement (34977)
+ opendata (34997)
+ photo_geotagging (34908)
+ reverter (34999)
+ utilsplugin2 (34977)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
Last edited 4 years ago by Don-vip (previous) (diff)

comment:4 Changed 4 years ago by richlv

This behaviour contributed to my own silly mistake and a loss of several hours of edits.
JOSM seemed to be stuck, thus I tried to close it an save the data layer through the "Unsaved changes" dialog. I misunderstood that dialog and lost all the edits (#17868 created about a possible confusion in that dialog).

After while I figured out that I had deleted a way that was in a relation, and the confirmation dialog to remove it from the relation had appeared below Mapillary / geotagged photo window...

comment:5 Changed 3 years ago by Stereo

Cc: Stereo added

comment:6 Changed 3 years ago by Stereo

I've had this too, but I haven't found a way of reliably reproducing this. Have you?

comment:7 Changed 3 years ago by richlv

Yeah, have a data layer and a Mapillary or Geotagged image window visible.
Select an object, open "Add tag" dialog. Position that dialog away from the main window, then position one of the image windows on top of the "Add tag" dialog. Hit esc.
Now start adding tags so some object. JOSM seems to hang, even though it's just window layering being wrong.

comment:8 Changed 3 years ago by Stereo

Can you try the most recent pre-release at and see if you can still reproduce this?

comment:9 Changed 3 years ago by Stereo

Owner: changed from team to richlv
Status: newneedinfo

comment:10 Changed 3 years ago by Stereo

This might be a duplicate of #16076

Last edited 3 years ago by Stereo (previous) (diff)

comment:11 Changed 3 years ago by richlv

Mapillary image + "add tag" scenario still there with the latest build.

comment:12 Changed 12 months ago by richlv

Mapillary image + "add tag" scenario still there.

comment:13 Changed 3 months ago by taylor.smock

This isn't just a image viewer dialog problem. It occurs with all other toggle dialogs, so long as the Tags/Memberships dialog is docked.

The toggle dialogs are part of that same tree (GuiHelper.getFrameForComponent(MainApplication.getMainFrame()) === MainApplication.getMainFrame()).

Oddly enough, when I set a break point at source:trunk/src/org/openstreetmap/josm/gui/dialogs/properties/, it "just works".

Possible JDK bugs:

I think this might be a JDK issue.

Modify Ticket

Change Properties
Set your email in Preferences
as needinfo The owner will remain richlv.
as The resolution will be set.
to The owner will be changed from richlv to the specified user.
to The owner will be changed from richlv to the specified user.
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from richlv to anonymous.

Add Comment

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

Note: See TracTickets for help on using tickets.