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 96063 - GtkTreeSelection 's change signal send twice when chick at the first time
GtkTreeSelection 's change signal send twice when chick at the first time
Status: RESOLVED DUPLICATE of bug 94837
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks:
 
 
Reported: 2002-10-17 14:37 UTC by huzheng
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description huzheng 2002-10-17 14:37:21 UTC
i created a treeview,when the first time click a item,the GtkTreeSelection
will receive two changed signal,the first is the root item's selected
signal,next is the item which i clicked 's signal.when click the later
times,only the clicked item's selection signal will happen,root item's
click signal will not get again.
i think,when click at the first time,root item's selected signal should not
happen as it really not click at that item.it should be a bug.
Comment 1 Kristian Rietveld 2002-10-17 15:23:02 UTC

*** This bug has been marked as a duplicate of 94837 ***
Comment 2 huzheng 2002-10-17 23:56:11 UTC
i added a variable omit_first_signal,when the windows is show,it init
to true,and in the changed's func,use it to omit the first
signal.but,this also can't solve the program well,when the first time
just click at the root item,it is omited too.is there any way to to
fix this program? it have a big relation in my software.
thanks.