Issue
KDE flatpak apps are unable to use the system desktop theme. Attempting to follow the Flatpak documentation's instructions for getting KDE apps to use system themes causes all KDE flatpak apps to break completely.
Steps to reproduce
1)In the settings, change system theme to "Mint-Y-Dark"
2)Install a KDE flatpak app (in this example, KolourPaint)
flatpak install flathub org.kde.kolourpaint
3)Install the necessary flatpak theme runtimes
flatpak install flathub org.gtk.Gtk3theme.Mint-Y-Dark org.kde.PlatformTheme.QGnomePlatform//5.15-21.08
4)Attempt to run the app
flatpak run org.kde.kolourpaint
Expected behaviour
Flatpak apps launch and use system dark theme.
Actual behaviour
Flatpak apps using the KDE runtime fail to launch:
flatpak run org.kde.kolourpaint
Gtk-Message: 19:16:21.557: Failed to load module "xapp-gtk3-module
(kolourpaint:2): GLib-GIO-ERROR **: 19:16:21.581: Settings schema 'org.cinnamon.desktop.interface' is not installed
Other apps using the KDE runtime fail with the same error. For example:
flatpak run com.obsproject.Studio
Gtk-Message: 19:17:34.582: Failed to load module "xapp-gtk3-module"
(obs:2): GLib-GIO-ERROR **: 19:17:34.605: Settings schema 'org.cinnamon.desktop.interface' is not installed
Flatpak apps that don't use the KDE runtime launch normally (and are able to use the system dark theme).
Other information
I installed a virtual machine of Mint 20.3 MATE and ran the "steps to reproduce," and this issue did not reproduce: the Kolourpaint flatpak was able to launch (although it did not use the system dark theme). For comparison, I also installed a virtual machine of Mint 20.3 Cinnamon and reproduced this issue using the same steps. This information leads me to suspect the issue is specific to Cinnamon.
Searching the internet for information on 'org.cinnamon.desktop.interface' lead me to issue #8239, which the user solved by uninstalling all flatpak apps and flatpak itself and then reinstalling them. I tried uninstalling and reinstalling everything flatpak-related, and it made no difference. And, as mentioned above, I also reproduced this issue on a fresh virtual machine.
I also tried switching the desktop theme to Adwaita-dark and installing org.kde.KStyle.Adwaita//5.15-21.08, and it did not make a difference.
Update 2022 July 14:
I installed the Mint 21 beta in a virtual machine on my laptop, and this issue is still present. Here's the system snapshot of my VM:
beth@beth-VirtualBox:~$ flatpak list
Name Application ID Version Branch Installation
Mesa org.freedesktop.Platform.GL.default 21.3.8 21.08 system
openh264 org.freedesktop.Platform.openh264 2.1.0 2.0 system
Adwaita dark GTK theme org.gtk.Gtk3theme.Adwaita-dark 3.22 system
Mint-Y Gtk Theme org.gtk.Gtk3theme.Mint-Y 3.22 system
Mint-Y-Dark Gtk Theme org.gtk.Gtk3theme.Mint-Y-Dark 3.22 system
Adwaita theme org.kde.KStyle.Adwaita 5.15-21.08 system
KDE Application Platform org.kde.Platform 5.15-21.08 system
QGnomePlatform org.kde.PlatformTheme.QGnomePlatform 5.15-21.08 system
KolourPaint org.kde.kolourpaint 22.04.3 stable system
beth@beth-VirtualBox:~$ flatpak run org.kde.kolourpaint
Gtk-Message: 12:55:22.450: Failed to load module "xapp-gtk3-module"
(kolourpaint:2): GLib-GIO-ERROR **: 12:55:22.521: Settings schema 'org.cinnamon.desktop.interface' is not installed
beth@beth-VirtualBox:~$
Issue KDE flatpak apps are unable to use the system desktop theme. Attempting to follow the Flatpak documentation's instructions for getting KDE apps to use system themes causes all KDE flatpak apps to break completely.
Steps to reproduce
1)In the settings, change system theme to "Mint-Y-Dark" 2)Install a KDE flatpak app (in this example, KolourPaint)
flatpak install flathub org.kde.kolourpaint
3)Install the necessary flatpak theme runtimesflatpak install flathub org.gtk.Gtk3theme.Mint-Y-Dark org.kde.PlatformTheme.QGnomePlatform//5.15-21.08
4)Attempt to run the appflatpak run org.kde.kolourpaint
Expected behaviour Flatpak apps launch and use system dark theme.
Actual behaviour
Other apps using the KDE runtime fail with the same error. For example:
Flatpak apps that don't use the KDE runtime launch normally (and are able to use the system dark theme).
Other information
I installed a virtual machine of Mint 20.3 MATE and ran the "steps to reproduce," and this issue did not reproduce: the Kolourpaint flatpak was able to launch (although it did not use the system dark theme). For comparison, I also installed a virtual machine of Mint 20.3 Cinnamon and reproduced this issue using the same steps. This information leads me to suspect the issue is specific to Cinnamon.
Searching the internet for information on 'org.cinnamon.desktop.interface' lead me to issue #8239, which the user solved by uninstalling all flatpak apps and flatpak itself and then reinstalling them. I tried uninstalling and reinstalling everything flatpak-related, and it made no difference. And, as mentioned above, I also reproduced this issue on a fresh virtual machine.
I also tried switching the desktop theme to Adwaita-dark and installing org.kde.KStyle.Adwaita//5.15-21.08, and it did not make a difference.
Update 2022 July 14: I installed the Mint 21 beta in a virtual machine on my laptop, and this issue is still present. Here's the system snapshot of my VM:
And here's what I get from flatpak commands: