[gtkmm] Gtkmm-forge digest, Vol 1 #444 - 10 msgs



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-admin lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs.


Today's Topics:

   1. [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area () (bugzilla-daemon widget gnome org)
   2. [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area () (bugzilla-daemon widget gnome org)
   3. [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area () (bugzilla-daemon widget gnome org)
   4. [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area () (bugzilla-daemon widget gnome org)
   5. [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area () (bugzilla-daemon widget gnome org)
   6. [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area () (bugzilla-daemon widget gnome org)
   7. [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area () (bugzilla-daemon widget gnome org)
   8. [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area () (bugzilla-daemon widget gnome org)
   9. [Bug 113688] Changed - debian: No checkbox in TreeView for boolean fields (bugzilla-daemon widget gnome org)
  10. [Bug 113688] Changed - debian: No checkbox in TreeView for boolean fields (bugzilla-daemon widget gnome org)

--__--__--

Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net,
	harald hopfes hopfes sysde eads net
Cc: 
Date: Tue, 24 Jun 2003 12:42:13 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area ()

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=114568

Changed by murrayc usa net 

--- shadow/114568	Tue Jun 24 12:32:10 2003
+++ shadow/114568.tmp.7206	Tue Jun 24 12:42:13 2003
@@ -1012,6 +1012,33 @@
 And the output is:
 
   ** (main:9732): WARNING **: Data of GtkVBox: refcount: 3
 
 How is that to be understood?
 
+
+------- Additional Comments From murrayc usa net  2003-06-24 12:42 -------
+> but ObjectBase::destroy_notify_callback_ is never called for the 
+VBox.
+
+If we are on the right track (it's easy to get lost):
+Maybe the destroy_notify is called when the GtkVBox widget is about 
+to be destroyed. (There is a 2-stage destroy process in GTK+). And 
+maybe it never actually gets destroyed because something stops the 
+destroy process. I would investigate any destroy callbacks in GTK+ 
+for GtkVBox or its base "classes". I would throw a few debug 
+statements in there.
+
+
+> I added the following line in function on_vbox_destroyed
+> ...
+> How is that to be understood?
+
+It's saying that 3 things still have references to the GtkVBox when 
+it is being destroyed. That might, or might not, be a problem. It's 
+not unusual to destroy things while they are being used. The other 
+things just stop using it.
+
+Sometimes the unusual route that gtkmm takes through the GTK+ code 
+means that there is an orphaned reference somewhere. Sometimes GTK+ 
+code does not expect this and does unusual code. But I am just 
+speculating. Whatever the solution is, it will look simple in the end.



--__--__--

Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net,
	harald hopfes hopfes sysde eads net
Cc: murrayc usa net
Date: Tue, 24 Jun 2003 13:08:13 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area ()

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=114568

Changed by harald hopfes hopfes sysde eads net 

--- shadow/114568	Tue Jun 24 12:42:13 2003
+++ shadow/114568.tmp.21151	Tue Jun 24 13:08:13 2003
@@ -1039,6 +1039,17 @@
 things just stop using it.
 
 Sometimes the unusual route that gtkmm takes through the GTK+ code 
 means that there is an orphaned reference somewhere. Sometimes GTK+ 
 code does not expect this and does unusual code. But I am just 
 speculating. Whatever the solution is, it will look simple in the end.
+
+------- Additional Comments From harald hopfes hopfes sysde eads net  2003-06-24 13:08 -------
+There is a strange comment in method 
+Container_Class::destroy_callback of 
+http://cvs.gnome.org/lxr/source/gtkmm-root/gtk-src/container.ccg
+:
+  This happens in Gtk::Widget::dispose_vfunc() instead
+
+but there is only a Gtk::Widget_Class::dispose_vfunc_callback()
+which is never called.
+



--__--__--

Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net,
	harald hopfes hopfes sysde eads net
Cc: murrayc usa net
Date: Tue, 24 Jun 2003 14:10:15 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area ()

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=114568

Changed by harald hopfes hopfes sysde eads net 

--- shadow/114568	Tue Jun 24 13:08:13 2003
+++ shadow/114568.tmp.22180	Tue Jun 24 14:10:15 2003
@@ -1050,6 +1050,11 @@
 :
   This happens in Gtk::Widget::dispose_vfunc() instead
 
 but there is only a Gtk::Widget_Class::dispose_vfunc_callback()
 which is never called.
 
+
+------- Additional Comments From harald hopfes hopfes sysde eads net  2003-06-24 14:10 -------
+gtk_object_destroy for GtkVBox is called just before my Testprogram 
+displays "on_vbox_destroyed"
+



--__--__--

Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net,
	harald hopfes hopfes sysde eads net
Cc: murrayc usa net
Date: Tue, 24 Jun 2003 14:11:57 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area ()

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=114568

Changed by harald hopfes hopfes sysde eads net 

--- shadow/114568	Tue Jun 24 14:10:15 2003
+++ shadow/114568.tmp.22817	Tue Jun 24 14:11:57 2003
@@ -1055,6 +1055,11 @@
 
 
 ------- Additional Comments From harald hopfes hopfes sysde eads net  2003-06-24 14:10 -------
 gtk_object_destroy for GtkVBox is called just before my Testprogram 
 displays "on_vbox_destroyed"
 
+
+------- Additional Comments From harald hopfes hopfes sysde eads net  2003-06-24 14:11 -------
+And after displaying "on_vbox_destroyed", the function 
+gtk_container_destroy gets called for GtkVBox.
+



--__--__--

Message: 5
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net,
	harald hopfes hopfes sysde eads net
Cc: murrayc usa net
Date: Tue, 24 Jun 2003 14:15:42 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area ()

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=114568

Changed by harald hopfes hopfes sysde eads net 

--- shadow/114568	Tue Jun 24 14:11:57 2003
+++ shadow/114568.tmp.24694	Tue Jun 24 14:15:42 2003
@@ -1060,6 +1060,14 @@
 
 
 ------- Additional Comments From harald hopfes hopfes sysde eads net  2003-06-24 14:11 -------
 And after displaying "on_vbox_destroyed", the function 
 gtk_container_destroy gets called for GtkVBox.
 
+
+------- Additional Comments From harald hopfes hopfes sysde eads net  2003-06-24 14:15 -------
+I correct myself:
+
+  Gtk::Widget_Class::dispose_vfunc_callback()
+
+is called, but only for the gtkmm__GtkDialog.
+



--__--__--

Message: 6
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net,
	harald hopfes hopfes sysde eads net
Cc: murrayc usa net
Date: Tue, 24 Jun 2003 14:36:25 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area ()

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=114568

Changed by harald hopfes hopfes sysde eads net 

--- shadow/114568	Tue Jun 24 14:15:42 2003
+++ shadow/114568.tmp.3762	Tue Jun 24 14:36:25 2003
@@ -1068,6 +1068,9 @@
 I correct myself:
 
   Gtk::Widget_Class::dispose_vfunc_callback()
 
 is called, but only for the gtkmm__GtkDialog.
 
+
+------- Additional Comments From harald hopfes hopfes sysde eads net  2003-06-24 14:36 -------
+Also gtk_object_real_destroy gets called for GtkVBox.



--__--__--

Message: 7
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net,
	harald hopfes hopfes sysde eads net
Cc: murrayc usa net
Date: Tue, 24 Jun 2003 14:43:13 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area ()

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=114568

Changed by harald hopfes hopfes sysde eads net 

--- shadow/114568	Tue Jun 24 14:36:25 2003
+++ shadow/114568.tmp.7755	Tue Jun 24 14:43:13 2003
@@ -1071,6 +1071,14 @@
 
 is called, but only for the gtkmm__GtkDialog.
 
 
 ------- Additional Comments From harald hopfes hopfes sysde eads net  2003-06-24 14:36 -------
 Also gtk_object_real_destroy gets called for GtkVBox.
+
+------- Additional Comments From harald hopfes hopfes sysde eads net  2003-06-24 14:43 -------
+In gtk_object_dispose I see only a
+
+  gtk_signal_emit (object, object_signals[DESTROY]);
+
+but where is the g_object_set_qdata_full stuff called?
+



--__--__--

Message: 8
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net,
	harald hopfes hopfes sysde eads net
Cc: murrayc usa net
Date: Tue, 24 Jun 2003 14:48:21 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 114568] Changed - Memory leak in Dialog::get_vbox() and get_action_area ()

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=114568

Changed by harald hopfes hopfes sysde eads net 

--- shadow/114568	Tue Jun 24 14:43:13 2003
+++ shadow/114568.tmp.9919	Tue Jun 24 14:48:21 2003
@@ -1079,6 +1079,19 @@
 In gtk_object_dispose I see only a
 
   gtk_signal_emit (object, object_signals[DESTROY]);
 
 but where is the g_object_set_qdata_full stuff called?
 
+
+------- Additional Comments From harald hopfes hopfes sysde eads net  2003-06-24 14:48 -------
+Here is the overall oder of events:
+
+  gtk_widget_destroy: GtkVBox
+  gtk_object_destroy: GtkVBox
+  ** (main:26364): WARNING **: on_vbox_destroyed
+  ** (main:26364): WARNING **: Data of GtkVBox: refcount: 3
+  gtk_container_destroy: GtkVBox
+  gtk_widget_real_destroy: GtkVBox
+  gtk_object_real_destroy: GtkVBox
+
+



--__--__--

Message: 9
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, zsdebre telant tvnet hu
Cc: 
Date: Tue, 24 Jun 2003 14:52:12 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 113688] Changed - debian: No checkbox in TreeView for boolean fields

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=113688

Changed by cgustin ibelgique com 

--- shadow/113688	Tue Jun 24 11:22:29 2003
+++ shadow/113688.tmp.11630	Tue Jun 24 14:52:12 2003
@@ -111,6 +111,15 @@
 ------- Additional Comments From murrayc usa net  2003-06-24 11:22 -------
 I'm not 100% sure that patching .hg/.ccg files makes any difference to
 a tarball. Are the changes really in the .h/.cc files.
 
 However, I am fairly sure that the debian problem is caused by the
 unrelated gcc bug.
+
+------- Additional Comments From cgustin ibelgique com  2003-06-24 14:52 -------
+Right. I think the modifications to the hg and ccg files are 
+propagated to the corresponding h and cc files IF maintainer mode has 
+been enabled in the configure script (--enable-maintainer-mode).
+So, please Zsolt, if you're listening, try with this configure option 
+or (if it's easier for you) patch treeviewrenderer.h as in the diff 
+file I provided. I'm confident this will solve the treeview problem 
+on debian.  



--__--__--

Message: 10
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, zsdebre telant tvnet hu
Cc: 
Date: Tue, 24 Jun 2003 17:26:01 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 113688] Changed - debian: No checkbox in TreeView for boolean fields

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=113688

Changed by zsdebre telant tvnet hu 

--- shadow/113688	Tue Jun 24 14:52:12 2003
+++ shadow/113688.tmp.439	Tue Jun 24 17:26:01 2003
@@ -120,6 +120,11 @@
 propagated to the corresponding h and cc files IF maintainer mode has 
 been enabled in the configure script (--enable-maintainer-mode).
 So, please Zsolt, if you're listening, try with this configure option 
 or (if it's easier for you) patch treeviewrenderer.h as in the diff 
 file I provided. I'm confident this will solve the treeview problem 
 on debian.  
+
+------- Additional Comments From zsdebre telant tvnet hu  2003-06-24 17:26 -------
+Yes, this --enable-maintainer-mode was new for me, as I'm new to gtkmm.
+So the checkboxes are working correctly on Debian SID, using Cedric'
+patch (g++-3.2.3). Thanks a lot!




--__--__--

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]