New macOS art provider not providing art that scales (Issue #26317)

27 views
Skip to first unread message

Daniel Kulp

unread,
Mar 26, 2026, 9:30:19 AMMar 26
to wx-...@googlegroups.com, Subscribed
dkulp created an issue (wxWidgets/wxWidgets#26317)

Description

The new art provider that is using the SF symbols for the various art things on macOS is not producing BitmapBundles that will actually scale the art depending on requested size. This is easily shown in the artprov sample.

Screenshot.2026-03-26.at.9.26.20.AM.png (view on web)

Bug description:

As above... SOME of the art (stuff that doesn't come from the symbols) does scale, but looks bad:

Screenshot.2026-03-26.at.9.27.39.AM.png (view on web)

Expected vs observed behaviour:

Since the Art provider provides a wxBitmapBundle that SHOULD be able to produce bitmaps of any requested size, I'd expect the art to scale appropriately. Since the symbols are vector, I'd expect the scaled symbols to look great, particularly on retina displays.

Patch or snippet allowing to reproduce the problem:

Just use the artprov sample.

To Reproduce:

Open artprov sample, open the resource browser from the menu, select various arts.

Platform and version information

  • wxWidgets version you use: latest master
  • wxWidgets port you use: wxOSX
  • OS and its version: 26.4


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

Stefan Csomor

unread,
Mar 26, 2026, 1:09:02 PMMar 26
to wx-...@googlegroups.com, Subscribed
csomor left a comment (wxWidgets/wxWidgets#26317)

oh dear, thanks Daniel, apparently NSImages from SFSymbols do not scale as they are expected to - at least I did ... when I use older images withNSImage imageNamed then things work properly ... I'll try to come up with something, the GO_TO_PARENT btw is not from the native art provider but from the default art provider that uses the up.xpm file, so this is different


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

Daniel Kulp

unread,
8:51 AM (15 hours ago) 8:51 AM
to wx-...@googlegroups.com, Subscribed
dkulp left a comment (wxWidgets/wxWidgets#26317)

Here's a quick patch that claude came up with that seems to fix it. Haven't really dug into it, but it does seem to work.

patch.txt


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

Stefan Csomor

unread,
9:11 AM (15 hours ago) 9:11 AM
to wx-...@googlegroups.com, Subscribed
csomor left a comment (wxWidgets/wxWidgets#26317)

Thanks @dkulp for investing your Tokens, I'll see whether we need to go the special SF-route


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

Reply all
Reply to author
Forward
0 new messages