Shaped windows don't appear correctly in dark mode under Mac (Issue #23286)

18 views
Skip to first unread message

VZ

unread,
Feb 21, 2023, 2:31:44 PM2/21/23
to wx-...@googlegroups.com, Subscribed

While debugging another problem in the dialogs sample, I've noticed that the shaped rich tooltip window doesn't look right in dark mode (it's fine, i.e. really shaped, in light one), as it has grey background in the "transparent" parts, see this screenshot:

mac_dark_shaped

I have no idea why using [NSColor clearColor] as background colour in wxNonOwnedWindowCocoaImpl::SetShap() doesn't work in dark mode, unfortunately, so I don't know how to fix this.


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/23286@github.com>

Stefan Csomor

unread,
Feb 25, 2023, 6:28:15 AM2/25/23
to wx-...@googlegroups.com, Subscribed

ok, we are overriding the background color of the toplevel window with a solid color, that's why our previous clearColor gets changed ... I'll try to find a way to change the colour on the background view but not on the NSWindow ...


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/23286/1445060337@github.com>

VZ

unread,
Feb 25, 2023, 5:03:59 PM2/25/23
to wx-...@googlegroups.com, Subscribed

Closed #23286 as completed via e49b791.


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/23286/issue_event/8608587340@github.com>

Reply all
Reply to author
Forward
0 new messages