Modify

Opened 4 months ago

Closed 3 months ago

Last modified 4 weeks ago

#15113 closed defect (othersoftware)

JOSM support for latest MacOS (High Sierra)

Reported by: markscalf Owned by: markscalf
Priority: major Milestone:
Component: Core Version: latest
Keywords: High Sierra macos javabug Cc:

Description (last modified by Don-vip)

JOSM menu items are no longer appearing in the latest MacOS (High Sierra). Software is currently in beta but many of the features including closing the app and viewing imagery layers are no longer available.

High Sierra SW Version

Attachments (2)

pic.png (18.7 KB) - added by markscalf 4 months ago.
High Sierra SW Version
Screen Shot 2017-08-17 at 10.35.08 PM.png (226.2 KB) - added by markscalf 3 months ago.
JOSM Screen Shot MacOS High Sierra

Download all attachments as: .zip

Change History (18)

Changed 4 months ago by markscalf

Attachment: pic.png added

High Sierra SW Version

comment:1 Changed 4 months ago by Don-vip

Description: modified (diff)
Keywords: macos added
Owner: changed from team to markscalf
Status: newneedinfo

Can you find a way to get a status report? Also, do you see error messages in console?

comment:2 Changed 4 months ago by Don-vip

Description: modified (diff)

comment:3 Changed 4 months ago by Don-vip

Also, are you using latest beta? Wikipedia mentions 17A315i as build number of beta 4.

comment:4 Changed 4 months ago by bastiK

Please try at least one other Java application apart from JOSM (for example GpsPrune). If this is a general problem for all Java apps, then there isn't much we can do about it, except wait for fixes from Apple.

comment:5 Changed 3 months ago by Don-vip

Up? For this kind of ticket we need your help.

comment:6 Changed 3 months ago by markscalf

Yes using the latest beta (now running 17A344b). Not seeing the same issue with other java apps including GpsPrune.

comment:7 Changed 3 months ago by markscalf

Here is some log info on launch of the app from command line.

java -jar -Xmx12g /Applications/josm-macosx/josm-tested.jar
2017-08-17 22:29:50.516 INFO: Log level is at INFO (INFO, 800)
2017-08-17 22:29:55.217 INFO: Reassigning OSX shortcut 'file:downloadreferrers' from Meta to Ctrl because of conflict with ⌘+⌥+D
2017-08-17 22:29:55.222 INFO: Silent shortcut conflict: 'file:downloadreferrers' moved by 'apple-reserved-42' to '⌃+⌥+D'.
2017-08-17 22:29:55.457 INFO: Reassigning OSX shortcut 'core:historyinfo' from Meta to Ctrl because of conflict with ⌘+H
2017-08-17 22:29:55.457 INFO: Silent shortcut conflict: 'core:historyinfo' moved by 'system:hide' to '⌃+H'.
2017-08-17 22:29:56.099 INFO: Reassigning OSX shortcut 'help:search-items' from Meta to Ctrl because of conflict with ⌘+␣
2017-08-17 22:29:56.100 INFO: Silent shortcut conflict: 'help:search-items' moved by 'apple-reserved-01' to '⌃+␣'.
2017-08-17 22:30:00.634 INFO: GET https://josm.openstreetmap.de/wiki/StartupPage -> 200
2017-08-17 22:30:01.047 INFO: GET https://josm.openstreetmap.de/maps -> 304
2017-08-17 22:30:01.572 WARNING: Cannot lock cache directory. Will not use disk cache
[INFO] CompositeCacheManager - Instance is null, returning unconfigured instance
2017-08-17 22:30:01.710 INFO: loading plugin 'apache-commons' (version 32994)
2017-08-17 22:30:01.714 INFO: loading plugin 'reltoolbox' (version 33311)
2017-08-17 22:30:01.722 INFO: loading plugin 'jts' (version 32699)
2017-08-17 22:30:01.723 INFO: loading plugin 'ejml' (version 32680)
2017-08-17 22:30:01.725 INFO: loading plugin 'apache-http' (version 32699)
2017-08-17 22:30:01.731 INFO: loading plugin 'geotools' (version 33380)
[WARN] ThreadPoolManager - No configuration settings found. Using hardcoded default values for all pools.
[INFO] CompositeCacheManager - Setting default auxiliaries to null
[INFO] CompositeCacheManager - setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
[INFO] CompositeCacheManager - setting defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = false, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 1503034201948, LastAccessTime = 1503034201948, getTimeToLiveSeconds() = -1, createTime = 1503034201948 ]
[INFO] CompositeCacheConfigurator - Parsed regions []
[INFO] CompositeCacheManager - Finished configuration in 84 ms.
[INFO] CompositeCacheConfigurator - No special ElementAttribute class defined for key [jcs.region.TMS.elementattributes], using default class.
[INFO] AbstractDoubleLinkedListMemoryCache - initialized MemoryCache for TMS
[INFO] CompositeCache - Constructed cache with name [TMS] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 0, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
2017-08-17 22:30:04.819 INFO: loading plugin 'utilsplugin2' (version 33328)
2017-08-17 22:30:05.001 INFO: Reassigning OSX shortcut 'tools:undoselection' from Meta to Ctrl because of conflict with ⌘+⇧+Z
2017-08-17 22:30:05.003 INFO: Silent shortcut conflict: 'tools:undoselection' moved by 'system:redo' to '⌃+⇧+Z'.
2017-08-17 22:30:05.023 INFO: Reassigning OSX shortcut 'tools:selecthighway' from Meta to Ctrl because of conflict with ⌘+⌥+W
2017-08-17 22:30:05.025 INFO: Silent shortcut conflict: 'tools:selecthighway' moved by 'system:closeallwindows' to '⌃+⌥+W'.
2017-08-17 22:30:05.072 INFO: loading plugin 'josm-atlas' (version 1.1.1-josm-12125-SNAPSHOT)
2017-08-17 22:30:05.317 INFO: loading plugin 'Mapillary' (version v1.5.5)
2017-08-17 22:30:05.324 INFO: loading plugin 'measurement' (version 33088)
2017-08-17 22:30:05.332 INFO: loading plugin 'OpenStreetCam' (version 100)
2017-08-17 22:30:05.459 INFO: Reassigning OSX shortcut 'OpenStreetCam:Switch to image location/segment view' from Meta to Ctrl because of conflict with ⌘+⌥+8
2017-08-17 22:30:05.460 INFO: Silent shortcut conflict: 'OpenStreetCam:Switch to image location/segment view' moved by 'apple-reserved-40' to '⌃+⌥+8'.
2017-08-17 22:30:05.546 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$ManualDataSwitchAction
2017-08-17 22:30:05.550 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$SelectPhotoAction
2017-08-17 22:30:05.553 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$SelectPhotoAction
2017-08-17 22:30:05.555 INFO: Keystroke alt pressed RIGHT is already assigned to org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$SelectPhotoAction@502f8b57, will be overridden by org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$SelectPhotoAction@5652f555
2017-08-17 22:30:05.567 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$SelectPhotoAction
2017-08-17 22:30:05.576 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$TrackAutoplayAction
2017-08-17 22:30:05.583 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$ClosestPhotoAction
2017-08-17 22:30:05.585 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$DownloadMatchedWayId
2017-08-17 22:30:05.586 INFO: Keystroke meta alt pressed 9 is already assigned to org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$DownloadMatchedWayId@323659f8, will be overridden by org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$DownloadMatchedWayId@1144a55a
2017-08-17 22:30:05.586 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$DownloadMatchedWayId
2017-08-17 22:30:05.588 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$JumpToLocationAction
2017-08-17 22:30:05.589 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$OpenWebPageAction
2017-08-17 22:30:05.602 INFO: loading plugin 'geojson' (version 52)
2017-08-17 22:30:05.609 INFO: loading plugin 'buildings_tools' (version 33004)
2017-08-17 22:30:05.628 INFO: loading plugin 'turnrestrictions' (version 33088)
2017-08-17 22:30:05.669 INFO: Toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.OpenStreetCamPlugin$LayerActivator
2017-08-17 22:30:07.033 WARNING: Cannot start IPv4 remotecontrol server on port 8111: Address already in use (Bind failed)
2017-08-17 22:30:07.033 WARNING: Cannot start IPv6 remotecontrol server on port 8111: Address already in use (Bind failed)
2017-08-17 22:30:07.049 WARNING: Cannot start IPv4 remotecontrol https server on port 8112: Address already in use (Bind failed)
2017-08-17 22:30:07.051 WARNING: Cannot start IPv6 remotecontrol https server on port 8112: Address already in use (Bind failed)
2017-08-17 22:30:07.058 INFO: Message notifier active (checks every 5 minutes)
2017-08-17 22:30:11.903 INFO: GET https://api.openstreetmap.org/api/0.6/user/details (get number of unread messages) -> 200 (328 B)

comment:8 Changed 3 months ago by markscalf

Ignore previous log file, launched JOSM while another instance of JOSM was already running. Below is a log file for a clean launch.

java -jar -Xmx12g /Applications/josm-macosx/josm-tested.jar
2017-08-17 22:32:08.467 INFO: Log level is at INFO (INFO, 800)
2017-08-17 22:32:12.641 INFO: Reassigning OSX shortcut 'file:downloadreferrers' from Meta to Ctrl because of conflict with ⌘+⌥+D
2017-08-17 22:32:12.643 INFO: Silent shortcut conflict: 'file:downloadreferrers' moved by 'apple-reserved-42' to '⌃+⌥+D'.
2017-08-17 22:32:12.813 INFO: Reassigning OSX shortcut 'core:historyinfo' from Meta to Ctrl because of conflict with ⌘+H
2017-08-17 22:32:12.814 INFO: Silent shortcut conflict: 'core:historyinfo' moved by 'system:hide' to '⌃+H'.
2017-08-17 22:32:13.274 INFO: Reassigning OSX shortcut 'help:search-items' from Meta to Ctrl because of conflict with ⌘+␣
2017-08-17 22:32:13.274 INFO: Silent shortcut conflict: 'help:search-items' moved by 'apple-reserved-01' to '⌃+␣'.
2017-08-17 22:32:17.508 INFO: GET https://josm.openstreetmap.de/maps -> 304
[INFO] CompositeCacheManager - Instance is null, returning unconfigured instance
2017-08-17 22:32:18.087 INFO: loading plugin 'apache-commons' (version 32994)
2017-08-17 22:32:18.093 INFO: loading plugin 'reltoolbox' (version 33311)
2017-08-17 22:32:18.099 INFO: loading plugin 'jts' (version 32699)
2017-08-17 22:32:18.100 INFO: loading plugin 'ejml' (version 32680)
2017-08-17 22:32:18.104 INFO: loading plugin 'apache-http' (version 32699)
2017-08-17 22:32:18.109 INFO: loading plugin 'geotools' (version 33380)
[WARN] ThreadPoolManager - No configuration settings found. Using hardcoded default values for all pools.
[INFO] CompositeCacheManager - Setting default auxiliaries to null
[INFO] CompositeCacheManager - setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
[INFO] CompositeCacheManager - setting defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = false, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 1503034338175, LastAccessTime = 1503034338175, getTimeToLiveSeconds() = -1, createTime = 1503034338175 ]
[INFO] CompositeCacheConfigurator - Parsed regions []
[INFO] CompositeCacheManager - Finished configuration in 20 ms.
[INFO] CompositeCacheConfigurator - No special ElementAttribute class defined for key [jcs.region.TMS.elementattributes], using default class.
[INFO] AbstractDoubleLinkedListMemoryCache - initialized MemoryCache for TMS
[INFO] CompositeCache - Constructed cache with name [TMS] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 0, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
[INFO] BlockDiskCache - Region [TMS_BLOCK_v2] Constructing BlockDiskCache with attributes
BlockDiskAttributes

DiskPath Users/markscalf/Library/Caches/JOSM/tiles
MaxKeySize [524288]
MaxPurgatorySize [5000]
BlockSizeBytes [4096]
KeyPersistenceIntervalSeconds [300]
DiskLimitType [SIZE]

[INFO] BlockDiskCache - Region [TMS_BLOCK_v2] Cache file root directory: Users/markscalf/Library/Caches/JOSM/tiles
[INFO] BlockDisk - Constructing BlockDisk, blockSizeBytes [4096]
[INFO] BlockDiskKeyStore - Region [TMS_BLOCK_v2] Cache file root directory Users/markscalf/Library/Caches/JOSM/tiles
[INFO] BlockDiskKeyStore - Region [TMS_BLOCK_v2] Key File Users/markscalf/Library/Caches/JOSM/tiles/TMS_BLOCK_v2.key
[INFO] BlockDiskKeyStore - Region [TMS_BLOCK_v2] Loading keys for /Users/markscalf/Library/Caches/JOSM/tiles/TMS_BLOCK_v2.key
[INFO] BlockDiskKeyStore - Region [TMS_BLOCK_v2] Set maxKeySize to: '524288'
[INFO] BlockDiskKeyStore - Region [TMS_BLOCK_v2] Loaded keys from [TMS_BLOCK_v2], key count: 119; up to 524288 will be available.
[INFO] BlockDiskCache - Region [TMS_BLOCK_v2] Block Disk Cache is alive.
2017-08-17 22:32:18.918 INFO: GET https://josm.openstreetmap.de/wiki/StartupPage -> 200
2017-08-17 22:32:20.866 INFO: loading plugin 'utilsplugin2' (version 33328)
2017-08-17 22:32:21.056 INFO: Reassigning OSX shortcut 'tools:undoselection' from Meta to Ctrl because of conflict with ⌘+⇧+Z
2017-08-17 22:32:21.057 INFO: Silent shortcut conflict: 'tools:undoselection' moved by 'system:redo' to '⌃+⇧+Z'.
2017-08-17 22:32:21.060 INFO: Reassigning OSX shortcut 'tools:selecthighway' from Meta to Ctrl because of conflict with ⌘+⌥+W
2017-08-17 22:32:21.061 INFO: Silent shortcut conflict: 'tools:selecthighway' moved by 'system:closeallwindows' to '⌃+⌥+W'.
2017-08-17 22:32:21.106 INFO: loading plugin 'josm-atlas' (version 1.1.1-josm-12125-SNAPSHOT)
2017-08-17 22:32:21.282 INFO: loading plugin 'Mapillary' (version v1.5.5)
2017-08-17 22:32:21.287 INFO: loading plugin 'measurement' (version 33088)
2017-08-17 22:32:21.332 INFO: loading plugin 'OpenStreetCam' (version 100)
2017-08-17 22:32:21.435 INFO: Reassigning OSX shortcut 'OpenStreetCam:Switch to image location/segment view' from Meta to Ctrl because of conflict with ⌘+⌥+8
2017-08-17 22:32:21.435 INFO: Silent shortcut conflict: 'OpenStreetCam:Switch to image location/segment view' moved by 'apple-reserved-40' to '⌃+⌥+8'.
2017-08-17 22:32:21.551 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$ManualDataSwitchAction
2017-08-17 22:32:21.554 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$SelectPhotoAction
2017-08-17 22:32:21.559 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$SelectPhotoAction
2017-08-17 22:32:21.560 INFO: Keystroke alt pressed RIGHT is already assigned to org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$SelectPhotoAction@38f2e97e, will be overridden by org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$SelectPhotoAction@779dfe55
2017-08-17 22:32:21.561 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$SelectPhotoAction
2017-08-17 22:32:21.566 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$TrackAutoplayAction
2017-08-17 22:32:21.568 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$ClosestPhotoAction
2017-08-17 22:32:21.570 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$DownloadMatchedWayId
2017-08-17 22:32:21.571 INFO: Keystroke meta alt pressed 9 is already assigned to org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$DownloadMatchedWayId@1286528d, will be overridden by org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$DownloadMatchedWayId@3cc20577
2017-08-17 22:32:21.572 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$DownloadMatchedWayId
2017-08-17 22:32:21.584 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$JumpToLocationAction
2017-08-17 22:32:21.587 INFO: Registered toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.gui.details.ButtonPanel$OpenWebPageAction
2017-08-17 22:32:21.605 INFO: loading plugin 'geojson' (version 52)
2017-08-17 22:32:21.615 INFO: loading plugin 'buildings_tools' (version 33004)
2017-08-17 22:32:21.647 INFO: loading plugin 'turnrestrictions' (version 33088)
2017-08-17 22:32:21.688 INFO: Toolbar action without name: org.openstreetmap.josm.plugins.openstreetcam.OpenStreetCamPlugin$LayerActivator
2017-08-17 22:32:23.415 INFO: RemoteControl::Accepting remote connections on /127.0.0.1:8111
2017-08-17 22:32:23.415 INFO: RemoteControl::Accepting remote connections on /0:0:0:0:0:0:0:1:8111
2017-08-17 22:32:23.423 INFO: RemoteControl::Accepting secure remote connections on /127.0.0.1:8112
2017-08-17 22:32:23.425 INFO: RemoteControl::Accepting secure remote connections on /0:0:0:0:0:0:0:1:8112
2017-08-17 22:32:23.432 INFO: Message notifier active (checks every 5 minutes)
2017-08-17 22:32:27.389 INFO: GET https://api.openstreetmap.org/api/0.6/user/details (get number of unread messages) -> 200 (328 B)

Changed 3 months ago by markscalf

JOSM Screen Shot MacOS High Sierra

comment:9 Changed 3 months ago by markscalf

I added a picture of what JOSM looks like once loaded on the new version of MacOS. As you can see the top menu items are missing.

comment:10 Changed 3 months ago by bastiK

Resolution: othersoftware
Status: needinfoclosed

Problem seems to be widely reported for other software, i.e. here and there. This is not a bug in JOSM but in High Sierra. When solutions and workarounds become available for other software, we can see if they are applicable.

comment:11 Changed 7 weeks ago by artus70

Workaround to have the menu displayed again:
Switch "Display settings" -> "look and feel" from "Mac OS X" to "Metal".

comment:12 Changed 7 weeks ago by Don-vip

From Arduino: https://blog.arduino.cc/2017/10/02/arduino-ide-1-8-5-hotfix-for-macos-high-sierra-users/

... our team has just released Arduino IDE 1.8.5! ... it mainly solves a (rather important) problem being encountered by macOS users who just updated to High Sierra (10.13).

If you are not using English as system language, any version of Arduino you launch will lack the menu in the system bar. Every Java application is experiencing the same problem, so it will probably be solved by Apple in the near future.

In the meantime, IDE 1.8.5 recognizes when the menu bar is not being displayed and replaces it with a Windows-style one. It may not be the prettiest thing, but at least it works!

If you want to recover the old menu bar while keeping the whole system in your normal language, you can issue a single command on Terminal:

defaults write cc.arduino.Arduino AppleLanguages '(en)'

Thank @AdrianBuza for the workaround. Issuing this command will make Arduino IDE in English, however you can still change the language under “Preferences” without losing the macOS integration.

comment:13 Changed 7 weeks ago by Don-vip

I have contacted Oracle to ask them to reopen javabug:8188085

comment:14 Changed 7 weeks ago by Don-vip

Keywords: javabug added

comment:15 Changed 5 weeks ago by Don-vip

According to Oracle it's an Apple bug and the fix is in progress.

comment:16 Changed 4 weeks ago by Don-vip

Ticket #15457 has been marked as a duplicate of this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain markscalf.
as The resolution will be set.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.