GNOME Bugzilla – Bug 760524
linked comboboxes change size when clicked
Last modified: 2016-01-16 00:07:44 UTC
Created attachment 318866 [details] screen recording Using gtk3-widget-factory when clicking the outer connected toggle buttons on page 1 the size of it changes. Afaics the connecting border is removed in the clicked state. Screen recording attached.
Oh, trying to track this down I didn't notice the missing border in the active state, thanks for spotting.
This is just about combos tho, changing the topic accordingly.
This is pretty tricky and I can't find a way to fix this in the theme. It's complicated, let me try to explain: we used to have different names in css for combos and combobox-entries, to style this without those, I was relying on the fact that in a combobox the button is always the single child. With latest changes when the button is clicked there's another child, which is the menu so, the style doesn't work anymore. I tried rewriting the whole styling a pair of time, but of am I missing something or there's no way to fix it, hence I'd need to know when the widget is a combo or a comboboxentry.
Created attachment 319141 [details] [review] Theme patch This patch assume a combobox-entry has the .linked styleclass, which logically fits.
I've added the .linked class now to the combobox if it contains entry+button.
Theme fixed accordingly, closing.