Icon of pinned web pages disappear

REPRODUCIBILITY: Always
OS VERSION: 4.6.0.15, 5.0.0.55
HARDWARE: Sony Xperia IV, xqcc54
UI LANGUAGE: nb_NO Norwegian
REGRESSION:

DESCRIPTION:

Icon of pinned web pages disappear after reboot.

PRECONDITIONS:

Wifi on and connected

STEPS TO REPRODUCE:

  1. Pin a web page to the app launcher.
  2. Check that shortcut an icon is placed in app launcher.
  3. Reboot phone.

EXPECTED RESULT:

After reboot.
Wifi on.
Pinned web page shortcut with icon in the app launcher

ACTUAL RESULT:

Wifi on.
Web page shortcut without icon in the app launcher

MODIFICATIONS:

Patchmanager
OpenRepos
Chum

ADDITIONAL INFORMATION:

If wifi is on and connected, a restart of home screen brings the icon(s) back.
After every reboot, the icon(s) disappear.
Jolla C, 4.6.0.15.
Same pinned web page has icon after reboot. No need to restart home screen.

2 Likes

This is a long standing issue that has been present across many releases and many years. It doesn’t appear to affect all web launcher icons, just some. For me it seems to be that if the web launcher icon is a proper web site favicon it survives a reboot, but if it has been extracted from a web page (usually the top left corner) it does not.

1 Like

I believe the Browser stores the icon’s Favicon (if it has one) as an URL to the .desktop file. That’s why they only appear when Wifi (or generally internet connetivity) is on.

The page snapshots are usually saved as data: urls directly in the .desktop file, so they persist.

EDIT: Seems I’m partially wrong, there’s sailfish-browser/apps/browser/qml/pages/components/PopUpMenuItem.qml at b60a303790fd2c0e1fa06499a87b0e878c66fece · sailfishos/sailfish-browser · GitHub which should NOT use an URL to save the icon.

EDIT2: NO actually it’s exactly what happens here.

Also

2 Likes

So I have it the wrong way around (quite possible)?