Closed Bug 1831535 Opened 2 years ago Closed 2 years ago

Bookmarks/history sidebar scrollbar does not update to window being vertically resized.

Categories

(Core :: XUL, defect)

Firefox 113
defect

Tracking

()

VERIFIED FIXED
115 Branch
Tracking Status
relnote-firefox --- 113+
firefox-esr102 --- unaffected
firefox112 --- unaffected
firefox113 --- verified
firefox114 --- verified
firefox115 --- verified

People

(Reporter: ke5trel, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

STR:

  1. Open Bookmarks/History sidebar (Ctrl+B or Ctrl+H).
  2. Resize the window vertically.

Expected:
Vertical scrollbar in sidebar appears/disappears and adjusts immediately to new height.

Actual:
Vertical scrollbar does not reflect the actual sidebar height until the width is changed.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=f65fcbd54512e1a4e8d5827ff539294f38392c68&tochange=4afe60aa1ef491059f5ce749ab17427058027622

Regressed by Bug 1824957.

:emilio, since you are the author of the regressor, bug 1824957, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)

The previous code ran right before setting mRect so it triggered a
reflow callback / scrollbar update.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

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

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a6185766e19d Fix nsTreeBodyFrame invalidation on height changes. r=layout-reviewers,dlrobertson
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch

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

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox114 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

Comment on attachment 9331815 [details]
Bug 1831535 - Fix nsTreeBodyFrame invalidation on height changes. r=#layout

Beta/Release Uplift Approval Request

  • User impact if declined: Comment 0
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Comment 0
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Relatively simple fix, worst case we invalidate a bit more.
  • String changes made/needed: none
  • Is Android affected?: No
Flags: needinfo?(emilio)
Attachment #9331815 - Flags: approval-mozilla-beta?
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

Reproducible on a 2023-05-05 Nightly build on Windows 10.
Verified as fixed on Nightly 115.0a1(build ID: 20230515215623) on Windows 10, Ubuntu 22, macOS 12.
Bookmark sidebar scrollbar now adjusts itself to the browser window’s height.

Comment on attachment 9331815 [details]
Bug 1831535 - Fix nsTreeBodyFrame invalidation on height changes. r=#layout

Approved for 114 beta 5, thanks.

Attachment #9331815 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Did you want to nominate this for Release approval as well?

Flags: needinfo?(emilio)
Flags: in-testsuite+

Comment on attachment 9331815 [details]
Bug 1831535 - Fix nsTreeBodyFrame invalidation on height changes. r=#layout

Beta/Release Uplift Approval Request

  • User impact if declined: comment 0
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: comment 0
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Relatively simple patch.
  • String changes made/needed: none
  • Is Android affected?: No
Flags: needinfo?(emilio)
Attachment #9331815 - Flags: approval-mozilla-release?

Reproducible on a 2023-05-05 Nightly build on Windows 10.
Verified as fixed on Firefox 114.0b5(build ID: 20230516224108) on Windows 10, macOS 12, Ubuntu 22.
Bookmark sidebar scrollbar now adjusts itself to the browser window’s height.

Comment on attachment 9331815 [details]
Bug 1831535 - Fix nsTreeBodyFrame invalidation on height changes. r=#layout

Approved for 113.0.2.

Attachment #9331815 - Flags: approval-mozilla-release? → approval-mozilla-release+

Added to the 113.0.2 release notes:

Fixed a bug which would cause the bookmarks and history sidebars to not properly react to the browser window being vertically resized

Reproducible on a 2023-05-05 Nightly build on Windows 10.
Verified as fixed on Firefox 103.0.2(build ID: 20230522134052) on Windows 10, macOS 12, Ubuntu 22.
Bookmark sidebar scrollbar now adjusts itself to the browser window’s height.

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

Attachment

General

Creator:
Created:
Updated:
Size: