-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Double window controls in some CSD applications #32
Comments
Also gnome-calculator 40.0 |
My guess would be that those are the apps using libhandy's |
Just fixed similar bug in my fork of gtk3-nocsd: https://github.com/ZaWertun/gtk3-nocsd/tree/test/libhandy. |
Addresses #32. Co-authored-by: simifor <70454800+simifor@users.noreply.github.com> Co-authored-by: Yaroslav Sidlovsky <zawertun@gmail.com>
Thank you @simifor, your Thank you to @ZaWertun as well. I'm a bit lost on which commits to incorporate by looking at |
Great! Thanks for merging. |
I noticed CSD applications under patched Ubuntu 21.10 doesn't look great, depending on the theme: For Ubuntu 21.10 users, I will revert those patches in the packaging since they ship newer (40.x) GNOME apps. Just until the "new" CSD is fixed, pull requests much appreciated! Edit: In 22.04, this returns to using the default patchset, so double controls are expected. |
I also noticed this with the program Pamac on Arch Linux. |
I have this with EasyEffects on Manjaro too. |
It seems to not be all, as I noticed that Lutris and FSearch (when CSD is enabled) doesn't have that issue while Komikku and Pamac has them. Potentially because of some hardcoded settings in their CSD setup? For now the only thing that can be done is to just use Edit: For now the other thing that can be done is by manually changing |
TL;DR: Application upstream design issue (not GTK) I can't speak to all the examples given, but just analyzing the OP application (gnome-disk-utility):
I imagine (as most of the other examples are GNOME apps) that they did a similar switch to libhandy. In this case there's little we can do with a patched GTK to solve this issue (as libhandy is building the title bar and has no such checks to skip doing so on SSD or classic-style distributions). |
Opened an upstream issue: Please consider upvoting that upstream issue if you agree that this should be fixed in libhandy. |
I think the next course of action is to have a separately patched Personally I'm not up for maintaining that, but I'll happily link if anyone comes up with an AUR package for the offending library. |
Upstream says:
At least we have asked. |
Can look into this. Maybe it's as simple as setting |
Bug Description
gnome-disk-utility 40.0
shows double window controls: the actual window controls and a duplicate within the application. There is also a black border on the right/bottom.The latest
gtk3-classic
against the older3.38.2
does not inhibit the problem, so the GNOME developers made a change in their code.Thankfully, it is still a GTK3 application and not GTK4, despite the versioning.
Expected Behaviour
The window controls inside the application should be hidden.
Workaround
Downgrade and pin the older version.
Screenshots
40.0
3.38.2
Environment
The text was updated successfully, but these errors were encountered: