Opened 11 years ago

Last modified 11 years ago

#10455 closed enhancement

Better OS X integration — at Version 25

Reported by: Don-vip Owned by: Don-vip
Priority: normal Milestone: 14.09
Component: Core Version:
Keywords: macosx Cc: cquest, Stereo

Description (last modified by Don-vip)

Thanks to Stereo I have successfully setup a "Hackintosh" that finally allows me to test JOSM on OS X, in a virtual Machine, by following this guide:

http://www.macbreaker.com/2014/05/os-x-mavericks-in-virtualbox-with-niresh.html

I find a lot minor issues that I'll try to fix through this ticket:

  1. JOSM does not use OS X native LAF by default: fixed in r7480
  2. 7u67: Hyperlinks do not work (left click) if Safari is still the default browser: mouse integration issue of VirtualBox
  3. 7u67: Right click on hyperlinks do not copy the link to clipboard: idem
  4. 7u67: Toggle dialogs do not collapse when we left-click on their title bar: idem
  5. 7u67: The vertical toolbar is too wide: horizontal space wasted: fixed in r7483
  6. 7u67: The horizontal status bar is too large: vertical space wasted: idem
  7. 7u67: The icons in preferences dialog are ridiculously small. From documentation it is stated "JTabbedPane objects in OS X [...] have a standard size. If you put an image in a tab, the image is scaled to fit the tab instead of the tab to the image.": too complicated. Dialog will change with #7548.
  8. 7u67: Java dock icon is displayed instead of JOSM one if launched with java -jar: fixed in r7485
  9. 7u67: Restart does not work with OSX package: fixed in r7487
  10. Icon paths are wrong in Info.plist: fixed in r7487
  11. No fullscreen: fixed with #7021

http://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/Product_Help/en_US/PUBLIC_USERS/133741/S0001_FullScreenEnter.png

  1. We should use the Window-Modified Indicator (putClientProperty("Window.documentModified", Boolean.TRUE)): fixed in r7484

https://developer.apple.com/library/mac/technotes/tn2007/images/tn2196_modified.png

Before:

After:

Change History (27)

comment:1 by Don-vip, 11 years ago

Description: modified (diff)

comment:2 by Don-vip, 11 years ago

Description: modified (diff)

comment:3 by Don-vip, 11 years ago

Description: modified (diff)

comment:4 by Don-vip, 11 years ago

Description: modified (diff)

comment:5 by Don-vip, 11 years ago

Description: modified (diff)

comment:6 by Don-vip, 11 years ago

Description: modified (diff)

comment:7 by Don-vip, 11 years ago

Description: modified (diff)

comment:8 by Don-vip, 11 years ago

Description: modified (diff)

by Don-vip, 11 years ago

Attachment: osx_before.png added

comment:9 by Don-vip, 11 years ago

Description: modified (diff)

comment:10 by Don-vip, 11 years ago

In 7483/josm:

see #10455 - cross-platform UI tuning to avoid waste of space with platform-dependant native layouts (seen on OS X)

comment:11 by Don-vip, 11 years ago

Description: modified (diff)

comment:12 by Don-vip, 11 years ago

Description: modified (diff)

comment:13 by Don-vip, 11 years ago

In 7484/josm:

see #10455 - use OS X Window-Modified Indicator with Window.documentModified

comment:14 by Don-vip, 11 years ago

Description: modified (diff)

comment:15 by Don-vip, 11 years ago

Description: modified (diff)

comment:16 by Don-vip, 11 years ago

Description: modified (diff)

comment:17 by Don-vip, 11 years ago

It's too complicated (if not even impossible) to change the icons in preferences tab, they will stay as it until we change the dialog completely through #7548.

comment:18 by Don-vip, 11 years ago

In 7485/josm:

see #10455 - OS X: show correct dock icon if run with java-jar

comment:19 by Don-vip, 11 years ago

Description: modified (diff)

by Don-vip, 11 years ago

Attachment: osx_after.png added

comment:20 by Don-vip, 11 years ago

Description: modified (diff)

comment:21 by mdk, 11 years ago

For the last open point (restart) may help this:

Restarting Application using Applescript from Java

comment:22 by Don-vip, 11 years ago

Thanks. I can't make it work yet but this may be useful as well: http://www.macdevcenter.com/pub/a/mac/2004/10/22/cocoa.html

comment:23 by Don-vip, 11 years ago

In 7487/josm:

see #10455 - fix restart of OS X package + file icons

comment:24 by Don-vip, 11 years ago

Description: modified (diff)

comment:25 by Don-vip, 11 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.