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 82344 - don't emit selection_changed twice first time
don't emit selection_changed twice first time
Status: RESOLVED DUPLICATE of bug 94837
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
1.3.x
Other other
: Normal normal
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on: 80590
Blocks:
 
 
Reported: 2002-05-20 12:23 UTC by Mikael Hallendal
Modified: 2011-02-04 16:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mikael Hallendal 2002-05-20 12:23:40 UTC
When selecting a row in GtkTreeView for the first time (when the treeview
first gets focus) two selection_changed signals are emited.

First one for the first row in the tree/list (probably when the widget gets
forcus?)

Second the line actually selected.

This seems like the wrong behaviour.
Comment 1 Kristian Rietveld 2002-09-28 12:45:27 UTC
Yes you get a GtkTreeSelection::changed when the widget gets focus. In
some cases this is *really* annoying. We need a mode API!
Comment 2 Kristian Rietveld 2002-10-19 16:52:12 UTC

*** This bug has been marked as a duplicate of 94837 ***