Modify

Opened 2 weeks ago

Closed 8 days ago

Last modified 7 days ago

#20095 closed enhancement (fixed)

New macOS icon to match macOS Big Sur icon guidelines

Reported by: Stereo Owned by: team
Priority: normal Milestone: 20.11
Component: Installer MacOS Version:
Keywords: icon Cc:

Description (last modified by Stereo)

Guidelines at https://developer.apple.com/design/human-interface-guidelines/macos/icons-and-images/app-icon/

This is a drop-in replacement for native/macosx/JOSM.icns

PNG version

Attachments (5)

JOSM.icns (236.2 KB) - added by Stereo 2 weeks ago.
Replacement icon
JOSM-BigSur-Pencil.png (76.9 KB) - added by Stereo 2 weeks ago.
PNG version
JOSM-BigSur.svg (178.3 KB) - added by Stereo 2 weeks ago.
SVG version
Screenshot 2020-11-15 at 20.38.17.png (104.6 KB) - added by Stereo 2 weeks ago.
Screenshot 2020-11-15 at 20.39.53.png (96.5 KB) - added by Stereo 2 weeks ago.

Download all attachments as: .zip

Change History (19)

Changed 2 weeks ago by Stereo

Attachment: JOSM.icns added

Replacement icon

Changed 2 weeks ago by Stereo

Attachment: JOSM-BigSur-Pencil.png added

PNG version

Changed 2 weeks ago by Stereo

Attachment: JOSM-BigSur.svg added

SVG version

comment:1 Changed 2 weeks ago by Stereo

Description: modified (diff)

comment:2 Changed 2 weeks ago by Stereo

Description: modified (diff)

comment:3 Changed 2 weeks ago by Don-vip

Nice. How does it look like currently? And with your icon?

comment:4 Changed 2 weeks ago by Don-vip

Keywords: icon added

Changed 2 weeks ago by Stereo

Changed 2 weeks ago by Stereo

comment:5 Changed 2 weeks ago by Stereo

Before:


After:


comment:6 Changed 2 weeks ago by Don-vip

Resolution: fixed
Status: newclosed

In 17319/josm:

fix #20095 - New macOS icon to match macOS Big Sur icon guidelines (created by Stereo)

Guidelines at ​https://developer.apple.com/design/human-interface-guidelines/macos/icons-and-images/app-icon/

comment:7 Changed 2 weeks ago by anonymous

Using josm-latest.jnlp which downloaded 17322 today I still get the old icon in the MacOS Big Sur dock, the startup screen and the actual Java bundle file.

comment:8 Changed 2 weeks ago by Claudius

Previous comment was from me and my system setup is:
Identification: JOSM/1.5 (17322 fa) Mac OS X 10.16
OS Build number: macOS 11.0.1 (20B29)
Memory Usage: 1277 MB / 1820 MB (703 MB allocated, but free)
Java version: 1.8.0_271-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel

comment:9 in reply to:  7 Changed 13 days ago by Don-vip

Replying to anonyme:

Using josm-latest.jnlp which downloaded 17322 today I still get the old icon in the MacOS Big Sur dock, the startup screen and the actual Java bundle file.

JNLP defines its own icons:

        <icon href="https://josm.openstreetmap.de/logo.png" width="256" height="256"/>
        <icon href="https://josm.openstreetmap.de/logo64.png" width="64" height="64" kind="shortcut"/>

The file syntax doesn't allow to specify an icon per platform, you can try to modify the JNLP file locally if you want:

        <icon href="https://josm.openstreetmap.de/export/HEAD/josm/trunk/nodist/images/logo/JOSM-macOS.png" width="1024" height="1024"/>

comment:10 Changed 13 days ago by Stereo

@Claudius on macOS you can try the latest beta releases at https://github.com/openstreetmap/josm/releases which will also add retina support amongst other nice things.

comment:11 Changed 13 days ago by Stereo

Resolution: fixed
Status: closedreopened

After opening, JOSM sets its icon to the standard one in src/org/openstreetmap/josm/tools/PlatformHookOsx.java:

eawtApplication.getDeclaredMethod("setDockIconImage", Image.class).invoke(appli, ImageProvider.get("logo").getImage());

So this needs a bit more work from me, and the jnlp will be able to get the Big Sur icon for those who want to keep using it.

comment:12 Changed 8 days ago by Don-vip

Milestone: 20.1020.11

Milestone renamed

comment:13 Changed 8 days ago by Stereo

Resolution: fixed
Status: reopenedclosed

Ah, see #20133 for a fix for the jnlp and the icon updating specifically.

Last edited 8 days ago by Stereo (previous) (diff)

comment:14 Changed 7 days ago by gaben

The png version has a drop shadow, while the svg not. Is it intended?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.