Closed Bug 1867518 Opened 1 year ago Closed 6 months ago

Deleting history on quit deletes shortcut icons

Categories

(Firefox for Android :: History, defect, P2)

Firefox 120
All
Android
defect

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox122 --- wontfix
firefox123 --- wontfix
firefox136 --- wontfix
firefox140 --- fixed

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.

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.

Severity: -- → S3
Rank: 399
Flags: qe-verify+
Priority: -- → P3
Severity: S3 → S2
Severity: S2 → S3
Rank: 399
Flags: qe-verify+
Priority: P3 → P2

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.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [qa-triaged]

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.

Sorry , i misunderstand the bug.


Yes the favicon of shortcuts has gone.

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.

Component: General → History

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.

Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → WORKSFORME

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.

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.

Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---

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!

Assignee: nobody → giorga
Status: REOPENED → ASSIGNED
Whiteboard: [qa-triaged] → [fxdroid] [group4]

Based on the discussion with Channing on Slack. I removed the icons clear method call.

Pushed by giorga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cbc0b54b1fc6 Deleting history on quit should not delete shortcut icons. r=android-reviewers,rsainani
Status: ASSIGNED → RESOLVED
Closed: 10 months ago6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: