Window minimize, maximize, and close buttons are no longer susceptible to the new Proton window-modal darkening
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr78 | --- | unaffected |
| firefox-esr91 | --- | fixed |
| firefox90 | --- | wontfix |
| firefox91 | --- | wontfix |
| firefox92 | --- | verified |
People
(Reporter: kanapa1, Assigned: nical)
References
(Regressed 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
|
316.62 KB,
image/png
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr91+
|
Details | Review |
Steps to reproduce:
- Launch Firefox (at least version 90.0 stable)
- Do basically anything that makes the new Proton window modal appear, e.g. click: Application menu > Help > Troubleshoot mode.
- Look at the top right corner of the Firefox window and see what is described in the "Actual results" section.
Actual results:
The window minimize, maximize, and close buttons are no longer susceptible to the new Proton window-modal darkening (see attached screenshot).
Expected results:
The window control buttons should become darker when the new Proton window modal is displayed, as in version 89.0 stable.
Additional context:
If I understood everything correctly, the story here is as follows:
- When Proton was introduced in Firefox 89.0, the window minimize, maximize, and close buttons were displayed correctly and were susceptible to the new Proton window-modal darkening.
- Changes made to fix bug 1696905 broke the window control buttons on Windows 8.1 and made them appear as a black rectangle.
- To fix this regression (i.e. bug 1709535), some changes was made. They actually fixed it — the black rectangle disappeared — but the initial correct behavior from point 1. above (i.e. to darken also the window controls when the new Proton window modal is displayed) has not been restored, unfortunately.
Unfortunately, due to the black rectangle in Windows 8.1, I were not able to check whether the darkening of the window minimize, maximize, and close buttons has been broken when trying to fix bug 1709535, or maybe earlier — when trying to fix bug 1696905.
Comment 1•4 years ago
|
||
Nicola, does this story sound plausible? NI-ing you because of that fix you made.
Updated•4 years ago
|
| Assignee | ||
Comment 2•4 years ago
|
||
Before this patch the clear tiles were drawn last which meant they would always be drawn on top of all transparent content. It was finde under the assumption that nothing is ever rendered on top of clear tiles, however it turns out to be an issue with the proton window modal darkining which renders some semi-transparent black on top of the whole window (including window controls on windows 8 which use clear tiles). Since the occlusion culling treats clear tiles as opaque they will cut through anything under them regardless of the drawing order, so we can render them before transaprent tiles to get the correct result which is to overwrite what's under the clear tile while still being able to render semi-transparent content on top.
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Set release status flags based on info from the regressing bug 1709535
| Assignee | ||
Comment 4•4 years ago
|
||
Before this patch the clear tiles were drawn last which meant they would always be drawn on top of all transparent content. It was finde under the assumption that nothing is ever rendered on top of clear tiles, however it turns out to be an issue with the proton window modal darkining which renders some semi-transparent black on top of the whole window (including window controls on windows 8 which use clear tiles). Since the occlusion culling treats clear tiles as opaque they will cut through anything under them regardless of the drawing order, so we can render them before transaprent tiles to get the correct result which is to overwrite what's under the clear tile while still being able to render semi-transparent content on top.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 6•4 years ago
|
||
| bugherder | ||
Updated•4 years ago
|
Thank you. I confirm that this bug is no longer present in the latest Nightly.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 8•4 years ago
|
||
Please nominate this for ESR91 approval when you get a chance.
Comment 9•4 years ago
|
||
I managed to reproduce the issue on Firefox 90.0 using Windows 8.1 x32.
I retested everything using Firefox 92.0b2 on the same os. The issue is not reproducing anymore.
| Assignee | ||
Comment 10•4 years ago
|
||
Comment on attachment 9233087 [details]
Bug 1721437 - Render clear tiles before alpha tiles. r=#gfx-reviewers
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: A Rendering issue.
- User impact if declined: Incorrect rendering of window buttons with proton window-modal darkening on windows 10.
- Fix Landed on Version: 92
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Rather simple change, only affects window butons on windows 10 which are broken before the patch. The fix was verified.
- String or UUID changes made by this patch: None.
Comment 11•4 years ago
|
||
Comment on attachment 9233087 [details]
Bug 1721437 - Render clear tiles before alpha tiles. r=#gfx-reviewers
Approved for 91.1esr.
Comment 12•4 years ago
|
||
| bugherder uplift | ||
Description
•