[Linux] In Trackers Blocked "See All" panel, the scrollbar and some of the content run off the bottom of the menu-popup
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: dholbert, Assigned: emilio, NeedInfo)
References
(Regression)
Details
(Keywords: perf-alert, regression)
Attachments
(3 files, 1 external file)
STR:
- (optional but encouraged): use a high "scale" factor in your desktop zoom settings (or a low resolution), so that you've got a relatively limited screen height to work with. (Not a requirement, but makes the bug easier to trigger/see.)
- Visit a site with lots of tracking content, e.g. https://www.huffpost.com/
- Wait 15 seconds or so for the site to load and for Firefox to block a lot of trackers.
- Click the shield icon in the Firefox URL bar.
- Click "See all".
- Click the "Cross-Site Tracking Cookies" and use mousewheel/two-finger scrolling to scroll to the bottom of the panel, paying special attention to the scrollbar.
ACTUAL RESULTS:
The scrollbar scrolls partially or entirely off the bottom of the menu-popup.
And depending on your browser position, you can see that there's some content that runs off the bottom of the menu-popup as well.
EXPECTED RESULTS:
Scrollbar should stop when it reaches the bottom of the menu-popup.
No content should run off the bottom of the menu-popup.
I'm using Nightly 155.0a1 (2026-07-27) on Ubuntu 26.04.
This reproduces regardless of whether browser.nova.enabled is true or false (i.e. this is not a regression from enabling the nova pref)
| Reporter | ||
Updated•4 months ago
|
| Reporter | ||
Comment 1•4 months ago
|
||
| Reporter | ||
Comment 2•4 months ago
•
|
||
Just to prove there's no HiDPI requirement here: here's a screencast I just captured with a 100% desktop-scale level and 1440x1080 screen resolution. Note that I'm positioning my Firefox window such that the URL bar is just a bit higher than the middle of the screen, so that my menu (anchored to the shield button) only has access to ~half of the screen height.
This limitation shouldn't be a problem in theory, of course -- it just means we'll have more content to scroll in a smaller space -- but for some reason it ends up with some content running off the bottom of the menu(barely visible as the very tops of some letters), and the scrollbar itself running off the bottom of the menu.
| Reporter | ||
Comment 3•4 months ago
|
||
This may be a regression; I don't think I'm able to repro with Nightly 2025-01-02. (The UI is a bit different, but there are similar long lists of "Cross-Site Tracking Cookies" and "Tracking Content" that show up for huffpost, and we constrain the content and scrollbar to fit in the menu, when I test it in the way that I did in my screencasts.)
I'll see if I can come up with a regression range tomorrow.
Updated•4 months ago
|
| Reporter | ||
Comment 4•4 months ago
•
|
||
Hmm, so with HiDPI enabled, I'm seeing the regression go further back, to this range:
Last good revision: a7134d792577d5d0529bf81b769c32138f7bb0c0 (2024-03-16)
First bad revision: 47d63b18299914bf2eecdeb64fe8df0a52605aec (2024-03-17)
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=a7134d792577d5d0529bf81b769c32138f7bb0c0&tochange=47d63b18299914bf2eecdeb64fe8df0a52605aec
...which implicates bug 1871515, at least for my Wayland + HiDPI setup (with 166% desktop scaling).
Lemme see if I get a different range with 100% scale factor.
| Reporter | ||
Comment 5•4 months ago
|
||
Same regression range with 100% scale factor.
a7134d792577d5d0529bf81b769c32138f7bb0c0 (2024-03-16) is "Good", 47d63b18299914bf2eecdeb64fe8df0a52605aec (2024-03-17) is "bad".
Looks like a regression from bug 1871515.
Comment 6•4 months ago
|
||
Set release status flags based on info from the regressing bug 1871515
:emilio, since you are the author of the regressor, bug 1871515, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 7•4 months ago
|
||
Actually it looks like I only get that regression range if I run with MOZ_ENABLE_WAYLAND=0 (which I typically do for mozregression to work around a startup crash that a range of nightlies hits otherwise).
Without that, 2024-03-17 and 2025-01-02 are both fine (because rather than clipping, they allow their panel to shift on-screen, away from the button, to fit whatever minimum size their contents want to be).
Let me run mozregression again without MOZ_ENABLE_WAYLAND=0 and see what I get...
| Reporter | ||
Comment 8•4 months ago
|
||
tl-dr, this regressed separately on non-wayland vs. wayland configuration:
- Linux without Wayland: regression from bug 1871515
- Linux with Wayland: regression from bug 1971362
comment 5 has the regression range for non-wayland (running with MOZ_ENABLE_WAYLAND=0 in my case, but I'm pretty sure the results are the same with X11 as your window-manager).
For the regression range in wayland-enabled Firefox, I ran mozregression in an Ubuntu 24.04 VM, and I got this more-recent regression range:
Last good revision: a14c56cc48c89aec2217887958c25216fa2a0c0a (2025-06-15)
First bad revision: 87e010ebac62c5bed9a41c64e63df5be347f65e6 (2025-06-16)
https://hg-edge.mozilla.org/mozilla-central/pushloghtml?fromchange=a14c56cc48c89aec2217887958c25216fa2a0c0a&tochange=87e010ebac62c5bed9a41c64e63df5be347f65e6
And in there, I'm guessing this is a regression from bug 1971362.
| Reporter | ||
Updated•4 months ago
|
Updated•4 months ago
|
| Assignee | ||
Comment 9•3 months ago
|
||
I think this is a front-end issue. If I remove this declaration then stuff is sized appropriately.
Daniel do you know what might be going on? The children have max-height: 100% but that's presumably considered indefinite or so?
| Assignee | ||
Comment 10•3 months ago
|
||
| Assignee | ||
Comment 11•3 months ago
|
||
I blamed this align-items: flex-start and it goes back to bug 1392340.
| Assignee | ||
Comment 12•3 months ago
|
||
Before bug 1871515 we used to set a (maybe wrong) fixed height, so that's why this didn't show up on X11.
| Assignee | ||
Comment 13•3 months ago
|
||
This goes effectively back to bug 1392340, but tons of changes have
happened since (including the move to flex layout and the regressing
bugs).
It doesn't seem to be needed. I tested by bumping up the transition
duration and transitioning between the open tracker panel opening and
back (which trigger this "very different height" case), and smoketesting
other panels.
Updated•3 months ago
|
Comment 14•3 months ago
|
||
Comment 15•3 months ago
|
||
| bugherder | ||
Comment 16•3 months ago
|
||
The patch landed in nightly and beta is affected, along with ESR.
:emilio, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta and ESR approvals.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox154and the ESR status flag(s) towontfix.
For more information, please visit BugBot documentation.
Comment 18•3 months ago
|
||
| perf-alert | ||
Perfherder has detected a build_metrics performance change from push 013f1bd6c47ce94d4176c92705ded739e88d4506.
No action is required from the author; this comment is provided for informational purposes only.
| Improvement | Test | Platform | Options | Absolute values [old vs new] |
|---|---|---|---|---|
| 93% | sccache cache_write_errors | linux64 | 626.92 -> 45.75 | |
| 92% | sccache cache_write_errors | windows2012-64 | 540.42 -> 45.92 | |
| 75% | sccache cache_write_errors | linux64 | asan opt | 748.29 -> 188.75 |
Need Help or Information?
If you have any questions, please reach out to afinder@mozilla.com. Alternatively, you can find help on Slack by joining #perf-help, and on Matrix you can find help by joining #perftest.
Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.
Updated•3 months ago
|
Description
•