Closed Bug 1970055 Opened 11 months ago Closed 8 months ago

Inconsistent browser history menu when long clicking on the navigation buttons

Categories

(Firefox for Android :: Toolbar, defect, P1)

All
Android
defect

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox139 --- wontfix
firefox140 --- wontfix
firefox141 --- wontfix
firefox142 --- wontfix
firefox143 --- wontfix
firefox144 --- fixed

People

(Reporter: petru, Assigned: kaya)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group3][group1])

Attachments

(4 files, 2 obsolete files)

Steps to reproduce

  1. Use a tablet to get the navigation buttons to be shown in the toolbar
  2. Access different webpages in the same tab
  3. Long press on the active navigation buttons

Expected behavior

A popup with all the history for that tab appears at the bottom of the screen

Actual behavior

Sometimes the popup is empty

Any additional information?

In my limited tries I could easily reproduce this on Nightly and Beta but not on Release suggesting this is a recent regression.

This reproduces also when interacting with the navigation buttons from the redesigned menu.

Whiteboard: [fxdroid][group3]
See Also: → 1948697

The severity field is not set for this bug.
:royang, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(royang)
Severity: -- → S3
Flags: needinfo?(royang)
Assignee: nobody → hoglesby
Status: NEW → ASSIGNED
Attachment #9506489 - Attachment is obsolete: true

on re-examining, I'm discovering that the call inside TabHistoryDialogFragment to the selectedTab history is not gathering updated history when initially called and the history is updated by geckoview later which then flows into TabHistoryDialogFragment and loads the data after a bit. This happens if a user long presses the nav button immediately upon navigating through a series of pages

if a user waits on a page for about 5 seconds, the TabHistoryDialogFragment will be opened without issue.

A log showing the change in history state as the history is loaded and sent from GeckoView to Fenix observers.

Attachment #9506490 - Attachment is obsolete: true
Blocks: 1677190

We discussed this on Slack a bit - this is a SHIP bug.

Assignee: hoglesby → kkaya
Priority: -- → P1
Whiteboard: [fxdroid][group3] → [fxdroid][group3][group1]
Attachment #9507465 - Attachment description: WIP: Bug 1970055 - Flush engine session state for the selected tab when the back and forward navigation buttons are long pressed to fetch the most recent session state. → Bug 1970055 - Flush engine session state for the selected tab when the back and forward navigation buttons are long pressed to fetch the most recent session state.
Pushed by kkaya@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ea7f83ab9aa3 https://hg.mozilla.org/integration/autoland/rev/2cb7ca176216 Flush engine session state for the selected tab when the back and forward navigation buttons are long pressed to fetch the most recent session state. r=geckoview-reviewers,android-reviewers,geckoview-api-reviewers,ohall,sfamisa,nalexander
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: