[x11] `Update available` popup cut off
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr128 | --- | unaffected |
| firefox138 | --- | wontfix |
| firefox139 | --- | wontfix |
| firefox140 | --- | verified |
People
(Reporter: alice0775, Assigned: emilio)
References
(Regression)
Details
(Keywords: nightly-community, regression, reproducible)
Attachments
(5 files)
Steps to reproduce:
- Launch Nightly that is not up-to-date
Actual results:
Update available popup cut off.
See screenshot
| Reporter | ||
Comment 1•10 months ago
|
||
| Reporter | ||
Comment 2•10 months ago
|
||
Regression window:
https://hg-edge.mozilla.org/mozilla-central/pushloghtml?fromchange=e63c3cb08527628aa38c00463d24a56d01666392&tochange=29c957dc0c6f710ef5e2471560a1f49e7c655db9
Suspect: Bug 1945221
Comment 3•10 months ago
|
||
Set release status flags based on info from the regressing bug 1945221
:emilio, since you are the author of the regressor, bug 1945221, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 4•10 months ago
|
||
I don't think it can be that. Bug 1945221 only touched windows code. Is there any chance to narrow it down further?
| Reporter | ||
Comment 5•10 months ago
•
|
||
Sorry, comment#2 is wrong.
The glitch happens 80% probability at startup browser.
The correct regression window is:
https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=ff5432cc7e7c0d223330a7c8f09a89d797793f83&tochange=9efb94e533503b0cd1309c16d01d488a69941059
| Assignee | ||
Comment 6•10 months ago
|
||
Thanks Alice! that makes more sense :)
| Assignee | ||
Comment 7•10 months ago
•
|
||
Ok, for my own reference, I can repro on Nightly with:
setTimeout(() => AppMenuNotifications.showNotification("update-available"), 1000); focus()
On the browser console or so. But somehow not on a debug build :/
| Assignee | ||
Comment 8•10 months ago
|
||
This compositor delegate wasn't getting its client area updated because of this
early return. Popups usually get that via:
But this window doesn't, because:
if (GdkIsX11Display() && mNoAutoHide) {
type = GTK_WINDOW_TOPLEVEL;
}
Remove this special-case for popups. Instead, fall through the regular
code-path. I don't see any obvious issues but we can revert this if
needed (the following patch also fixes the issue).
Updated•10 months ago
|
| Assignee | ||
Comment 9•10 months ago
|
||
As noted in the comment for Wayland, most noautohide popups already work
this way, as the noautohide attribute is dynamic. I did a quick smoke test of
these popups and they still remain not autohiding as expected, and follow their
anchor and so on.
Updated•10 months ago
|
| Assignee | ||
Comment 10•10 months ago
|
||
This is more predictable (we were only doing it in Resize() /
ResizeInt(), not in Move()).
Comment 11•10 months ago
|
||
Comment 12•10 months ago
|
||
Comment 13•10 months ago
|
||
Updated•10 months ago
|
Comment 14•10 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5c601ff44c35
https://hg.mozilla.org/mozilla-central/rev/1ab9095166c1
https://hg.mozilla.org/mozilla-central/rev/641736ec7f25
Comment 15•10 months ago
|
||
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.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox139towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 16•10 months ago
|
||
I think we should let this ride the trains, it's a non-trivial change.
Updated•9 months ago
|
Updated•9 months ago
|
Comment 17•9 months ago
|
||
Reproduced the menu cut using an old Nightly build from 2025-05-09 on Ubuntu 22.04 (x11), verified that using a recent Nightly 141.0a1 build after the fix and a 141.0b3 Beta build the panel is not cut anymore.
Description
•