wxGenericNotificationMessage on Windows broken by the use of `WS_EX_COMPOSITED` (Issue #23078)

29 views
Skip to first unread message

PB

unread,
Dec 25, 2022, 11:32:18 AM12/25/22
to wx-...@googlegroups.com, Subscribed

When using wxGenericMessage on Windows 10, the message window is briefly (under 1 sec) displayed correctly, but then all its parts (icon, title, message, and close button) are displayed just as black rectangles.
wx-generic-user-notification
Just before the message disappears, it is again very briefly displayed properly. Setting system environment variable wx_msw_window_no_composited to 1 makes the issue disappear, so it appears to be caused by WS_EX_COMPOSITED.

To Reproduce:

  1. Run dialogs sample.
  2. Click on menu Dialogs/User notifications/User Notification.
  3. In the User Notification Test Dialog check "Use generic notifications".
  4. Press Show button.
  5. See error.

Platform and version information

  • wxWidgets version: GIT master
  • wxWidgets port you use: wxMSW
  • OS and its version: Windows 10 21H2, OS build 19045.2364, Windows Feature Experience Pack 120.2212.4190.0
  • Other: light mode, DPI scaling 125% on the primary (2560x1440) and 100% on the secondary (1680x1050) display.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/23078@github.com>

VZ

unread,
Dec 25, 2022, 11:37:32 AM12/25/22
to wx-...@googlegroups.com, Subscribed

Thanks, I can indeed see it too.

We probably need to turn off WS_EX_COMPOSITED for the popup windows, I'll try doing this soon.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/23078/1364707287@github.com>

PB

unread,
Jan 22, 2023, 4:33:35 PM1/22/23
to wx-...@googlegroups.com, Subscribed

Closed #23078 as completed.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issue/23078/issue_event/8329615416@github.com>

PB

unread,
Jan 22, 2023, 4:33:37 PM1/22/23
to wx-...@googlegroups.com, Subscribed

Closing as as completed in b4dd25e, the issue was for some reason not closed automatically.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/23078/1399614483@github.com>

Reply all
Reply to author
Forward
0 new messages