#1082113 Unknown key gtk-modules in ~/.config/gtk-4.0/settings.in

Package:
kde-config-gtk-style
Source:
kde-config-gtk-style
Description:
KDE configuration module for GTK+ 2.x and GTK+ 3.x styles selection
Submitter:
Michael Biebl
Date:
2024-09-20 10:57:02 UTC
Severity:
normal
#1082113#5
Date:
2024-09-18 13:55:59 UTC
From:
To:
Trying to start a GTK4 application (like baobab) under KDE/Plasma, I get

$ baobab

(baobab:61840): Gtk-WARNING **: 15:51:32.115: Unknown key gtk-modules in /home/michael/.config/gtk-4.0/settings.ini
Segmentation fault (core dumped)


$ cat /home/michael/.config/gtk-4.0/settings.ini
[Settings]
gtk-application-prefer-dark-theme=false
gtk-cursor-theme-name=breeze_cursors
gtk-cursor-theme-size=24
gtk-decoration-layout=icon:minimize,maximize,close
gtk-enable-animations=true
gtk-font-name=Noto Sans,  10
gtk-icon-theme-name=breeze
gtk-modules=colorreload-gtk-module
gtk-primary-button-warps-slider=false
gtk-xft-dpi=147456


$ dpkg -L kde-config-gtk-style | grep colorreload
/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcolorreload-gtk-module.so

It appears this module is only available for GTK3, but added for GTK4,
causing any GTK4 app to segfault (thus the RC severity).


~/.config/gtk-4.0/settings.ini appears to be autogenerated by KDE/Plasma.
I did not manually change this file.

Regards,
Michael

#1082113#10
Date:
2024-09-20 10:53:20 UTC
From:
To:
Am 18.09.24 um 15:55 schrieb Michael Biebl:

while I do get "Unknown key gtk-modules in
/home/michael/.config/gtk-4.0/settings.ini" for any GTK4 application,
it's not the reason for the crash. This appears to be [1].
I'm thus downgrading the severity to normal.


Michael

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081957