Closed Bug 1901826 Opened 1 year ago Closed 10 months ago

Fullscreen toolbar autohides prematurely when tab preview disappears

Categories

(Firefox :: Tabbed Browser, defect, P2)

Firefox 129
x86_64
Windows 10
defect

Tracking

()

VERIFIED FIXED
133 Branch
Tracking Status
firefox-esr115 --- disabled
firefox-esr128 --- disabled
firefox129 --- disabled
firefox130 --- disabled
firefox131 --- wontfix
firefox132 --- verified
firefox133 --- verified

People

(Reporter: jvgoransson, Assigned: dwalker)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(3 files)

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

Steps to reproduce:

Nightly.
When in full screen hovering a tab with the curosr and then lowering the cursor to the toolbar, the toolbar continues to fullscreen without any means to hit the toobar with the cursor. Except if your hovering anything else besides the tabs to the left and right, then the expected behaviour happens.

Actual results:

In full screen changing tabs and the going for the toolbar. Not being able to klick the toolbar below.

Expected results:

One should be able to klick the toolbar

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

Component: Untriaged → Session Restore
Component: Session Restore → Tabbed Browser
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64

Hi, thanks for reporting this issue. I haven't been able to reproduce it, would you able to provide some screenshots or a screen recording?

Flags: needinfo?(jvgoransson)

Well in hindsight, i see that i misspoke, it is the web address part of the toolbar that i can´t hit.

Flags: needinfo?(jvgoransson)

This shows the inconsistent behaviour of working tabs in fullscreen.

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

For more information, please visit BugBot documentation.

Flags: needinfo?(dao+bmo)

I can reproduce this issue with Nightly v129.0a1, but not with Beta v128.0 (RC) on Windows 10. I am confirming the report. Thank you!

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true

DJ, could you please triage this?

Blocks: tab-preview
Flags: needinfo?(dao+bmo) → needinfo?(dwalker)

Fullscreen toolbar autohide has been broken by the tab previews since browser.tabs.cardPreview.enabled = true. The toolbar autohides prematurely when the tab preview disappears, making it harder to access the navigation toolbar. The user needs to quickly move the cursor below the tabs before the tab preview appears to avoid it autohiding.

Summary: Nightly, when in fullscreen hovering a tab and then lowering the cursor to the toolbar, the toolbar continues to fullscreen without any means to hit the toobar with the cursor → Fullscreen toolbar autohides prematurely when tab preview disappears
Assignee: nobody → dwalker
Flags: needinfo?(dwalker)
Priority: -- → P2

Jeremy recommends that we uplift this fix because it prevents the user from clicking focus to the address bar in fullscreen mode.

Duplicate of this bug: 1914079

In response to Marco's question in bug 1914079:

In the meanwhile, I assume if you temporarily disable the "Show a preview when hovering a tab" checkbox in General Preferences, the behavior goes back to normal (no bug)?

Dão was correct, this does not mitigate the bug.

However there is a workaround until the fix is rolled out. If you set "browser.tabs.hoverPreview.enabled" to false in about:config the white preview boxes are replaced by black tooltips which just contain the title of the tab and this bug does not manifest.

Attachment #9417518 - Attachment description: Bug 1901826 - prevent tab preview from triggering fullscreen toolbar autohide. r?dao → WIP: Bug 1901826 - prevent tab preview from triggering fullscreen toolbar autohide. r?dao
Attachment #9417518 - Attachment description: WIP: Bug 1901826 - prevent tab preview from triggering fullscreen toolbar autohide. r?dao → Bug 1901826 - prevent tab preview from triggering fullscreen toolbar autohide. r?dao
Pushed by dwalker@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/35f2d2698b1a prevent tab preview from triggering fullscreen toolbar autohide. r=dao,jswinarton
Flags: needinfo?(dwalker)
Pushed by dwalker@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0fab45288998 prevent tab preview from triggering fullscreen toolbar autohide. r=dao,jswinarton
Pushed by dwalker@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ceb7a7e46f59 prevent tab preview from triggering fullscreen toolbar autohide. r=dao,jswinarton

Backed out for causing bc failures on browser_fullscreen_tab_preview.js

Backout link

Push with failures

Failure log

Duplicate of this bug: 1920353
Flags: needinfo?(dwalker)
Duplicate of this bug: 1920351

:dwalker marking this as fix-optional since we enabled this feature in 131. Will there possibly be a fix for 132?

Flags: needinfo?(dwalker)
Duplicate of this bug: 1921703

Set release status flags based on info from the regressing bug 1893676

Pushed by dwalker@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4d5d609a0038 prevent tab preview from triggering fullscreen toolbar autohide. r=dao,jswinarton
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch

Please nominate this for Beta approval when you get a chance.

Flags: in-testsuite+
Duplicate of this bug: 1924415
Attachment #9430790 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: the associated bug will persist in Fx132
  • Code covered by automated testing: yes
  • Fix verified in Nightly: no
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: set 'browser.fullscreen.autohide' to true, enter fullscreen, and open a tab preview. When moving the mouse off the tab strip the preview should disappear but the nav toolbox should remain.
  • Risk associated with taking this patch: low
  • Explanation of risk level: one-line change with narrow scope
  • String changes made/needed: none
  • Is Android affected?: no
Flags: qe-verify+
Flags: needinfo?(dwalker)
Attachment #9430790 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

Reproduced the issue on Firefox 132.0b7, using Windows 11, as described in Comment 29.
Verified as fixed using Firefox Nightly 133.0a1 (2024-10-15) and Firefox 132.0b8 (treeherder build - Comment 30), on Windows 11, macOS 14.7 and Ubuntu 22.04. When moving the mouse off the tab strip (to the toolbar) the preview disappears but the nav toolbox remains.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Duplicate of this bug: 1925798
Duplicate of this bug: 1927382
Duplicate of this bug: 1920826
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: