Bug 426074 - Window Decoration buttons of GTK3 CSD windows do not respect Breeze window decoration button size setting
Summary: Window Decoration buttons of GTK3 CSD windows do not respect Breeze window de...
Status: CONFIRMED
Alias: None
Product: Breeze
Classification: Plasma
Component: gtk theme (show other bugs)
Version: 5.27.5
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Janet Blackquill
URL:
Keywords:
: 426670 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-09-01 17:13 UTC by Patrick Silva
Modified: 2023-05-12 20:01 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-09-01 17:13:01 UTC
STEPS TO REPRODUCE
1. open system settings > application style > window decorations
2. hover over Breeze window decoration and click on the button in the lower right corner
3. change button size setting and click on "Ok" button
4. open a gtk3 CSD app like nautilus or gnome disks

OBSERVED RESULT
buttons in the CSD do not respect the size applied in the step 3

EXPECTED RESULT
button size setting sould be applied to gtk3 CSD apps

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Comment 1 Mikhail Zolotukhin 2020-09-19 16:53:37 UTC
*** Bug 426670 has been marked as a duplicate of this bug. ***
Comment 2 Matej Mrenica 2020-09-20 11:10:52 UTC
Latest version fixes this issue: https://github.com/Zren/material-decoration/commit/65fe6f577a978a9e601241d29bea35185eb7f69c
Comment 3 Mikhail Zolotukhin 2020-09-20 11:21:56 UTC
(In reply to Matej Mrenica from comment #2)
> Latest version fixes this issue:
> https://github.com/Zren/material-decoration/commit/
> 65fe6f577a978a9e601241d29bea35185eb7f69c

This is workaround just for the one decoration theme. So this does not fix the issue for all decorations. The proper fix is to modify the CSS of Breeze GTK theme in the way it respects the geometry of a given decoration theme. Not sure if it is possible universally, but for popular decoration themes (such as Breeze) we can create some workarounds if needed.
Comment 4 Mikhail Zolotukhin 2020-09-21 08:59:45 UTC
Well, this is not regression. Before that GTK apps always had had breeze decoration with the same size despite the setting in the Breeze decoration settings.
Comment 5 Nate Graham 2020-09-21 13:54:06 UTC
Fair enough. :)
Comment 6 Tornado99 2020-11-05 23:28:30 UTC
Hi,

This annoys me too. It seems with each upgrade the gtk buttons are getting smaller and smaller, now they are tiny in Firefox, Pamac etc. I am using Sierra Breeze Enhanced but its the same issue with Breeze default, and several other gtk themes I tried.

Any fix should be universal to all themes.
Comment 7 Lua 2021-04-19 17:38:39 UTC
This might be related to https://bugs.kde.org/show_bug.cgi?id=414777
Comment 8 Nate Graham 2021-04-20 14:45:48 UTC
Not related.

I don't know if this is even possible, actually. Not sure if GTK3/4 allow changing the toolbar icon size like this. Need to investigate.
Comment 9 Nate Graham 2021-04-20 14:52:49 UTC
Oh my bad, this is only about the close/min/max buttons, not the rest of the toolbar buttons. It should be possible to fix.

However making other toolbar buttons respect the KDE Toolbar Icon Size setting is not possible; see https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-toolbar-icon-size (the setting is deprecated and ignored)
Comment 10 Tornado99 2021-04-20 15:42:30 UTC
This still happens for me. I am using Material buttons, but the same happens with Breeze buttons. A good example would be Pamac on KDE Plasma, buttons are always significantly smaller than on non-gtk apps.
Comment 11 Patricio Villar 2021-05-04 01:42:01 UTC
Hi everyone, I just posted a workaround that kinda relates to this bug I think. Here it is: https://bugs.kde.org/show_bug.cgi?id=436559