GTK+2 quartz oddities on macOS with App built against SDK 11.0
I've taken out the reproduce steps as I didn't do it with a test app only with our GTK+2 App Exult Studio from https://github.com/exult/exult Exult Studio is a tool to change Ultima 7 games through Exult, a remake of the Ultima 7 game engine.
I've built GTK2 with quartz (and x11) through MacPorts which uses the new macOS SDK 11.0.
I've built Exult Studio with this GTK+2 quartz also against SDK 11.0 and am experiencing problems. While if I built Exult Studio against SDK 10.14 (same system) everything is fine again, also when building against SDK 11.0 AND GTK+2 with X11.
Current behavior
Most apparent of Exult Studio is its objects viewer. Built against the SDK 11.0 our viewer is messed up, showing the wrong shapes (when when you click on it the correct one is chosen, just not shown) or no shapes at all.
Expected outcome
Built against SDK 10.14 or using GTK+2 with X11 backend it looks correct:
Version information
- Through MacPorts I'm using GTK+2 2.24.32
- My OS is macOS 11.0.1 Big Sur
- our Exult Studio code is in https://github.com/exult/exult/tree/master/mapedit, our glade file https://raw.githubusercontent.com/exult/exult/master/mapedit/exult_studio.glade
Additional information
These warnings are shown in terminal:
Gtk-WARNING **: 11:18:38.604: Locale not supported by C library. Using the fallback 'C' locale.
*** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
Another error only in the SDK 11.0 build: We have a setting in which you open a color picker to choose a new background color for our shape browser. When I click on the button that opens the color picker Exult Studio crashes with a segmentation fault (not more information given). Screenshot of the settings window and the color picker when it is working with older SDK)