dune3d / dune3d

3D CAD application
https://dune3d.org
GNU General Public License v3.0
825 stars 24 forks source link

Almost all UI text is missing on Windows 11 in v1.1.0 #97

Closed RagingRoosevelt closed 1 week ago

RagingRoosevelt commented 3 weeks ago

OS: Windows 11 build 22631 Dune3d Release: 1.1.0 Beryllium

Steps to reproduce:

I tried toggling dark theme in preferences to see if that would trigger a redraw (it did, with no resolution to the text issue).

Text shows up in the following places:

image

image

image

Additional notes:

I noticed that, after changing a setting, the contents of user_config.json in %LOCALAPPDATA%\dune3d was simply null, which seemed odd. I wouldn't rule out that I screwed something up, but I can't think of anything I did (literally installed and launched).

I tried removing and reinstalling using the "typical" option without any change.

carrotIndustries commented 3 weeks ago

I noticed that, after changing a setting, the contents of user_config.json

That's only used fro the recent files. The preferences are saved to prefs.json.

You could try setting the environment variable GTK_DEBUG=interactive and change font to something else in Global→Settings.

Apart from that, the window's header bar also looks a bit off, so there's something else amiss too.

joeatbayes commented 3 weeks ago

I experienced same issue from downloaded MSI clean install first time on this windows computer.

I did choose the custom install option to install at c:\dune3d no other options changed.

carrotIndustries commented 3 weeks ago

Doesn't seem to be a general problem. Works on a friend's Windows 11 machine.

Is it also broken when building from source: https://docs.dune3d.org/en/latest/build-win32.html

RagingRoosevelt commented 3 weeks ago

You could try setting the environment variable GTK_DEBUG=interactive and change font to something else in Global→Settings.

Is it also broken when building from source: https://docs.dune3d.org/en/latest/build-win32.html

I'll try to test both when I get home this evening.

carrotIndustries commented 3 weeks ago

I'll try to test both when I get home this evening.

When you've got MSYS2 installed, you can run gtk4-demo to see if it's also broken.

RagingRoosevelt commented 1 week ago

OK, I was able to change the debug env var and change the font. Looks like it worked to change the font but that didn't clear up the issue. image

carrotIndustries commented 1 week ago

The fonts are also broken in the inspector, so this is a Gtk bug.

RagingRoosevelt commented 1 week ago

👍SG. I'll see if there's anything open there already.