gtk/testsuite
Benjamin Otte 541aaa2392 selectionmodel: Add unselect_rest argument to select_callback
This is not just about consistency with other functions.

It is about avoiding reentrancy problems.

GtkListBase first doing an unselect_all() will then force the
SelectionModel to consider a state where all items are unselected
(and potentially deciding to autoselect one) and then cause a
"selection-changed" emission that unselects all items and potentially
updates all the list item widgets in the GtkListBase to the unselected
state.

After this, GtkListBase selects new items, but to the SelectionModel and
the list item widgets this looks like an enitrely new operation and
there is no way to associate it with the previous state, so the
SelectionModel cannot undo any previous actions it took when
unselecting.
And all listitem widgets will now think they were just selected and
start running animations about selecting.
2020-06-08 19:06:56 +02:00
..
a11y tetsuite/a11y: Pass common_cflags to build 2020-05-19 08:32:33 +02:00
css testsuite: Remove window decoration nodes from reference results 2020-05-20 17:06:54 +02:00
gdk tests: Centralize our test setup a bit 2020-05-15 14:11:53 -04:00
gsk Disable a failing test 2020-06-06 15:32:26 -04:00
gtk selectionmodel: Add unselect_rest argument to select_callback 2020-06-08 19:06:56 +02:00
performance tests: Allow setting a subdir for output 2020-05-15 14:11:53 -04:00
reftests reftest: Clean up reftest_inhibit_snapshot() 2020-06-04 15:45:29 +02:00
tools tests: Centralize our test setup a bit 2020-05-15 14:11:53 -04:00
meson.build Skip broken a11y tests 2020-06-06 14:18:44 -04:00