Gtkmm-forge digest, Vol 1 #1119 - 4 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. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 339791] Gtk::Menu crash with child (gtkmm (bugzilla.gnome.org))
   2. [Bug 340048] Printing API (gtkmm (bugzilla.gnome.org))
   3. [Bug 340048] Printing API (gtkmm (bugzilla.gnome.org))
   4. [Bug 340048] Printing API (gtkmm (bugzilla.gnome.org))

--__--__--

Message: 1
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Mon,  8 May 2006 09:59:22 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 339791] Gtk::Menu crash with child

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D339791
 gtkmm | general | Ver: 2.8.x


dodji seketeli changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
                 CC|                            |dodji seketeli org




------- Comment #4 from dodji seketeli  2006-05-08 13:59 UTC -------
(In reply to comment #3)
> Here is first part of valgrind output. Fedore Core 4, GTKMM-2.4, GTK+-2=
.4
> Guess, it is obvious that child was deleted with gtk_container_foreach(=
).
>=20
Hmmh, I am not quite sure.
Actually deleting the parent menu does not delete the child menu.
The problem arises when the test code does 'delete m_child' ;

After a couple of gdb-ing,  here is what I think happens during delete m_=
child:
delete m_child somehow calls gtk_menu_destroy() on the child menu.
At this point, everything is fine.
Then, the gtk_menu_destroy() calls gtk_menu_detach() to apparently detach
the child from it parent ... bad thing.

Remember, the parent has already been destroyed ...

It seems GtkMenu has not been designed in a way that allow a parent menu
to be destroyed *before* its children. I am not sure this is a bug from
Gtkmm then.

To reproduce what I saw in gdb, try to run the sample code in
gdb and put a break point in gtk_menu_destroy and gtk_menu_detach.

Cheers

Dodji.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 2
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Mon,  8 May 2006 18:45:23 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 340048] Printing API

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D340048
 gtkmm | general | Ver: unspecified


Marko Anastasov changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
  Attachment #64483|0                           |1
        is obsolete|                            |




------- Comment #7 from Marko Anastasov  2006-05-08 22:45 UTC -------
Created an attachment (id=3D65054)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=3D65054&action=3Dview)
patch and new files

I haven't managed to take time to finish everything so I think it would b=
e best
to include only the platform-independent part. This is actually enough fo=
r
something like in gtk+/tests/print-editor.c .


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 3
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Mon,  8 May 2006 13:35:11 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 340048] Printing API

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D340048
 gtkmm | general | Ver: unspecified





------- Comment #6 from Marko Anastasov  2006-05-08 17:35 UTC -------
I need to fix PaperSize, it should be finished later tonight when I get b=
ack
home.

I finally discovered through ddd what was causing my segfaults - I wrappe=
d
PaperSize as a Glib::Object, but it's a boxed type.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 4
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Mon,  8 May 2006 07:12:08 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 340048] Printing API

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D340048
 gtkmm | general | Ver: unspecified





------- Comment #5 from Murray Cumming  2006-05-08 11:12 UTC -------
Do you have a new version of this patch/tarball, or should I apply what i=
s
here?=20


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



--__--__--

_______________________________________________
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]