Closed Bug 2067366 Opened 3 months ago Closed 3 months ago

Drop-down menus in the font settings dialog don't have scrollbars

Categories

(Toolkit :: UI Widgets, defect, P1)

Firefox 155
defect

Tracking

()

VERIFIED FIXED
157 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox-esr153 --- unaffected
firefox155 --- wontfix
firefox156 --- verified
firefox157 --- verified

People

(Reporter: 6k64x4ma, Assigned: dao)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file, 2 external files)

Attached image screenshot.webp —

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

Steps to reproduce:

  1. Go to about:preferences#accessibility.
  2. Click "Advanced settings".
  3. Click a select box.

Actual results:

The drop-down menu does not have a scrollbar, but it's still scrollable with the mouse wheel.

Expected results:

A scrollbar should appear.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=7e45e8c6a5463799c6ac2502690876e6e82550d8&tochange=ddc26dcdaa5cd9d326b20c404959143e5a44b7f4

Regressed by bug 2059794.

Component: Untriaged → Settings UI
Keywords: regression
Regressed by: 2059794
Assignee: nobody → dao+bmo
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

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

155 is going out tomorrow. 155 dot release is Sept 8 -- is this high enough severity to warrant a fix and uplift by Friday, Sept 4?

Hey :dao, if you're working on this, can you add a priority and severity to the bug as well? That way it moves out of our (recomp/settings) triage, thanks!

Flags: needinfo?(dao+bmo)
Severity: -- → S3
Flags: needinfo?(dao+bmo)
Priority: -- → P1

(In reply to Stephen Thompson [:sthompson] from comment #2)

155 is going out tomorrow. 155 dot release is Sept 8 -- is this high enough severity to warrant a fix and uplift by Friday, Sept 4?

Probably not.

A vertical arrowscrollbox hides its scrollbar, and the menulist rule set the scrollbox's overflow but not its scrollbar-width, so the popup kept scrolling with nothing to drag. Dropping the overflow declarations leaves overflow-x hidden, so a menuitem wider than the popup is cropped rather than scrolled sideways.

Pushed by abutkovits@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/fa93350fa3d2 https://hg.mozilla.org/integration/autoland/rev/a0df186f0347 Revert "Bug 2067366 - Restore the scrollbar in menulist popups. r=desktop-theme-reviewers,emilio" for causing failures at browser_selectpopup_colors.js.

A vertical arrowscrollbox hides its scrollbar, and the menulist rule set the scrollbox's overflow but not its scrollbar-width, so the popup kept scrolling with nothing to drag. Dropping the overflow declarations leaves overflow-x hidden, so a menuitem wider than the popup is cropped rather than scrolled sideways.

Original Revision: https://phabricator.services.mozilla.com/D322351

Attachment #9634301 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: see https://bugzilla.mozilla.org/show_bug.cgi?id=2067366#c0
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: Steps in https://bugzilla.mozilla.org/show_bug.cgi?id=2067366#c0 -- this does have a toolkit-level test but manual verification for the reported case wouldn't hurt
  • Risk associated with taking this patch: low
  • Explanation of risk level: self-contained CSS-only fix
  • String changes made/needed?: none
  • Is Android affected?: no
Flags: qe-verify+
Attachment #9632793 - Attachment description: Bug 2067366 - Restore the scrollbar in menulist popups. r?#reusable-components-reviewers! → Bug 2067366 - Restore the scrollbar in menulist popups. r=desktop-theme-reviewers,emilio
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/edfc14d649db https://hg.mozilla.org/integration/autoland/rev/7843c9f71249 Revert "Bug 2067366 - Restore the scrollbar in menulist popups. r=desktop-theme-reviewers,emilio" for causing mochitest failures @ test_menulist_scrollbar.xhtml
Flags: needinfo?(dao+bmo)
Attachment #9634301 - Flags: approval-mozilla-beta?

Hi everyone, I've reproduced the steps outlined in the bug report and used the Mozregression GUI to bisect the regression. I've localised to the following changeset as the first bad revision. Noticed that this is different to the one mentioned in this report:

Changeset: 79b8e8ce2e04e8b5a840ccfa9b96bc282e7670be
Pushlog Link

Would this information be useful for investigating the regression further?

Attachment #9634301 - Attachment description: Bug 2067366 - Restore the scrollbar in menulist popups. → WIP: Bug 2067366 - Restore the scrollbar in menulist popups.
Attachment #9634301 - Attachment description: WIP: Bug 2067366 - Restore the scrollbar in menulist popups. → Bug 2067366 - Restore the scrollbar in menulist popups.
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch

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

For more information, please visit BugBot documentation.

Flags: needinfo?(dao+bmo)
Flags: needinfo?(dao+bmo)
Attachment #9634301 - Flags: approval-mozilla-beta?
Component: Settings UI → UI Widgets
Product: Firefox → Toolkit
Attachment #9634301 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [uplift] [qa-ver-needed-c157/b156]
Flags: qe-verify+

I was able to reproduce the issue on Win11x64 using Firefox build 155.0.
Verified as fixed on Win11x64/Ubuntu 24.04 using Firefox builds 157.0a1 and 156.0b4.

On Mac 15.5 there is no scroll but I suppose it depends on operating system and it is expected? It that correct @dao+bmo@mozilla.com? Thank you.

Flags: qe-verify+ → needinfo?(dao+bmo)
QA Contact: mchiorean

Yes, sounds correct, thanks!

Flags: needinfo?(dao+bmo)

Closing based on previous comment.

Status: RESOLVED → VERIFIED
QA Whiteboard: [uplift] [qa-ver-needed-c157/b156] → [uplift] [qa-ver-done-c157/b156]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: