Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-859

Widgets without a parent put into a layout are not destroyed when expected when assembling nested layouts out of order

    XMLWordPrintable

Details

    • Linux/X11, macOS

    Description

      Run attached example and click "Click me". The other button disappears, but destroyed signal for it is not fired unless the widget had a parent prior to adding it into the layout.

      Attachments

        1. pyside859_fixed.py
          1 kB
        2. pyside859.py
          1 kB
        For Gerrit Dashboard: PYSIDE-859
        # Subject Branch Project Status CR V

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes