Style of checked tab in a notebook does not update without another event
Steps to reproduce
- Run
gtk3-widget-factory
and use the following CSS:notebook:focus tab:checked { outline: red dashed 1px; }
- Press Shift-Tab 5 times to focus the last notebook (the bottom right notebook, tabs are placed vertically).
- Either press the DownArrow key to check another tab then UpArrow to check back the original one, or point the cursor on the checked one. Intuitively I should use the word "active", but since the state shown in GTK+ Inspector is
checked
, I use the word "check".
Current behavior
At step 2, no outline is shown, or more correctly stated: no style is applied. Step 3 makes the state change, and after that the styles get applied.
Expected outcome
The style is applied without having to do step 3.
Version information
- OS: ArchLinux
- GTK 3.24.24, packaged with the name
gtk3
in Arch official repo.