Group-Icons in wxPropertyGrid not shown under Windows 10 (Issue #22419)

26 views
Skip to first unread message

roenck

unread,
May 11, 2022, 5:31:33 AM5/11/22
to wx-...@googlegroups.com, Subscribed

Describe the bug
The group-icons in the wxPropertyGrid not shown under Windows. Under Linux and Wine-Emulation it is working.

Expected vs observed behaviour
Group-Icons should be shown vs Black rects are drawn now.

Patch or snippet allowing to reproduce the problem

Just create a wxPropertyGrid with at least 2 groups and build for Windows.

Platform and version information

  • wxWidgets version you use: 3.1.6 (and one GIT developer variant at least from 2022-05-10)
  • wxWidgets port you use: wxMSW
  • OS and its version: Windows 10


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

VZ

unread,
May 11, 2022, 10:13:21 AM5/11/22
to wx-...@googlegroups.com, Subscribed

Can the problem be seen in the propgrid sample? If not, could you please make a minimal patch to it allowing to reproduce the problem? TIA!


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

AW

unread,
May 11, 2022, 1:19:26 PM5/11/22
to wx-...@googlegroups.com, Subscribed

And what "group-icons" do you have in mind? Any screenshot would be helpful.


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

Mr.T

unread,
May 11, 2022, 1:29:33 PM5/11/22
to wx-...@googlegroups.com, Subscribed

Tried to strip down everything to a minimum.

MinimalSample.zip

PropGrid_Win10

PropGrid_Wine


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

AW

unread,
May 11, 2022, 5:40:14 PM5/11/22
to wx-...@googlegroups.com, Subscribed

This issue can be reproduced even with propgrid sample when application manifest is not present.
So it seems it's not related to wxPropertyGrid itself but probably to wxBitmapBundle/wxImageList.
pg_test_2

With manifest present everything looks good:
pg_test_3


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

VZ

unread,
May 11, 2022, 5:42:43 PM5/11/22
to wx-...@googlegroups.com, Subscribed

@a-wi Have you tested with the latest master, i.e. is this the case even with 6feeed9 (Handle transparency to the best of our ability in wxImageList, 2022-05-05)?


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

AW

unread,
May 12, 2022, 3:15:12 AM5/12/22
to wx-...@googlegroups.com, Subscribed

Yes. tested with latest master. The issue is seen also with toolbar sample (without manifest):
toolbar_test_no_manifest


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

PB

unread,
May 12, 2022, 3:38:26 AM5/12/22
to wx-...@googlegroups.com, Subscribed

FWIW, without the manifest, the toolbar always had the issue, see e.g. the report with 3.1.1 here.


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

VZ

unread,
May 12, 2022, 10:08:56 AM5/12/22
to wx-...@googlegroups.com, Subscribed

Oh, I didn't realize this was using wxToolBar and not wxImageList at all, sorry.

I don't know if we can do anything about this, the only thing to do when using comctl32 v5 is probably to fill the transparent areas with the toolbar background colour ourselves, but is it really worth doing it?

As for the original bug report: @roenck please use proper manifest (typically by ensuring that wx.rc is included from your .rc file) to solve the problem unless you have some very specific reason not to use it.


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

Mr.T

unread,
May 12, 2022, 5:41:27 PM5/12/22
to wx-...@googlegroups.com, Subscribed

Closed #22419.


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/22419/issue_event/6601553716@github.com>

Mr.T

unread,
May 12, 2022, 5:41:28 PM5/12/22
to wx-...@googlegroups.com, Subscribed

It's okay for me to link against wx.rc to solve the issue.

Marginalia: But that is hard to find, especially if it is working with older version without this resource and if the app developer just looks into the example-cpp-source to understand how a widget must used.


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

VZ

unread,
May 12, 2022, 5:46:37 PM5/12/22
to wx-...@googlegroups.com, Subscribed

FWIW this requirement is documented here but it's admittedly not very prominent...


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

Reply all
Reply to author
Forward
0 new messages