Gtkmm-forge digest, Vol 1 #969 - 3 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 315874] New: GObject wrapper is considered destroyed too soon (bugzilla-daemon bugzilla gnome org)
   2. [Bug 315874] GObject wrapper is considered destroyed too soon (bugzilla-daemon bugzilla gnome org)
   3. [Bug 315874] GObject wrapper is considered destroyed too soon (bugzilla-daemon bugzilla gnome org)

--__--__--

Message: 1
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Date: Fri,  9 Sep 2005 19:36:25 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 315874] New: GObject wrapper is considered destroyed too soon

Do not reply to this email.  You can add comments to this bug at
 http://bugzilla.gnome.org/show_bug.cgi?id=3D315874
 glibmm | object | Ver: 2.8.x

           Summary: GObject wrapper is considered destroyed too soon
           Product: glibmm
           Version: 2.8.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: object
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: plangdale vmware com
                CC: all-bugs bugzilla gnome org


Compile and run the attached test case. (It is a modified child_widget2 t=
estcase).

This bug emerged in testing view::VisibilityBox which attaches add/remove
handlers to all containers inside it (to a first approximation).

If a child of one of those containers is deleted before it is removed, th=
en gtk+
emits the "remove" signal as usual but the c++ handler is still attached =
because
trackable's destructor hasn't been reached yet. However, the child's wrap=
per
reports itself as deleted so the signal proxy tries to recreate it but th=
is is
refused because the gtk+ object is being destroyed, causing a warning to =
be
shown and the signal not to be emitted.

In contrast, a C handler will be notified as normal.

So, it would seem that the wrapper must be changed to consider itself exi=
sting
until gtk_widget_dispose returns at the very least; it's perfectly valid =
to
listen for the remove signal and to be notified at delete time. I'm not s=
ure
what the implications of this lifetime extension would be.

I've filed the bug under glibmm because I consider this a bug in the base
wrapping code rather than in how gtkcontainer is specifically wrapped.

------- You are receiving this mail because: -------
You are the assignee for the bug.


--__--__--

Message: 2
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Date: Fri,  9 Sep 2005 19:37:06 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 315874] GObject wrapper is considered destroyed too soon

Do not reply to this email.  You can add comments to this bug at
 http://bugzilla.gnome.org/show_bug.cgi?id=3D315874
 glibmm | object | Ver: 2.8.x

Philip Langdale changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
             Status|UNCONFIRMED                 |NEW
      everconfirmed|0                           |1



------- You are receiving this mail because: -------
You are the assignee for the bug.


--__--__--

Message: 3
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Date: Fri,  9 Sep 2005 19:56:31 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 315874] GObject wrapper is considered destroyed too soon

Do not reply to this email.  You can add comments to this bug at
 http://bugzilla.gnome.org/show_bug.cgi?id=3D315874
 glibmm | object | Ver: 2.8.x





------- Additional Comments From Philip Langdale  2005-09-09 23:56 ------=
-
Created an attachment (id=3D52040)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=3D52040&action=3Dview)
Test case


------- You are receiving this mail because: -------
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]