[Windows] XUL notification does not stay frontmost (it can now be hidden behind other windows)
Categories
(Core :: Widget: Win32, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox123 | --- | wontfix |
firefox124 | --- | verified |
firefox125 | --- | verified |
People
(Reporter: saschanaz, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
Managing window properly is hard 🥲
Just got a report from a user that their notification now goes behind other windows, and mozregression says it's a regression from bug 1870512.
Comment 1•7 months ago
|
||
Set release status flags based on info from the regressing bug 1870512
Comment 2•7 months ago
|
||
Daniel, can we please get Priority/Severity settings applied here? It will help with release management triage.
Comment 3•7 months ago
|
||
(In reply to Kagami [:saschanaz] (they/them) from comment #0)
Just got a report from a user that their notification now goes behind other windows
Do we have any more info on environment (i.e. affected system configurations) and/or STR?
Reporter | ||
Comment 4•7 months ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #3)
(In reply to Kagami [:saschanaz] (they/them) from comment #0)
Just got a report from a user that their notification now goes behind other windows
Do we have any more info on environment (i.e. affected system configurations) and/or STR?
Yup.
- On Windows 11, set
alerts.useSystemBackend=false
- Open https://www.bennish.net/web-notifications.html
- Click Authorize and then Show
- Bring some other window over the notification and see if it goes behind the window
Comment 5•7 months ago
|
||
Thanks. I can repro. Tentatively classifying as S3, in part given that it's a non-default configuration (requiring an about:config flip).
Just chatted with Emilio and he thinks it's a pretty easy fix, though.
Updated•7 months ago
|
Assignee | ||
Comment 6•7 months ago
|
||
Updated•7 months ago
|
Assignee | ||
Updated•7 months ago
|
Comment 8•7 months ago
|
||
bugherder |
Comment 9•7 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.
- If no, please set
status-firefox124
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 10•7 months ago
|
||
Comment on attachment 9389707 [details]
Bug 1883370 - Use WS_EX_TOPMOST for alerts. r=#win-reviewers,saschanaz
Beta/Release Uplift Approval Request
- User impact if declined: Comment 0
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: comment 4
- List of other uplifts needed: none
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): One-liner
- String changes made/needed: none
- Is Android affected?: No
Assignee | ||
Updated•7 months ago
|
Comment 11•7 months ago
|
||
:emilio this doesnt graft cleanly, do we also need bug 1880394?
Assignee | ||
Comment 12•7 months ago
|
||
Updated•7 months ago
|
Comment 13•7 months ago
|
||
Uplift Approval Request
- Code covered by automated testing: no
- Risk associated with taking this patch: low
- Needs manual QE test: yes
- Explanation of risk level: one-liner
- Is Android affected?: no
- Fix verified in Nightly: yes
- String changes made/needed: none
- Steps to reproduce for manual QE testing: comment 4
- User impact if declined: comment 0
Assignee | ||
Comment 14•7 months ago
|
||
Comment on attachment 9389707 [details]
Bug 1883370 - Use WS_EX_TOPMOST for alerts. r=#win-reviewers,saschanaz
Rebased version above.
Updated•7 months ago
|
Updated•7 months ago
|
Comment 15•7 months ago
|
||
uplift |
Updated•7 months ago
|
Comment 16•7 months ago
|
||
Reproduced the issue with Firefox 125.0a1 (2024-03-10) on Windows 10x64 and 11 by following steps from comment 4. The notification window goes behind other windows (Control Panel, Folder, Mail Windows application).
The issue is verified fixed with Firefox 125.0a1 (2024-03-10) and 124.0b9 on Windows 10x64 and 11 using the same steps. The notification remains on top after trying to hide it with other windows.
However, I can still see this issue happening on macOS 12 and Ubuntu 23.10 Wayland with fixed builds by using steps from comment 4. On macOS 12 this issue is not reproducible with Firefox 123.0a1 (2023-12-18), a build before the regressor (bug 1870512) but the issue reproduces on Ubuntu 23.10 with a build before the regressor (bug 1870512), so on Ubuntu 23.10 this may be happening for a long time. Should I file separate issues for macOS and Ubuntu 23.10 and close this one as verified for Windows only? Thank you in advance!
Comment 17•7 months ago
|
||
Sorry for the spam, I mistakenly modified the statuses.
Comment 19•7 months ago
|
||
Thank you! I opened bug 1884635 for macOS which is a regression from bug 1870512 and bug 1884637 for Ubuntu, but on Ubuntu 23,10, this issue is not a regression from bug 1870512. Closing this for Windows only based on the above comments.
Updated•7 months ago
|
Description
•