Closed Bug 1982129 Opened 2 months ago Closed 2 months ago

Expand on hover intermittently stops working

Categories

(Firefox :: Sidebar, defect, P1)

defect
Points:
1

Tracking

()

VERIFIED FIXED
143 Branch
Tracking Status
relnote-firefox --- 142+
firefox-esr128 --- unaffected
firefox-esr140 --- unaffected
firefox141 --- unaffected
firefox142 --- verified
firefox143 --- verified

People

(Reporter: kcochrane, Assigned: kcochrane)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [fidefe-sidebar])

Attachments

(2 files)

It seems we've had multiple internal reports of expand on hover intermittently not working.

STR:
Enable vertical tabs and expand on hover. While hovering over the expanded sidebar, right click the sidebar and select "Turn off vertical tabs" from the context menu. Right click the toolbar and select "Turn on vertical tabs". Expand on hover is turned back off now. Re-enable it using the customize sidebar panel. Hover over the sidebar to expand it and notice how it remains expanded even once you hover outside of the sidebar.

Note that the issue goes away with a browser restart unless you take the steps taken above again.

Keywords: regression
Regressed by: 1957008
Assignee: nobody → kcochrane
Attachment #9506153 - Attachment description: WIP: Bug 1982129 - Ensure _hoverBlockerCount doesn't go into the negatives and the hover blocker is removed when expand on hover is disabled in browser-sidebar.js → Bug 1982129 - Ensure _hoverBlockerCount doesn't go into the negatives and the hover blocker is removed when expand on hover is disabled in browser-sidebar.js
Status: NEW → ASSIGNED
Severity: -- → S3
Points: --- → 1
Priority: -- → P1

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

Pushed by kcochrane@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/8432a90dc508 https://hg.mozilla.org/integration/autoland/rev/91ee1f7e3ee5 Ensure _hoverBlockerCount doesn't go into the negatives and the hover blocker is removed when expand on hover is disabled in browser-sidebar.js r=nsharpley
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch

The patch landed in nightly and beta is affected.
:kcochrane, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(kcochrane)

Spoke with :sclements on this, and we'd like to add this to the planned dot release on Sept. 2 should no regressions arise in the meantime

Flags: needinfo?(kcochrane)

Comment on attachment 9506153 [details]
Bug 1982129 - Ensure _hoverBlockerCount doesn't go into the negatives and the hover blocker is removed when expand on hover is disabled in browser-sidebar.js

Beta/Release Uplift Approval Request

We'd like to add this to the planned dot release on Sept. 2 should no regressions arise in the meantime.

  • User impact if declined/Reason for urgency: Expand on hover in the sidebar could unexpectedly stop working.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: STR in the description for the bug
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): 2 line JS change
  • String changes made/needed:
  • Is Android affected?: No
Attachment #9506153 - Flags: approval-mozilla-release?
Flags: qe-verify+

Looks like this is still happening per :mconley. He said the hover blocker count got up to 4 when he ran into the issue, so I need to move that decrementing line back out of the conditional.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by kcochrane@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a6a926a52dd1 https://hg.mozilla.org/integration/autoland/rev/7248f97502b8 Ensure _hoverBlockerCount doesn't go into the negatives in browser-sidebar.js r=nsharpley
Status: REOPENED → ASSIGNED
QA Whiteboard: [uplift][qa-ver-needed-c143/b142]
Status: ASSIGNED → RESOLVED
Closed: 2 months ago2 months ago
Resolution: --- → FIXED

I was able to reproduce the issue with an affected Firefox Nightly 143.0a1 build from 2025-08-08 on Windows 11, while following the steps described in Comment 0 (3 out of 3 attempts).
Verified as fixed using Firefox Nightly 143.0a1 (2025-08-13) on Windows 11, macOS 14 and Ubuntu 22.04. The sidebar no longer remains expanded once you hover outside of the sidebar (3 out of 3 attempts).

QA Whiteboard: [uplift][qa-ver-needed-c143/b142] → [uplift] [qa-ver-done-c143/b142]
Duplicate of this bug: 1984226
Duplicate of this bug: 1984315
See Also: → 1984790
See Also: → 1984125
See Also: → 1984923
See Also: → 1984933
See Also: → 1984865
Duplicate of this bug: 1984933
Duplicate of this bug: 1984946
Duplicate of this bug: 1984923
Duplicate of this bug: 1984125
Duplicate of this bug: 1984711
Duplicate of this bug: 1984790
Duplicate of this bug: 1984865

:kcochrane to be sure did you only want to uplift one of the patches to release?

Flags: needinfo?(kcochrane)

We'll need to apply both patches for the uplift as my second patch fixed a regression caused by my first patch.

Flags: needinfo?(kcochrane)

Comment on attachment 9506153 [details]
Bug 1982129 - Ensure _hoverBlockerCount doesn't go into the negatives and the hover blocker is removed when expand on hover is disabled in browser-sidebar.js

Approved for 142.0.1

Attachment #9506153 - Flags: approval-mozilla-release? → approval-mozilla-release+
Attachment #9506733 - Flags: approval-mozilla-release+

(In reply to Bianca Hidecuti, Desktop Test Engineering [:bhidecuti] from comment #12)

I was able to reproduce the issue with an affected Firefox Nightly 143.0a1 build from 2025-08-08 on Windows 11, while following the steps described in Comment 0 (3 out of 3 attempts).
Verified as fixed using Firefox Nightly 143.0a1 (2025-08-13) on Windows 11, macOS 14 and Ubuntu 22.04. The sidebar no longer remains expanded once you hover outside of the sidebar (3 out of 3 attempts).

Verified as fixed using Firefox 142.0.1-build1 on macOS 14, Windows 11 and Ubuntu 22.04 as well.

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

Attachment

General

Created:
Updated:
Size: