Modify

Opened 16 years ago

Closed 16 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 Milestone:
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@… 16 years ago.
Patch to create a bundle and a dmg.

Download all attachments as: .zip

Change History (7)

comment:1 by me@…, 16 years ago

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)

by me@…, 16 years ago

Attachment: macbundle.diff added

Patch to create a bundle and a dmg.

comment:2 by framm, 16 years ago

Priority: majorminor

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 by anonymous, 16 years ago

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

comment:4 by Henry Loenwind, 16 years ago

see #1589 for a big patch

comment:5 by Daveemtb, 16 years ago

Priority: minormajor

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 by stoecker, 16 years ago

Resolution: fixed
Status: newclosed

Should be fixed by Henry since some 1000 revision.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.