The current wxSmith code does not use scaled bitmaps for the cache. Thus, everything looks blurry on the Retina displays. This patch updates to use the scaling factor to allow the Retina bitmaps.
I don't have retina display, so I can only play with scale. I see no difference in bitmaps, but the wxSmith editor in the patched version shows black background and horizontal zebra stripes when scrolling the window. MSW 10 H2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No updated patch will be supplied as the request has been open for 3 months.
Also Miguel's changes for HIDPI may have resolved this.
As such this ticket may be suitable to be closed and if testing later shows the issue is not fixed then the ticket can be reopened or another ticket could be created.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't think this would build on anything other than macOS or GTK3. Can you do the same thing as is done in cbLoadBitmapScaled?
Also can you explain what you're actually doing (sort of write a commit message I can use for the patch)?
@Miguel Gimenez can you test if this patch works on windows?
I don't have retina display, so I can only play with scale. I see no difference in bitmaps, but the wxSmith editor in the patched version shows black background and horizontal zebra stripes when scrolling the window. MSW 10 H2
Scale on windows is the same as having a HiDPI monitor as far as I know.
Patch includes other mac changes than just the scaling, so a new patch will be needed. The non scaling changes are included in ticket 944 patch.
No updated patch will be supplied as the request has been open for 3 months.
Also Miguel's changes for HIDPI may have resolved this.
As such this ticket may be suitable to be closed and if testing later shows the issue is not fixed then the ticket can be reopened or another ticket could be created.
wxSmith code is not HiDPI-friendly, it only has two bitmap sizes (16 and 32) and size selection is manual, via settings.
The patch was for wxWidgets < 3.1.6, many things have changed in HiDPI support starting with 3.1.6.
I will check the issue.
Patch creates artifacts and does not apply to current wxWidgets versions. I will adapt wxSmith to HiDPI when I get enough free time.