pulsar-edit / pulsar

A Community-led Hyper-Hackable Text Editor
https://pulsar-edit.dev
Other
3.32k stars 139 forks source link

Application icon visual error on macOS #364

Closed Jesse-Cooper closed 1 year ago

Jesse-Cooper commented 1 year ago

Thanks in advance for your bug report!

What happened?

I've seen that in a previous issue the icon was fixed to remove this visual error, however it still remains on macOS (intel) where I believe I've narrowed it down to this file. It is a 1028x1028 image which I believe all macOS applications use.

Here is how it looks on the computer:

Screenshot 2023-01-31 at 10 50 33 am

Pulsar version

1.101.0-beta

Which OS does this happen on?

🍎 macOS

OS details

13.2 (22D49)

Which CPU architecture are you running this on?

64-bit(x86_64)

What steps are needed to reproduce this?

  1. Install Pulsar
  2. It is the application icon

Additional Information:

No response

meadowsys commented 1 year ago

Can confirm. I did bring this up in the discord server before, someone (can't remember who) said it was because the icon was cropped out of a larger image, and that it was only temporary until the artist provides the individual icons. Can't remember if it was supposed to be fixed, though

Jesse-Cooper commented 1 year ago

Note, there may be other icon files with the same visual issue. The file linked is the image I believe is causing this specific error.

Daeraxa commented 1 year ago

Yeah I thought this one had been solved but maybe that was just Linux icons. We still haven't decided if we want to use a single unified icon or if we want to make a macOS squircle one.

meadowsys commented 1 year ago

As a macos user I would be leaning towards the latter heheh >.> (no rush though, of course)

Digitalone1 commented 1 year ago

The icon in the open post is the PNG icon that has an issue and it was showing the same way on Arch in the previous release (just because the AUR packager fixed the wrong path in the installation script, otherwise it was not shown as it happened on other distros).

Linux icons were fixed in the latest release, but I though you fixed also the icons for other platforms.

Digitalone1 commented 1 year ago

This is the icon with the visual issue:

https://github.com/pulsar-edit/pulsar/blob/master/resources/app-icons/beta.png

Which at the moment is only used on mac.

https://github.com/pulsar-edit/pulsar/blob/master/script/electron-builder.js#L178

Windows uses the ico format and Linux has their own because of the special way electron-builder has to construct icon paths on Linux.

The only thing to do is to clean that PNG one. Maybe replacing with the following:

https://github.com/pulsar-edit/pulsar/blob/master/resources/pulsar.png

mdibella-dev commented 1 year ago

Based on the cleaned PNG file, I took the liberty of creating a customized app icon using the Apple Human Interface Guidelines (HIG) template file.

icon-template

Attached is the ICNS file (zipped):

pulsar.icns.zip

mdibella-dev commented 1 year ago

Created a new file, based on the symbol graphic @confused-Techie provided.

Template---Icon---App

beta.icns.zip

SilentGlasses commented 1 year ago

Nice work with the icons @mdibella-dev ..

Ps, if anyone wants to use it on their current install...

meadowsys commented 1 year ago

Ps, if anyone wants to use it on their current install...

372's CI binaries also have the icon, is another option

mdibella-dev commented 1 year ago

Ps, if anyone wants to use it on their current install...

372's CI binaries also have the icon, is another option

Thanks for the hint. Looks great in my opinion.

Ohne Titel-2 Ohne Titel-1

aphive commented 1 year ago

Ps, if anyone wants to use it on their current install...

372's CI binaries also have the icon, is another option

True, not everyone knows how to use the binaries tho ... Lot's of n00bs still running around :)

meadowsys commented 1 year ago

Hrm, maybe I should adapt my downloader thingie (that I made for atom-community back when we were still active there) to Pulsar's infra. but this is getting a little off topic :p

mdibella-dev commented 1 year ago

In my opinion, the issue has been resolved with the merge and can thus be closed.

meadowsys commented 1 year ago

I think so too!