Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbolic Icon #97

Closed
JasonLG1979 opened this issue Oct 12, 2019 · 17 comments
Closed

Symbolic Icon #97

JasonLG1979 opened this issue Oct 12, 2019 · 17 comments

Comments

@JasonLG1979
Copy link
Contributor

I know according to #68 (comment) Icon refrences are internal but would that stop you from adding a symbolic icon? All you would have to do is put a com.spotify.Client-symbolic.svg icon in /share/icons/hicolor/symbolic/apps

The biggest issue I can see is figuring out if a symbolic icon can legally be redistributed.

At the moment What I've done is created my own symbolic icon from the Spotify logo svg at wikipedia and placed it in ~/.local/share/icons/hicolor/symbolic/apps

It fits in much better than the full color icon or a desaturated full color icon.
Screenshot from 2019-10-11 23-05-44

@JasonLG1979
Copy link
Contributor Author

JasonLG1979 commented Oct 12, 2019

According to:
https://developer.spotify.com/branding-guidelines/

I don't think that a Spotify symbolic icon would be considered a misuse of the logo/icon anymore than how the icon that ships with the app is displayed would be considered a misuse.

@TingPing
Copy link
Member

TingPing commented Oct 12, 2019

I'll accept a PR adding it.

(Also hi 👋)

@JasonLG1979
Copy link
Contributor Author

Yep. I have no idea how to actually add the icon to the flatpak. It also might be a good idea to add a duplicate spotify-client-symbolic.svg so there's an icon that matches what Spotify broadcasts in MPRIS or anywhere else you can't control.

And hey long time no see.

@TingPing
Copy link
Member

I just realized your example of the icon in Fedora is a bad one because it already makes the colored icon greyscale which looks fine.

@JasonLG1979
Copy link
Contributor Author

I just realized your example of the icon in Fedora is a bad one because it already makes the colored icon greyscale which looks fine.

The above screenshot is the symbolic icon. The default icon is blurry (because it's a png) and looks like crap.

@JasonLG1979
Copy link
Contributor Author

Here's what the original icon looks like:
Screenshot from 2019-10-12 01-22-03

@TingPing
Copy link
Member

TingPing commented Oct 12, 2019

For doing nothing I think its acceptable and only Fedora adds the silly icon there anyway.

@JasonLG1979
Copy link
Contributor Author

For doing nothing I think its acceptable, and only Fedora adds the silly icon there anyway.

No, desaturating full color icons is default GNOME behaviour.

GNOME/gnome-shell@1c117c4

@JasonLG1979
Copy link
Contributor Author

And icons in the panel next to the app's name is also default GNOME behaviour.

Some themes hide them though.

@JasonLG1979
Copy link
Contributor Author

I just figured it would be a pretty cheap little improvement.

@JasonLG1979
Copy link
Contributor Author

I can see why it was done but I'm not a huge fan of desaturating full color icons. Desaturating the icons can make them less "readable" especially if the icon contains colors that have about the same gray value. It also makes it look like there might be something wrong with the app, like why is the icon grayed out?

@TingPing
Copy link
Member

Hmm, my mistake.

Anyway just copy how the appdata file is handled with the icon: https://github.com/flathub/com.spotify.Client/blob/master/com.spotify.Client.json#L107-L139

@TingPing
Copy link
Member

If we give in to distributing an icon you can add the non-symbolic one also.

@JasonLG1979
Copy link
Contributor Author

Sure. I'll find a full color svg or just make one using their color palette out of the symbolic icon. png icons are icky,lol!!!

@JasonLG1979
Copy link
Contributor Author

JasonLG1979 commented Oct 12, 2019

Anyway just copy how the appdata file is handled with the icon: https://github.com/flathub/com.spotify.Client/blob/master/com.spotify.Client.json#L107-L139

So add the icons.

Delete this line:

"for size in 16 22 24 32 48 64 128 256 512; do install -Dm644 share/spotify/icons/spotify-linux-$size.png export/share/icons/hicolor/${size}x${size}/apps/com.spotify.Client.png; done",

And add something like:

"install -Dm644 com.spotify.Client.svg /share/icons/hicolor/scalable/apps/com.spotify.Client.svg"
"install -Dm644 com.spotify.Client.svg /share/icons/hicolor/scalable/apps/spotify-client.svg"
"install -Dm644 com.spotify.Client-symbolic.svg /share/icons/hicolor/symbolic/apps/com.spotify.Client-symbolic.svg"
"install -Dm644 com.spotify.Client-symbolic.svg /share/icons/hicolor/symbolic/apps/spotify-client-symbolic.svg"

To the build section?

Is it /app/share/icons or just /share/icons?

@tored
Copy link

tored commented Apr 6, 2021

Apologies for commenting on a closed issue, this change may have broken icons for us that is not running a fancy desktop like Gnome.

Running Ubuntu MATE 20.10 and my alt-tab icon and taskbar icon does not show the Spotify icon, my start menu does however (Brisk menu Launcher)

See this related issue for the Slack flatpak

flathub/com.slack.Slack#9

@TingPing
Copy link
Member

TingPing commented Apr 6, 2021

@tored Open a new issue it has nothing to do with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants