stash icon indicating copy to clipboard operation
stash copied to clipboard

Favicon missing in iOS Safari Favorites/Bookmarks

Open m0e16 opened this issue 10 months ago • 6 comments

Describe the bug

Favicon is missing when adding the Stash web app to Safari Favorites/Bookmarks on iOS 26.2. It only displays a generic placeholder with the letter "S". However, adding the app to the Home Screen correctly displays the apple-touch-icon.png.

Steps to reproduce

  1. Open Stash in Safari on iPhone.
  2. Tap the Share button.
  3. Select Add to Favorites or Add Bookmark.
  4. Observe the icon in the new tab page or bookmarks list.

Expected behaviour

The Safari bookmark/favorite entry should correctly display the Stash favicon, consistent with the icon seen when using "Add to Home Screen".

Screenshots or additional context

No response

Stash version

v0.30.1

Device details

Safari on iOS 26

Relevant log output


m0e16 avatar Feb 02 '26 08:02 m0e16

Unable to reproduce on V30.1 of Stash and V26.3 of IOS

Image

Gykes avatar Feb 07 '26 08:02 Gykes

œ

Unable to reproduce on V30.1 of Stash and V26.3 of IOS

Image

Please try adding it to the home screen; the bookmark list can now also display favicons.

m0e16 avatar Feb 09 '26 06:02 m0e16

iOS 26.2.1 stash v0.30.1-121-gb8bd8953

Image

feederbox826 avatar Mar 16 '26 02:03 feederbox826

Very confused, the original issue is for adding to favourites/ bookmarks but the follow up is for home screen? Able to reproduce the issue on 26.2, sounds like an upstream with iOS as gykes was unable to repro on 26.3?

feederbox826 avatar Mar 16 '26 02:03 feederbox826

@feederbox826 Thanks for checking this. I have re-confirmed on my device. While "Add to Home Screen" works perfectly and shows the correct icon, the "Add to Favorites" and "Add Bookmark" options still only show the generic placeholder.(iOS 26.3.1)

Here are my additional findings:

  1. I tried clearing Safari's cache and history, but the issue persists.
  2. I will provide a side-by-side screenshot showing the Home Screen icon vs the Bookmark icon to clarify the difference.
Image Image Image

m0e16 avatar Mar 16 '26 03:03 m0e16

Repro'd but turned into a nofix

tl;dr favicons are getting fetched way after the fact - if you have authentication it will break since stash is concealed if you're not logged in

iOS 26 is getting favicons asyncronously. I noticed this after bookmarking various pages that the favicon wouldnt load in until much later and suddenly pop up, way after I was navigated away from the page.

The web app adds the favicon at add-time using apple-touch-icon. Bookmark does it asyncronously.... without cookies.. meaning you end up at the login page

If you have authentication on your stash the login page purposefully has no branding at all to "conceal" stash. If you have no authentication, the favicon is loaded perfectly fine.

I hate this company

Auth | NoAuth stash

Image

feederbox826 avatar Mar 16 '26 06:03 feederbox826