Deleting history on quit deletes shortcut icons
Categories
(Firefox for Android :: History, defect, P2)
Tracking
()
People
(Reporter: certt4fz, Assigned: giorga)
References
(Depends on 1 open bug)
Details
(Whiteboard: [fxdroid] [group4])
Attachments
(2 files)
Steps to reproduce:
I have enabled "delete browsing data on quit" and have unchecked all options except for "browsing history". So when I press quit my browsing history will get deleted but nothing else.
Actual results:
After pressing quit and restarting, all the icons (Favicons? Website logos?) for the my shortcuts on the home page are gone.
Expected results:
Shortcut icons should not get deleted If you go manually to "History -> trash can -> delete everything", then the history gets deleted without losing the shortcut icons. I don't know why deleting the history via "quit" has a different behaviour.
Comment 1•1 year ago
•
|
||
I could not reproduce this on my device. For now, keeping it as low prio-P3 (399), I will update once hearing from QA.
Forwarding it to QA: can you please verify if this is happening or not?
Update: I could reproduce this and updated the prio/severity accordingly.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 2•1 year ago
|
||
I also managed to reproduce this issue on the latest Nightly (123.0a1), Beta and RC (122).
Device used: Samsung Galaxy S23 Ultra (Android 14).
Marking the ticket as NEW.
Updated•1 year ago
|
Comment 3•1 year ago
|
||
I think this is intentional.
If the sites are not PINNED, they will be removed when cleaning history.
the sites are also removed when manually doing "History -> trash can -> delete everything".
(In reply to jackyzy823 from comment #3)
I think this is intentional.
If the sites are not PINNED, they will be removed when cleaning history.
the sites are also removed when manually doing "History -> trash can -> delete everything".
No, this happens to pinned sites as well. And that's exactly what this bug is about.
For some of them (e.g. Reddit, BBC), the thumbnails seem to stay, while for others (e.g. 4chan, DeepL) the thumbnails get removed when you delete history through "quit" (but not when you delete history manually in the settings. It's a bit odd that (1) the two different ways of deleting the history have a different effect on pinned sites' thumbnails, and that (2) some pinned sites' thumbnails stay and others get deleted - perhaps there is a hardcoded list somewhere.
Comment 5•1 year ago
|
||
Sorry , i misunderstand the bug.
Yes the favicon of shortcuts has gone.
Comment 6•1 year ago
|
||
Delete browsing data's code:
iconsStorage.clear()
It will clear icons' cache.
Manually history deletion's code:
No similar code for clearing icons' cache.
Comment 7•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Fenix::History' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 8•10 months ago
|
||
I've retested it on a current build: Firefox Nightly 136.0a1 from 2024-01-16.
This issue is no longer reproducible. The icons are correctly shown on homescreen.
Tested on a Google Pixel 9 Pro XL (Android 15).
I will close the ticket as Works for me.
Updated•10 months ago
|
Still have the same problem on Firefox 134.0.1 and Firefox Nightly 136.0a1, Pixel 8 Android 15.
I have made a screen recording. Added a website (4chan's Tech board) in the shortcuts. Opening it loads the icon for the homescreen. Deleting history via "Quit" makes the icon disappear.
| Reporter | ||
Comment 10•10 months ago
|
||
Still have the same problem on Firefox 134.0.1 and Firefox Nightly 136.0a1, Pixel 8 Android 15.
I have made a screen recording. Added a website (4chan's Tech board) in the shortcuts. Opening it loads the icon for the homescreen. Deleting history via "Quit" makes the icon disappear.
Comment 11•10 months ago
•
|
||
Hi,
I had to pin some shortcuts on homescreen to reproduce the issue, but I did manage to reproduce it.
This time I used a Oneplus 12R (Android 14) and the latest Nightly build (136.0a1 from 2025-01-20).
I'll mark the current build as affected.
Thank you!
Updated•10 months ago
|
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Updated•9 months ago
|
Updated•9 months ago
|
| Assignee | ||
Comment 12•7 months ago
|
||
| Assignee | ||
Comment 13•7 months ago
|
||
Based on the discussion with Channing on Slack. I removed the icons clear method call.
Comment 14•6 months ago
|
||
Comment 15•6 months ago
|
||
| bugherder | ||
Updated•6 months ago
|
Updated•6 months ago
|
Description
•