Opened 11 years ago
Closed 10 years ago
#10025 closed defect (fixed)
Double-clicking .osm file on Mac OS X doesn't open JOSM
Reported by: | Stereo | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 14.06 |
Component: | Core | Version: | |
Keywords: | mac osx | Cc: | Lesath, cquest, Klumbumbus |
Description
Expected behaviour: JOSM should open the file as if it had been chosen through the file chooser dialog.
Actual behaviour: Error message saying: There is no application set to open the document “example.osm”.
Similarly, dragging a readable file to JOSM or typing 'open -a JOSM example.osm' should open the file.
For extra points, JOSM should also be able to open the file types that extra plug-ins support, for example .shp files from the Open Data plug-in.
This might be useful:
Attachments (0)
Change History (17)
comment:1 by , 11 years ago
Keywords: | mac osx added; macosx removed |
---|
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → needinfo |
Could one of you try this package and tell me if opening .osm
files with double-click works?
follow-up: 5 comment:4 by , 10 years ago
Hi Don-vip,
Lesath here. Yes it works partially on Mac. Double click on a *.osm opens JOSM, but JOSM does not load the file itself - I think this is the expected behavior for this enhancment. The open command works in the same way as the double click on the filename.
I don't know if it is possible, but the same fix for compressed data like "*.osm.bz2" or "*.osm.zip" would be a nice-to-have!
comment:5 by , 10 years ago
Replying to Lesath:
Yes it works partially on Mac. Double click on a *.osm opens JOSM, but JOSM does not load the file itself - I think this is the expected behavior for this enhancment. The open command works in the same way as the double click on the filename.
Thanks for testing. I expected JOSM to open the file, I will look into it.
same fix for compressed data like "*.osm.bz2" or "*.osm.zip" would be a nice-to-have!
Easy to add.
comment:7 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
comment:10 by , 10 years ago
Sorry no. It seems to work in the same way as above - it opens JOSM, but it won't load the file. I will have a further look into the debugger today evening.
comment:11 by , 10 years ago
Is there any of these warnings?
Main.warn("Failed to register with OSX: " + ex); Main.warn("Failed to access open files event: " + ex);
comment:12 by , 10 years ago
Milestone: | → 14.06 |
---|
comment:13 by , 10 years ago
Hi guys, please, I need some help here as we do not have any Mac for testing :) Is there any warning on console when launching JOSM package from here?
comment:14 by , 10 years ago
Cc: | added |
---|
comment:16 by , 10 years ago
Maybe a Java bug (8043852) after all. Could one of you please attach a status report after JOSM is launched with double-click on an .osm file?
In 7231/josm: