Weird action bar animation when canceling controller mapping
The action bar when testing controllers, and when configuring them, they are actually 2 different GtkActionBar
s, one in (gamepad|keyboard)-configurer.ui
, and one in (gamepad|keyboard)-mapper.ui
(and (gamepad|keyboard)-tester.ui
has none), even though *Mapper
and *Tester
are states for *Configurer
.
So, when switching state from tester to mapper, the common action bar gets hidden, and the one from mapper is shown instead. When switching back, mapper one disappears, and the common one gets shown, with an animation, since it's defined in CSS.
While this does make sense in some ways ("Skip" button and "Press a button" label are things specific to *Mapper
, while Configure
and Cancel
buttons switch states), it's asymmetric that only *Mapper
has state-specific action bar (and no headerbar, that one is common as well).
One possible solution would be to handle all action bars in *Configurer
, another would be to move the common action bar to *Tester
.