MSW: Fix dark mode task dialog for elements that are not visible (PR #26953)

21 views
Skip to first unread message

Steve Cornett

unread,
Aug 30, 2026, 12:42:33 PM (2 days ago) Aug 30
to wx-...@googlegroups.com, Subscribed

In dark mode, do not draw text elements for which get_CurrentIsOffscreen() returns false.

Fixes #26940.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26953

Commit Summary

  • feccd76 Fix dark mode task dialog for elements that are not visible

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26953@github.com>

PB

unread,
Aug 30, 2026, 2:00:12 PM (2 days ago) Aug 30
to wx-...@googlegroups.com, Subscribed
PBfordev left a comment (wxWidgets/wxWidgets#26953)

Thanks, this deals with the broken layout but not (fully) with issue arising from moving the dialog to a screen with unscaled DPI:
Image: image (view on web)


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26953/c5470341465@github.com>

Steve Cornett

unread,
Aug 30, 2026, 3:33:21 PM (2 days ago) Aug 30
to wx-...@googlegroups.com, Subscribed
stevecor left a comment (wxWidgets/wxWidgets#26953)

It looks to me like getting the dark mode task dialog code to properly handle a DPI change event is not trivial. It was not written with this in mind. I'm not willing to tackle that. Note that it also does not properly handle switching between light and dark modes or high contrast mode.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26953/c5470803419@github.com>

VZ

unread,
Aug 30, 2026, 7:09:50 PM (2 days ago) Aug 30
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26953)

Thanks, will merge soon.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26953/c5471838141@github.com>

VZ

unread,
Aug 30, 2026, 7:23:05 PM (2 days ago) Aug 30
to wx-...@googlegroups.com, Subscribed

Closed #26953 via 495bec0.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26953/issue_event/30249432747@github.com>

Reply all
Reply to author
Forward
0 new messages