| Summary: | UI for configuring button visibility/order for GTK CSD windows | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Quinten Kock <quinten> |
| Component: | kcm_kwindecoration | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | wishlist | CC: | be.0, nate, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.9 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Quinten Kock
2023-12-08 15:40:06 UTC
Yeah, doing it automatically is out of the question since the capabilities of GTK CSDs and non-GTK SSDs differ; they don't have the same buttons, you can move all buttons to the other side of the window, etc. We would have to make this GTK CSD configurator an explicitly separate thing to avoid making promises we can't keep/ There already is a settings page for configuring the position of window control buttons, it's just not adjacent to the rest of the titlebar settings so it's easy to miss: https://bugs.kde.org/show_bug.cgi?id=503513 I didn't know it was there until I found that bug report. The Titlebar Buttons page does manipulate the org.gnome.desktop.wm.preferences.button-layout dconf setting, so it does affect libadwaita applications, as well as Firefox. I doubt KDE's settings should be writing GNOME's settings though. There is an open pull request for the XDG Desktop Portal (https://github.com/flatpak/xdg-desktop-portal/pull/1821) to expose this setting in a standardized cross-desktop way. I think KDE should store its own settings configured in System Settings and xdg-desktop-portal-kde should expose those via the proposed API (https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/issues/14) instead of writing to GNOME's dconf setting. I noticed that Titlebar Buttons changes the dconf value in a way that messes with GNOME Tweaks. The default dconf setting uses ":appmenu" at the end of the string to indicate buttons on the left and "appmenu:" at the beginning of the string to indicate buttons on the right. But KDE's settings write ":icon" or "icon:" to the dconf value. |