Open Bug 1898356 Opened 1 year ago Updated 1 day ago

"go back one page" arrow (button) remains white (instead of grey) after clearing "browsing & download history"

Categories

(Toolkit :: Data Sanitization, defect, P3)

Firefox 136
defect

Tracking

()

ASSIGNED

People

(Reporter: e412byoy7, Assigned: reachcmphere, Mentored, NeedInfo)

Details

(Keywords: good-first-bug, priv-triaged)

Attachments

(3 files, 5 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0

Steps to reproduce:

  1. visit https://www.mozilla.org/en-US/firefox/new/
  2. on that page, click on "Download options and other languages" (below the blue download button)
  3. Now go to "History", "Clear Recent History...", select "Everything" and only tick "Browsing & download history". Then click "Clear Now".

Actual results:

previous page (https://www.mozilla.org/en-US/firefox/new/) is cleared from history as expected, but the "Go back one page" back-arrow remains clickable. (Nothing happens when clicking on it though, as expected)

Expected results:

Back arrow should turn grey (and unclickable) the moment the history is cleared.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Navigation' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Navigation
Product: Firefox → Core
Component: DOM: Navigation → Bookmarks & History
Product: Core → Firefox
Component: Bookmarks & History → Data Sanitization
Product: Firefox → Toolkit

It looks like it turns grey if you switch tabs and come back, this might just be some sort of refresh issue. Will add it our backlog! Thanks for reporting this

Severity: -- → S4
Priority: -- → P3
Summary: "go back one page" remains white (instead of grey) after clearing "browsing & download history" → "go back one page" arrow (button) remains white (instead of grey) after clearing "browsing & download history"

Hello, can I take this bug?

Absolutely! Let us know if you need any help

Assignee: nobody → diegociudadreale

Switching owners based on assignment in the open source club meeting.

Assignee: diegociudadreale → patel_krish

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: patel_krish → nobody

Heya! I already have a fix for this bug. Can I get assigned to it? Thanks!

Hi, thats great! @Harshit do you mind reviewing and mentoring with this patch? If not you can also bounce back and set me as mentor.

Assignee: nobody → mau.b
Mentor: harshit.sohaney
Flags: needinfo?(harshit.sohaney)

Happy to mentor this!

Flags: needinfo?(harshit.sohaney)
Attachment #9445815 - Attachment description: WIP: Bug 1898356 - Fixed navigation toolbar buttons not updating after clearing 'browsing & download history' → Bug 1898356 - Fixed navigation toolbar buttons not updating after clearing 'browsing & download history'

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit BugBot documentation.

Assignee: mauro → nobody
Version: Firefox 126 → Firefox 136
Assignee: nobody → reachcmphere
Status: NEW → ASSIGNED

Since Harshit is no longer at Mozilla and I see that you have fixed other bugs in the Data Sanitization component, could you review or recommend a reviewer? Thank you in advance!

Flags: needinfo?(manuel)

Hi, Harshit is still active and can review your patch. (I can also review if he doesn't find time this week, @Harshit do you think you'll find time soon to review this patch?)

I can give you a quick comment on the process of submitting: Please update the original revision (D233227) with your current patch and abandone all other revisions (D235512, D235513, D257167) by clicking on the action "Abandon revision" at the bottom of phabricator.

To do so, make sure the last line of the commit message is

Differential Revision: https://phabricator.services.mozilla.com/D233227

and then run moz-phab for uploading your revision. (I've updated the revision so that it'll accept the patch from the new git repository)

mossop and harshit will be get your patch into their review queue automatically then.

Flags: needinfo?(manuel) → needinfo?(harshit.sohaney)

I'm gonna review it soon (most probably over the weekend)!

Flags: needinfo?(harshit.sohaney)

Thank you! @chase It would be great if you could update your patches until then (as described in comment #16) to make it clear which one needs review.

Attachment #9500406 - Attachment is obsolete: true

@Manuel I have abandoned revision D257167, but I cannot abandon revisions D235512, D235513 because I do not have permission to do so. I also followed your instructions: made a commit with my patch and ensured that the last line of the Differential Revision matched D233227, ran moz-phab and then got the following response:

"Phabricator Error: Validation errors: You can not request review of this revision because you are not the author of the revision or in the proper permissions group."

Please let me know what I can do to move this patch forward. Thank you in advance!

You can't update that revision since it was made by a different contributor. You should create a patch like you previously had. I can handle abandoning the other open patches that are no longer active!

Sorry about the confusion there.

Those patches where done by me but I lost access to my old account... Terribly sorry, I dont think I can abandon the patches from here

@Harshit, I have resubmitted the patch. Could you please review / confirm that this patch addresses the issue and is on track for landing? Thank you.

Flags: needinfo?(harshit.sohaney)

Yep, I'll take a look soon, it's been a bit of a busy week!

Flags: needinfo?(harshit.sohaney)
Attachment #9503651 - Attachment description: Bug 1898356 - go back one page arrow (button) turns grey after clearing browsing & download history. r?hsohaney → WIP: Bug 1898356 - go back one page arrow (button) turns grey after clearing browsing & download history. r?hsohaney
Attachment #9503651 - Attachment description: WIP: Bug 1898356 - go back one page arrow (button) turns grey after clearing browsing & download history. r?hsohaney → Bug 1898356 - go back one page arrow (button) turns grey after clearing browsing & download history. r?hsohaney

Hi @Harshit I submitted a test that needs to be reviewed. Thank you in advance!

Flags: needinfo?(hsohaney)

I'll take a look sometime this week! Haven't forgotten, just swamped a little

Flags: needinfo?(hsohaney)
Pushed by hsohaney@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/54aaf25ea02a https://hg.mozilla.org/integration/autoland/rev/8d9f16b0eded go back one page arrow (button) turns grey after clearing browsing & download history. r=hsohaney
Pushed by amarc@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/07691799127b https://hg.mozilla.org/integration/autoland/rev/0819c87986c0 Revert "Bug 1898356 - go back one page arrow (button) turns grey after clearing browsing & download history. r=hsohaney" for causing bc failures @ browser_purgehistory_clears_sh.js

Backed out for causing bc failures @ browser_purgehistory_clears_sh

Flags: needinfo?(reachcmphere)
Attachment #9503651 - Attachment description: Bug 1898356 - go back one page arrow (button) turns grey after clearing browsing & download history. r?hsohaney → Bug 1898356 - go back one page arrow (button) turns grey after clearing browsing & download history. r=hsohaney
Attachment #9503651 - Attachment is obsolete: true
Attachment #9525772 - Attachment is obsolete: true
Attachment #9525775 - Attachment is obsolete: true
Attachment #9525798 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: