Revealer not working correcly on ActionRow

I am trying to reveal some ActionRow options on selecting an item from a ComboRow. However using a Revealer results in some strange behaviour, and I don’t know if it is my fault. When not revealed, the Revealer causes a very small line to appear on the row it is placed, You can click on this row and it reacts. But nothing happens.


And after expanding. When hovering over the item, the selection is too light and does not cover the entire row. Almost like you are selecting the Revealer. Also clicking on the Row does nothing, even with activatable-widget set.

Am I doing something wrong, is there a better approach or is this a bug?

Hi,

I don’t think you can put a GtkRevealer directly in a AdwPreferencesGroup like that.

You should use something like a Adw.ExpanderRow instead.

It indeed appears that way. However an ExpanderRow does not yield the appearance I want, as the items only appear after selecting a certain item from a list, and not by clicking a switch

In that case, I suggest to not use a Revealer but just put the primary color’s ActionRow directly in the same AdwPreferencesGroup as the ComboRow.

Then, depending on the combo value, show or hide the primary color’s ActionRow.