Closed Bug 1901875 Opened 1 year ago Closed 11 months ago

Update window-class background brush when theme-type updates

Categories

(Core :: Widget: Win32, defect, P3)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: rkraesig, Unassigned)

References

Details

As of bug 1824053, when our window classes are registered, their background brush is set to the default background color of the current theme. This is never updated so long as the application remains open, even if the theme style changes from light to dark (or vice versa).

We should probably do that.

The severity field is not set for this bug.
:rkraesig, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(rkraesig)
Severity: -- → S4
Flags: needinfo?(rkraesig)
Priority: -- → P3

What we actually do, as of the final version of bug 1824053, is to set the background brush unconditionally to dark grey. As the current comment text notes,

  // In theory we could listen for theme changes and set this brush to an
  // appropriate background color as needed; but given the hoops Win32 makes us
  // jump through to change class data, it's probably not worth the trouble.

Closing as RESOLVED WONTFIX.

Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.