Skip to content

singleselection: Be more careful about notifies

Benjamin Otte requested to merge wip/otte/for-main into main

We don't want to notify::selected or notify::selected-item if they didn't change. This will bring performance benefits on frequently changing lists.

In particular, if lists get filtered or reordered, but the selected item stays in the list, not doing a notify::selected-item will avoid updates in connected handlers like GtkDropdown (and its handlers), thereby avoiding lots of unnecessary updates.

Merge request reports