You are not logged in.
Anyone know i restore those buttons?
Offline
Did you https://wiki.archlinux.org/title/GTK#Hide_CSD_buttons ?
Did you disable SSD in the kwin settings?
Offline
Same issue here. It started since updating to GTK 4.20.x.
Not only are the minimize and maximize buttons missing in GTK4 apps, but setting a font in ~/.config/gtk-4.0/settings.ini with gtk-font-name is now also ignored.
Fonts before (right) and after (left) 4.20: Screenshot of mission-center showing font issue.
And in Pinta some icons in the titlebar are also broken: Screenshot of Pinta showing issues with titlebar.
Did you https://wiki.archlinux.org/title/GTK#Hide_CSD_buttons ?
Did you disable SSD in the kwin settings?
I did neither. I think it might be ignoring
gtk-decoration-layout=icon:minimize,maximize,close
in settings.ini since GTK4-4.20 for some reason.
It's still reading the settings.ini file, because when starting a GTK4 app, journal shows:
Unknown key gtk-modules in /home/bb10/.config/gtk-4.0/settings.ini
when
gtk-modules=window-decorations-gtk-module:colorreload-gtk-module
is not commented out in settings.ini. I don't think it has to do with this issue.
And further:
/usr/lib/xdg-desktop-portal A backend call failed: No such method 'CreateMonitor' in interface 'org.freedesktop.impl.portal.Inhibit' at object path '/org/freedesktop/portal/desktop' (signature 'ooss')
/usr/lib/xdg-desktop-portal Failed to close session implementation: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: No such object path '/org/freedesktop/portal/desktop/session/1_2624/gtk2017936843'
xdg-desktop-portal-kde xdp-kde-settings: Namespace "org.gnome.desktop.a11y.interface" is not supported
Full settings.ini:
[Settings]
#gtk-application-prefer-dark-theme=true
gtk-cursor-blink=true
gtk-cursor-blink-time=1000
gtk-cursor-theme-name=breeze_cursors
gtk-cursor-theme-size=24
gtk-decoration-layout=icon:minimize,maximize,close
gtk-double-click-time=200
gtk-enable-animations=true
gtk-enable-primary-paste=false
gtk-font-name=Noto Sans CJK JP Medium, Medium 10
gtk-icon-theme-name=breeze-dark
#gtk-modules=window-decorations-gtk-module:colorreload-gtk-module
gtk-primary-button-warps-slider=true
gtk-sound-theme-name=ocean
gtk-xft-dpi=196608
Offline
GTK4 grabs these from the xdg-desktop-portal implementation and xdg-desktop-portal-gtk was added as an opt depends for this reason, is that installed?
Offline
GTK4 grabs these from the xdg-desktop-portal implementation and xdg-desktop-portal-gtk was added as an opt depends for this reason, is that installed?
Yes, I've been keeping an eye on the gitlab issues on both gtk4 and kde-gtk-config. Unfortunately it didn't fix these issues.
Offline