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

PySide2 applications with items in scene(s) freeze on exit in python3.7+

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 5.14.0
    • PySide
    • None
    • Ubuntu 18.04, python3.7, python3.8
    • Linux/X11

    Description

      In python version 3.7 upwards, populating a scene with items* before exiting the application leads to the application freezing after the main window closes, and does not exit properly.

      There is no output when this happens, the execution stops after the closeEvent for the main window returns.

      Please note that closing the application without adding something to the scene does not result in a freeze.

       

      I have attached an example application with a few comments. Please let me know if you need anything else / if I have forgotten something.

      *I have tested this only with widgets, but I think the behaviour should be the same for all items.

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            qtpy S C
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes