Modify

Opened 5 years ago

Closed 4 years ago

#1471 closed enhancement (fixed)

[PATCH] Make JOSM feel more like a native Mac OS X application

Reported by: me@… Owned by: framm
Priority: major Component: Core
Version: latest Keywords:
Cc:

Description

JOSM should feel more like a "normal" os x app. I suggest the following is done:

  • Have JOSM in an app bundle
  • Use the OS X menu bar
  • Using the standard menu callback for thing like preferences and quit
  • Use shortcuts keys as they would be expected on os x (eg. command c inststeand of control c for copying)
  • Use more macish file dialogs

Attachments (1)

macbundle.diff (5.7 KB) - added by me@… 5 years ago.
Patch to create a bundle and a dmg.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 5 years ago by me@…

I attached a patch for the first bullet point.

What it does:

  • Create a bundle when the dist target is run (but only on mac os x)
  • Added a release target that creates a disk image (but only on os x)
  • The bundle includes an icon (stolen from the main wiki page), requests a version of the jvm of at least 1.5 and runs the jvm with the argument "-Dsun.java2d.opengl=True".

Todo:

  • Check if ant still works as it is supposed to on other platforms
  • Needs a bigger Icon (can someone send it to me? I'd need a size of 512 x 512)
  • Currently the version number in Info.plist is static and should change based on the svn revisison

It would be very kind if somebody else would also test it. (you need to have Apple's Developer tools installed)

Changed 5 years ago by me@…

Patch to create a bundle and a dmg.

comment:2 Changed 5 years ago by framm

  • Priority changed from major to minor

I have downgraded this to "minor" since catering to individual OSes is not a priority. We will of course add any patches that make life easier for OS X users, provided that they don't bloat our code too much with special cases. Unfortunately the only thing I can help with in this respect is telling you whether things still work in the Linux Ant build... give use a shout once your patch is ready for inclusion.

(Personally I have the impression that OS X users tend not to want to build things themselves, so we would have to set up a process that creates the .dmg on the build machine somehow, which of course doesn't run OS X. Or we need someone with an OS X server who does nightly builds for the OS X aommunity.)

comment:3 Changed 5 years ago by anonymous

  • Summary changed from Make JOSM feel more like a native Mac OS X application to [PATCH] Make JOSM feel more like a native Mac OS X application

comment:4 Changed 5 years ago by Henry Loenwind

see #1589 for a big patch

comment:5 Changed 5 years ago by Daveemtb

  • Priority changed from minor to major

While the original post makes it sound like cosmetic issues only, in fact this isn't the case. The reliance on the ctrl key in mac OSX is a major blocker because ctrl-click causes the right click menu to pop up, even if you have a two button mouse.

comment:8 Changed 4 years ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed by Henry since some 1000 revision.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.