[gtkmm] Gtkmm-forge digest, Vol 1 #481 - 6 msgs
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #481 - 6 msgs
- Date: Sun, 03 Aug 2003 20:09:04 -0700
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 118922] Changed - Undocumented: TreeModelColumns cannot be of type "UNSIGNED SHORT" (bugzilla-daemon widget gnome org)
2. [Bug 118922] Changed - Undocumented: TreeModelColumns cannot be of type "UNSIGNED SHORT" (bugzilla-daemon widget gnome org)
3. [Bug 118922] Changed - Undocumented: TreeModelColumns cannot be of type "UNSIGNED SHORT" (bugzilla-daemon widget gnome org)
4. [Bug 119005] New - Chapter on memory management in gtkmm2-book refers to non-existant method set_dynamic() (bugzilla-daemon widget gnome org)
5. [Bug 119005] Changed - Chapter on memory management in gtkmm2-book refers to nonexistent method set_dynamic() (bugzilla-daemon widget gnome org)
6. [Bug 119049] New - Retrieving a Gdk::Display by name results in SegFault at unref (bugzilla-daemon widget gnome org)
--__--__--
Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Sun, 3 Aug 2003 05:22:28 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 118922] Changed - Undocumented: TreeModelColumns cannot be of type "UNSIGNED SHORT"
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=118922
Changed by murrayc usa net
--- shadow/118922 Sat Aug 2 04:59:07 2003
+++ shadow/118922.tmp.29002 Sun Aug 3 05:22:28 2003
@@ -28,6 +28,13 @@
reference documentation of TreeModelColumn or TreeModelColumnRecord.
I will try to make a patch later today.
Are there any possibilities to make TreeModelColumn compile time safe, i.e.
trigger errors if the type is not supported?
+
+------- Additional Comments From murrayc usa net 2003-08-03 05:22 -------
+That bug does not explain to me why we can't use unsigned short columns.
+
+This might have been fixed for gtkmm 2.4, as part of this bug:
+http://bugzilla.gnome.org/show_bug.cgi?id=102853
+
--__--__--
Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Sun, 3 Aug 2003 07:30:32 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 118922] Changed - Undocumented: TreeModelColumns cannot be of type "UNSIGNED SHORT"
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=118922
Changed by martin-ml hippogriff de
--- shadow/118922 Sun Aug 3 05:22:28 2003
+++ shadow/118922.tmp.9153 Sun Aug 3 07:30:32 2003
@@ -35,6 +35,57 @@
------- Additional Comments From murrayc usa net 2003-08-03 05:22 -------
That bug does not explain to me why we can't use unsigned short columns.
This might have been fixed for gtkmm 2.4, as part of this bug:
http://bugzilla.gnome.org/show_bug.cgi?id=102853
+
+------- Additional Comments From martin-ml hippogriff de 2003-08-03 07:30 -------
+I don't understand. The problem described in
+http://bugzilla.gnome.org/show_bug.cgi?id=102853
+seems to impose that compile time errors arise when using unsuppoerted
+types for TreeView::append_column_editable(). I'm talking about
+TreeView::append:column(), however.
+
+While
+http://bugzilla.gnome.org/show_bug.cgi?id=102853
+is certainly somehow related to
+http://bugzilla.gnome.org/show_bug.cgi?id=94170
+I can't see how it is supposed to be fixed with the patch
+http://bugzilla.gnome.org/showattachment.cgi?attach_id=13428
+
+Since I don't have gtkmm-2.4 installed (which would take a while on
+this damn slow machine) I can't check myself whether the problems are
+gone in 2.4 so I'm attaching a test case that uses
+TreeModelColumn<unsigned short> and results in the following run time
+errors with gtkmm-2.2:
+
+(process:1270): GLib-GObject-CRITICAL **: gtype.c:1875: initialization
+assertion failed, use g_type_init() prior to this function
+
+(a.out:1270): Gtk-WARNING **: gtkliststore.c:377: Invalid type (null)
+passed to gtk_list_store_set_column_types
+
+
+(a.out:1270): GLib-GObject-CRITICAL **: file gvalue.c: line 302
+(g_value_type_transformable): assertion `G_TYPE_IS_VALUE (src_type)'
+failed
+
+(a.out:1270): GLib-GObject-WARNING **: gtype.c:2967: type id `0' is
+invalid
+
+(a.out:1270): GLib-GObject-WARNING **: can't peek value table for type
+`<invalid>' which is not currently referenced
+
+(a.out:1270): GLib-GObject-WARNING **: gvalue.c:93: cannot initialize
+GValue with type `(null)', this type has no GTypeValueTable implementation
+
+[2]+ Segmentation fault (core dumped) ./a.out
+
+
+(Note, however, that I get different runtime errors and no segfault
+with my app which loads the treeview from a .glade file with
+libglademm - strange!)
+
+Please try the test case with gtkmm-2.4 and tell me what the correct
+behaviour should be. I don't think we can ignore this - it really took
+me a while to locate the error in my app.
--__--__--
Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Sun, 3 Aug 2003 07:31:35 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 118922] Changed - Undocumented: TreeModelColumns cannot be of type "UNSIGNED SHORT"
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=118922
Changed by martin-ml hippogriff de
--- shadow/118922 Sun Aug 3 07:30:32 2003
+++ shadow/118922.tmp.9634 Sun Aug 3 07:31:35 2003
@@ -86,6 +86,11 @@
with my app which loads the treeview from a .glade file with
libglademm - strange!)
Please try the test case with gtkmm-2.4 and tell me what the correct
behaviour should be. I don't think we can ignore this - it really took
me a while to locate the error in my app.
+
+------- Additional Comments From martin-ml hippogriff de 2003-08-03 07:31 -------
+Created an attachment (id=18867)
+test_treeview_unsigned_short.cc
+
--__--__--
Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, beo-gnome-bugzilla sgs o se
Cc:
Date: Sun, 3 Aug 2003 10:04:54 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 119005] New - Chapter on memory management in gtkmm2-book refers to non-existant method set_dynamic()
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=119005
Changed by beo-gnome-bugzilla sgs o se
--- shadow/119005 Sun Aug 3 10:04:53 2003
+++ shadow/119005.tmp.4082 Sun Aug 3 10:04:53 2003
@@ -0,0 +1,21 @@
+Bug#: 119005
+Product: gtkmm
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity: normal
+Priority: Normal
+Component: reference documentation
+AssignedTo: gtkmm-forge lists sourceforge net
+ReportedBy: beo-gnome-bugzilla sgs o se
+QAContact: gtkmm-forge lists sourceforge net
+TargetMilestone: ---
+URL:
+Summary: Chapter on memory management in gtkmm2-book refers to non-existant method set_dynamic()
+
+At the end of the Widgets section in the chapter on memory management in the
+gtkmm2 book, there is a reference to the method set_dynamic() which is
+supposed to exist on all widgets. This method doesn't seem to exist. I
+believe it should be set_manage() instead.
--__--__--
Message: 5
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, beo-gnome-bugzilla sgs o se
Cc:
Date: Sun, 3 Aug 2003 11:36:26 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 119005] Changed - Chapter on memory management in gtkmm2-book refers to nonexistent method set_dynamic()
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=119005
Changed by beo-gnome-bugzilla sgs o se
--- shadow/119005 Sun Aug 3 10:04:53 2003
+++ shadow/119005.tmp.12710 Sun Aug 3 11:36:26 2003
@@ -10,12 +10,12 @@
Component: reference documentation
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: beo-gnome-bugzilla sgs o se
QAContact: gtkmm-forge lists sourceforge net
TargetMilestone: ---
URL:
-Summary: Chapter on memory management in gtkmm2-book refers to non-existant method set_dynamic()
+Summary: Chapter on memory management in gtkmm2-book refers to nonexistent method set_dynamic()
At the end of the Widgets section in the chapter on memory management in the
gtkmm2 book, there is a reference to the method set_dynamic() which is
supposed to exist on all widgets. This method doesn't seem to exist. I
believe it should be set_manage() instead.
--__--__--
Message: 6
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Sun, 3 Aug 2003 20:29:37 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 119049] New - Retrieving a Gdk::Display by name results in SegFault at unref
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=119049
Changed by sterling hanenkamp com
--- shadow/119049 Sun Aug 3 20:29:37 2003
+++ shadow/119049.tmp.20934 Sun Aug 3 20:29:37 2003
@@ -0,0 +1,48 @@
+Bug#: 119049
+Product: gtkmm
+Version: 2.2
+OS: Linux
+OS Details: Gentoo Linux
+Status: NEW
+Resolution:
+Severity: critical
+Priority: Normal
+Component: general
+AssignedTo: gtkmm-forge lists sourceforge net
+ReportedBy: sterling hanenkamp com
+TargetMilestone: ---
+URL:
+Summary: Retrieving a Gdk::Display by name results in SegFault at unref
+
+Basically, if I request a Gdk::Display object using the open() method, the
+RefPtr returned causes an exception when the reference leaves scope. This
+short program reproduces the issue on Gentoo with the latest ebuild version
+(2.2.5) installed:
+
+#include <iostream>
+#include <gdkmm/display.h>
+#include <gtkmm/main.h>
+
+int main(int argc, char **argv) {
+ Gtk::Main kit(argc, argv);
+ std::cout << "Print this." << std::endl;
+ {
+ Glib::RefPtr<Gdk::Display> display = Gdk::Display::open(":0.0");
+ std::cout << "RefPtr is still good." << std::endl;
+ }
+ std::cout << "This will never print." << std::endl;
+
+ return 0;
+}
+
+Compiling this against the gtkmm and gdkmm libraries will have this output:
+
+$ g++ -o test test.cc `pkg-config --libs --cflags gdkmm-2.0 gtkmm-2.0`
+$ ./test
+Print this.
+RefPtr is still good.
+Segmentation fault
+
+It's pretty clear where the problem is. To make it even more explicit
+adding a call to display.clear() right above the "RefPtr is still good."
+line will keep that from being printed.
--__--__--
_______________________________________________
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]