Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-90773

QWidget still receives signals from children in its QObject dtor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 5.11.2, 5.12.0, 5.12.3, 5.12.8, 5.13.0, 5.13.2, 5.14.1, 5.14.2, 5.15.1, 5.15.2
    • None
    • Linux/X11

    Description

      In short:

      1. Widget creates a child QStackedWidget
      2. Other widgets, grandchildren of the first one, are added to the QStackedWidget
      3. The `destroyed` signal of the grandchildren is connected to the grandparent
      4. Grandparent is destroyed, and thus its lineage
      5. Grandparent receives the `destroyed` signal of each grandchild while within its QObject dtor.

      I'll attach an example once I get a bug number.

      (For the record, this goes back to at least 5.11.2, according to Choqok Bug #400117.)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              vhilshei Volker Hilsheimer
              fbriere Frédéric Brière
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes