Closed Bug 1891063 Opened 24 days ago Closed 4 days ago

Various preliminary clean-ups before bug 1850979

Categories

(Core :: Widget: Win32, task)

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 + fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug, Regressed 3 open bugs)

Details

Attachments

(7 files)

No description provided.

No behavior change intended. I plan to use this to hide the titlebar
buttons when drawing to the titlebar (we currently draw on top of them).

But seems worth factoring out regardless.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

Right now, we don't use top level transparent windows (they're
completely unused).

This removes some code that causes trouble when reintroducing them.

Depends on D207297

All the comments on this function are for platforms we don't support.

Right now we don't have any of these top-level transparent windows, but
we want to use DWM and Webrender for these just like for regular windows.

Depends on D207298

Just some clean-ups that I accumulated while going over this code.

Depends on D207299

Again, dead code for now because the windows are always opaque,
but will be useful later on since this allows restricting the
region that needs to have transparency.

Depends on D207300

This shouldn't matter in practice for popups, but we need to do it for
top levels, where otherwise DWM won't re-paint the backdrop material.

Depends on D207301

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bdb5dbc1e980
Factor out some window style flags code. r=win-reviewers,rkraesig
https://hg.mozilla.org/integration/autoland/rev/24dc60b32e21
Remove unused code for transparency. r=win-reviewers,rkraesig
Attachment #9396296 - Attachment description: Bug 1891063 - Various non-functional clean-ups in windows widget code. r=#win-reviewers,#gfx-reviewers → Bug 1891063 - Various clean-ups in windows widget code (no functional changes). r=#win-reviewers,#gfx-reviewers
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1f44d19bb3a9
Allow transparent top level windows to be accelerated. r=win-reviewers,gfx-reviewers,rkraesig,nical
Regressions: 1891583
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/05f93e8ade3c
Various clean-ups in windows widget code (no functional changes). r=win-reviewers,gfx-reviewers,bradwerth,rkraesig
Status: ASSIGNED → RESOLVED
Closed: 19 days ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
Backout by acseh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3439db7ee7a0
Backed out changeset 1f44d19bb3a9 for causing bc failures on browser_test_autoscrolling_in_extension_popup_window.js CLOSED TREE
Status: RESOLVED → REOPENED
Flags: needinfo?(emilio)
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 19 days ago19 days ago
Resolution: --- → FIXED

Yikes, I forgot to add the leave-open keyword again...

Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1d666fbf5ef4
Allow transparent top level windows to be accelerated. r=win-reviewers,gfx-reviewers,rkraesig,nical
Attachment #9396298 - Attachment description: Bug 1891063 - Clear transparent windows on resize. r=#win-reviewers → Bug 1891063 - Improve invalidation of top-level transparent windows. r=#win-reviewers

If we are using custom non-client area (mCustomNonClient) suppress more
directly the default windows actions in WM_NCPAINT / WM_NCACTIVATE.

This prevents titlebars showing up when using custom non-client areas
in semi-transparent windows.

Depends on D207302

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/294255d72503
Re-introduce some of the opaque region handling removed in bug 1844241. r=win-reviewers,rkraesig
Flags: needinfo?(emilio)

Ray, can you attach a screenshot of what you're seeing in https://phabricator.services.mozilla.com/D208255#7152576? Thanks.

Also, just confirming that you tested that on top of https://phabricator.services.mozilla.com/D207302 (which is what clears the NC Area)

Flags: needinfo?(rkraesig)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #20)

Ray, can you attach a screenshot of what you're seeing in https://phabricator.services.mozilla.com/D208255#7152576? Thanks.

Also, just confirming that you tested that on top of https://phabricator.services.mozilla.com/D207302 (which is what clears the NC Area)

I can confirm the latter now; I piggybacked on the Phabricator-launched try job to create the build. I'll post a screenshot shortly.

Flags: needinfo?(rkraesig)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/717a883474be
Improve invalidation of top-level transparent windows. r=win-reviewers,rkraesig,handyman
Regressions: 1893918
Regressions: 1894135
Regressions: 1894017
Regressions: 1894298

I'll land other patches in other bugs to ease tracking.

Status: REOPENED → RESOLVED
Closed: 19 days ago4 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: