[Buttons on left side] window/titlebar buttons are cropped with Ambiance GTK theme
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: Rauch.Christian, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
20.93 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36
Steps to reproduce:
I am running Firefox on GNOME Shell with the "Ambiance" theme and window buttons on the left side.
- move the window control / titlebar buttons from right to left:
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:'
- start firefox with the "Ambiance" or "Radiance" theme:
GTK_THEME=Ambiance firefox
- See that the window buttons in the top left are not correctly aligned.
I will give some unsolicited guesses:
I am working on a window decoration library that renders with GTK. I experienced similar issues when using gtk_widget_get_allocation
to get button positions and sizes. Using gtk_widget_get_clip
instead solved the problem for me, and might also solve the problem for Firefox.
Actual results:
The min/max/close buttons are not correctly aligned and cropped (see screenshot).
Expected results:
The window buttons should be aligned just like for any other GTK program, e.g. GTK_THEME=Ambiance gtk3-demo
.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•2 years ago
|
Updated•2 years ago
|
Description
•