GNOME Bugzilla – Bug 782528
Child widgets shouldn't hold references to their parents
Last modified: 2021-07-05 11:30:49 UTC
We have a few cases where child widgets are holding references to their parent containers via instance member variables. Unless really necessary, I think we should avoid doing this to stay clear of reference cycles.
Created attachment 351660 [details] [review] overview, selections: A child shouldn't hold a reference to its parent
Created attachment 351661 [details] [review] overview: ViewContainer shouldn't hold a reference to OverviewStack
Review of attachment 351660 [details] [review]: OK
Review of attachment 351661 [details] [review]: OK
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-documents/-/issues/ Thank you for your understanding and your help.