Summary: | Window decoration buttons in GTK CSD apps are sometimes mis-rendered | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Jacek Jarosz <xx.j3ll4.xx> |
Component: | kcm_style | Assignee: | Mikhail Zolotukhin <mail> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugseforuns, d0xi, kde, mail, nate, plasma-bugs |
Priority: | VHI | Keywords: | regression |
Version: | 5.20.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
URL: | https://gitlab.gnome.org/GNOME/gtk/-/issues/3283 | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=428842 | ||
Latest Commit: | https://invent.kde.org/plasma/kde-gtk-config/-/commit/fb0bb26b2f879fc5e2bc6feafe0fa4fe7b278bea | Version Fixed In: | 5.20.5 |
Sentry Crash Report: | |||
Attachments: | the weird button behavior ( firefox example ) |
Possibly a gtk bug https://gitlab.gnome.org/GNOME/gtk/-/issues/3283 I cannot reproduce this bug. *** Bug 428236 has been marked as a duplicate of this bug. *** Definitely seem like https://gitlab.gnome.org/GNOME/gtk/-/issues/3283. Let's see where that goes. gtk bug was closed, apparently it's an issue with KDE software: "Just passed by to mention that is only related to how KDE Plasma deals with the themes, once is used it created inside ~/.config/gtk-3.0/ the following: assets/ - folder for the buttons to integrate with the Breeze theme colors.css - to match the colors of the color-scheme used in KDE Plasma window_decorations.css - to decorate the windows according to Breeze This 3 need to be removed and keep just: gtk.css settings.ini" https://gitlab.gnome.org/GNOME/gtk/-/issues/3283#note_947113 Deleting the CSS files certainly won't help. They are used to update the appearance of GTK apps. The quote is from Manjaro Forum, where one switched to GNOME and faced the consequences. Again, I cannot reproduce this bug - for me decorations are updated with no issues. On my Arch Linux Breeze gtk theme works as expected, Adwaita is buggy. If this happens with only one they have, then may be it's somehow related to its internals? I recall Adwaita using Breeze decorations even before the patch with custom CSS landed in Plasma. I can *sometimes* confirm the issue. But not always. I was seeing it a few days ago, but now it's gone. Seems like it could be some kind of caching issue. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kde-gtk-config/-/merge_requests/17 The problem was fixed for me by removing gtk3.0 config files. |
Created attachment 132652 [details] the weird button behavior ( firefox example ) SUMMARY Non-kwin window buttons are not switching correctly / are displayed weirdly in gtk apps STEPS TO REPRODUCE 1. Switch to a new gtk theme (I've used Dracula gtk in this example) 2. Restart ( after restarting buttons become very large ) 3. Switch back to Adwaita OBSERVED RESULT after restarting buttons become very large big buttons will stay, but misplaced, and original icons will be overlayed on top of them. EXPECTED RESULT theme switching correctly SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 5.20.1 (available in About System) KDE Plasma Version: 5.20.1 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.1 ADDITIONAL INFORMATION