Bad UI with GTK4 and Flatpak

I am having problems with using GTK4 Flatpak apps. The text appears to be (mostly) the same color as the background and icons are missing. Sometimes the desktop shows through (as iff the background didn’t render).
If I highlight text, I can see it. This is the Flatpack “gtk4-demo”


This is “gtk4-demo” when run from the regular (RPM) install…

Does anyone know what’s going on?
I’m using an older Nvidia card (with the Nvidia driver), so it might be driver related.
Michael

If you installed the newest 6.7 kernel it might be as you said.

Yes …

😼 uname -r
6.7.4-200.fc39.x86_64

Before we do further random guesses, could you give us more info about your system ?

Is it a older Fedora you updated ? Or a brand new installation?

GTK3 has been replaced lately with GTK4. In some older constellations of setups there is just a missing GTK4 Folder and the CSS. You might have to check on your HD and do more searches in ask section. I can remember that this way we could help someone. Just do not find the Topic.

For flatpak there could be just a missing alias/variable who points to GTK3 instaed of GTK4 ?!

p.s.
I do see that you must have German roots. I do write flatpak always wrong too (with “ck”). So if you added a flatpak variable please check the spelling.

Yes, it’s Fedora updated over many years. (yes Flatpak :smiley_cat:)
I’d say it was definitely Nvidia driver related EXCEPT it works OK on the stock RPM. The problem is only on the Flatpak. Possibly there should be some Nvidia driver library in Flatpak that is wrong.

😼 flatpak list |grep -i nvidia
nvidia-470-223-02	org.freedesktop.Platform.GL.nvidia-470-223-02		1.4	flathub	system
nvidia-470-223-02	org.freedesktop.Platform.GL.nvidia-470-223-02		1.4	flathub	user
😼 flatpak --gl-drivers
nvidia-470-223-02
default
host
😼 rpm -qa |grep nvidia
xorg-x11-drv-nvidia-470xx-kmodsrc-470.223.02-1.fc39.x86_64
xorg-x11-drv-nvidia-470xx-libs-470.223.02-1.fc39.i686
xorg-x11-drv-nvidia-470xx-libs-470.223.02-1.fc39.x86_64
nvidia-settings-470xx-470.223.02-1.fc39.x86_64
xorg-x11-drv-nvidia-470xx-470.223.02-1.fc39.x86_64
nvidia-gpu-firmware-20240115-2.fc39.noarch
kmod-nvidia-470xx-6.6.13-200.fc39.x86_64-470.223.02-1.fc39.x86_64
akmod-nvidia-470xx-470.223.02-2.fc39.x86_64
kmod-nvidia-470xx-6.7.3-200.fc39.x86_64-470.223.02-2.fc39.x86_64
kmod-nvidia-470xx-6.6.14-200.fc39.x86_64-470.
kmod-nvidia-470xx-6.7.4-200.fc39.x86_64-470.223.02-2.fc39.x86_64