Remove top-level windows with popup=true
Categories
(Core :: Layout, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox123 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(4 files)
See bug 1869891 for context. The popup=true
variants are super weird and already not supported effectively on Wayland.
Assignee | ||
Comment 1•6 months ago
|
||
Definitely not for 122, but I think we should try this. Note that this
doesn't affect nsMenuPopupFrames, which create the widget on their own
here:
It only affects windows with popup=yes, which right now are only the
nsXULAlerts windows.
I'll look into trying to unify the macOS set-up, which right now
unconditionally uses this (presumably to get an nsChildView for each
top-level nsCocoaWindow). Maybe that can be handled internally by the
widget layer, we'll see.
Updated•6 months ago
|
Assignee | ||
Comment 2•6 months ago
|
||
These are only used right now for XUL notifications. They are extremely
weird (I bet there's tons of code that assume that WindowType::Popup
corresponds to nsMenuPopupFrame), and afaict there's no good reason why
these have to be this way.
They no longer are on Linux (because Wayland doesn't support such
thing for example).
XUL alerts work fine with this patch on all platforms after some basic
testing.
Depends on D196664
Assignee | ||
Comment 3•6 months ago
|
||
There's no windows with popup=true anymore as of the previous patch.
Depends on D196665
Assignee | ||
Comment 4•6 months ago
|
||
Depends on D196666
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/39cc9d155c12 Simplify ShouldAttachToTopLevel(), and revert patch for bug 1869891. r=tnikkel https://hg.mozilla.org/integration/autoland/rev/cf0bda3b4253 Remove top-level windows with WindowType::Popup. r=tnikkel,sessionstore-reviewers,dao https://hg.mozilla.org/integration/autoland/rev/846e436ca1c2 Remove accessibility hack that should not longer be needed. r=Jamie https://hg.mozilla.org/integration/autoland/rev/c909d207f316 Remove no longer needed wayland panel emulation. r=stransky
Comment 6•6 months ago
•
|
||
Backed out changeset 846e436ca1c2 for causing automation.py & accessibility related Windows failures
Failure log 1 // Failure log 2
This mda failure might be related too.
P.S: The other 3 changesets have been backed out too since all the issues were still present after the first backout. Backout link here
Assignee | ||
Updated•6 months ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7f3e10bdd2af Simplify ShouldAttachToTopLevel(), and revert patch for bug 1869891. r=tnikkel
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7fd01e6f31ce Remove top-level windows with WindowType::Popup. r=tnikkel,sessionstore-reviewers,dao
Assignee | ||
Comment 9•6 months ago
|
||
FYI I just noticed https://searchfox.org/comm-central/rev/fc51b5b1da584c4099d8e94d45b1ed3af521da1b/mailnews/base/src/MailNotificationManager.jsm#413. It specifies dialog=yes and popup=yes, which makes no sense. Likely just removing popup=yes there is the right way to go.
Comment 10•6 months ago
|
||
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e8453c280dd2 Remove accessibility hack that should not longer be needed. r=Jamie https://hg.mozilla.org/integration/autoland/rev/aa4d4fecaf96 Remove no longer needed wayland panel emulation. r=stransky
Comment 11•6 months ago
|
||
Pushed by nbeleuzu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/904c9133f749 Allow another Msg_ProcessUnhandledEvent on win32. CLOSED TREE
Comment 12•6 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7f3e10bdd2af
https://hg.mozilla.org/mozilla-central/rev/7fd01e6f31ce
https://hg.mozilla.org/mozilla-central/rev/e8453c280dd2
https://hg.mozilla.org/mozilla-central/rev/aa4d4fecaf96
https://hg.mozilla.org/mozilla-central/rev/904c9133f749
Comment 13•6 months ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #9)
Filed bug 1871389.
Assignee | ||
Comment 14•5 months ago
|
||
Comment on attachment 9369115 [details]
Bug 1870512 - Simplify ShouldAttachToTopLevel(), and revert patch for bug 1869891. r=tnikkel
Beta/Release Uplift Approval Request
- User impact if declined: This should be enough to fix the rendering issue bug 1869796 originally reported.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: none
- Risk to taking this patch: Medium
- Why is the change risky/not risky? (and alternatives if risky): Trivial-ish patch, but with non-trivial implications.
- String changes made/needed: none
- Is Android affected?: Yes
Comment 15•5 months ago
|
||
Comment on attachment 9369115 [details]
Bug 1870512 - Simplify ShouldAttachToTopLevel(), and revert patch for bug 1869891. r=tnikkel
We are at the end of the Beta cycle.
Rejecting uplift request, given this has a medium risk and comment 43 on 186979
We can revisit if it's deemed a further conversation is needed.
Description
•