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

Update favicon #275

Merged
merged 2 commits into from
Oct 1, 2019
Merged

Update favicon #275

merged 2 commits into from
Oct 1, 2019

Conversation

rubiefawn
Copy link
Contributor

No description provided.

@PhysSong PhysSong requested a review from Umcaruje October 1, 2019 01:08
@tresf
Copy link
Member

tresf commented Oct 1, 2019

The favicon format is one of the worst documented and changes year after year. I'm merging this (sorry @iansannar it should have been merged sooner). If it breaks something, I assume you'll be the one fixing it.

@tresf tresf removed the request for review from Umcaruje October 1, 2019 13:52
@tresf tresf merged commit 2ad936c into LMMS:master Oct 1, 2019
@DomClark
Copy link
Member

DomClark commented Oct 1, 2019

This doesn't seem to have any effect as the actual favicon is specified to be public/img/logo_sm.png:

<link rel="icon" type="image/png" href="/img/logo_sm.png">

Also, the favicon has changed from a 1.12KB file containing only a 16x16 image, to a 401KB file containing 16x16, 24x24, 32x32, 48x48, 64x64, 96x96, 128x128 and 256x256 images. Is this desirable?

(Sorry I didn't see this before it was merged, I don't usually pay attention to this repo.)

@rubiefawn
Copy link
Contributor Author

rubiefawn commented Oct 1, 2019

the actual favicon is specified to be public/img/logo_sm.png:

Whoops. I should have checked. I'll have to redo this then. Is favicon.ico used at all? Is it beneficial to keep it around if it isn't?

Edit: moved to #282.

@tresf
Copy link
Member

tresf commented Oct 1, 2019

the favicon has changed from a 1.12KB file containing only a 16x16 image, to a 401KB file containing 16x16, 24x24, 32x32, 48x48, 64x64, 96x96, 128x128 and 256x256 images. Is this desirable?

Probably. Depends on your opinion. Like I said, it's poorly documented and constantly changing. The 16x16 icons will look like trash if used for anything except a standard DPI tab icon. Once they're added as app launchers, dragged as desktop icons, etc, they start to look like crap.

Also, the favicon has changed from a 1.12KB file containing only a 16x16 image,

Well, it's actually a 24x24 icon in twig, 16x16 in the fallback location.

This doesn't seem to have any effect as the actual favicon is specified to be public/img/logo_sm.png:

Good catch, but then we should just change the template. If someone has a problem with the file size, we can ask @iansannar to shrink it. Last I remember, the favicon is fetched asynchronously so it shouldn't slow page loads.

- <link rel="icon" type="image/png" href="/img/logo_sm.png"> 
+ <link rel="icon" type="image/x-icon" href="/favicon.ico" />

liushuyu pushed a commit that referenced this pull request Dec 5, 2019
* Update favicon.ico

* 🚑 Use proper icon file
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

Successfully merging this pull request may close these issues.

3 participants