After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 156244 - Consider making "changed" signal sufficient when a row gets a new position
Consider making "changed" signal sufficient when a row gets a new position
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
unspecified
Other Linux
: Normal normal
: 3.0
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks: 347771
 
 
Reported: 2004-10-23 20:25 UTC by Soren Sandmann Pedersen
Modified: 2018-02-10 04:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Soren Sandmann Pedersen 2004-10-23 20:25:11 UTC
Currently, when a row in a tree model gets a new position, you are supposed to
emit the "rows_reordered" signal. Unfortunately that signal takes O(n) time to
generate. It would be better if "changed" would be extended to mean "this row
may have changed position". 

This is strictly speaking not an incompatible change since you could conceive of
non-GtkTreeView consumers of GtkTreeModel that wouldn't be prepared to accept
"changed" as 'may have changed position'. This may or may not be a problem in
practice. If it is, maybe a new signal, "position changed", could be added.

See also bug 153479.
Comment 1 Matthias Clasen 2018-02-10 04:35:23 UTC
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and
still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue
for it.