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

QMessageBox.information in main thread blocks worker thread.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.15.2, 6.3.1
    • PySide
    • None
    • Python 3.8.5 64 bit
      Windows 10
    • Windows
    • 5c37a8c9ff (pyside/pyside-setup/dev) 5c37a8c9ff (pyside/tqtc-pyside-setup/dev) 5c37a8c9ff (pyside/tqtc-pyside-setup/tqtc/dev) 16c25a20cf (pyside/pyside-setup/6.3) 32538b5143 (pyside/tqtc-pyside-setup/6.2) 16c25a20cf (pyside/pyside-setup/6.3.2)

    Description

      Issue:

      When invoking QMessageBox.information in main thread it blocks execution of worker thread until message box is closed.

      This both occurs when using PySide2 5.15.2 and PySide6 6.3.1 .

       

      Expected behavior:

      Invoking QMessageBox.information doesn't affect worker thread.

       

      Notes:

      This doesn't happen when using PyQt5 5.15.7 . 

       

       

      Attachments

        1. example_QMessageBox_blocking_worker_thread.py
          1 kB
          Matthew Banasik
        2. pyside2034_qthread.py
          2 kB
          Friedemann Kleint
        3. pyside2034.py
          2 kB
          Friedemann Kleint

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              drakkar Matthew Banasik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes