Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
6.2.0
-
None
-
Windows 10 x64
Python 3.9
Qt 6.2.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2019) [limited API]
-
-
9b4d1f7612 (pyside/pyside-setup/dev) 7d79c67d94 (pyside/pyside-setup/6.2) 7d79c67d94 (pyside/tqtc-pyside-setup/6.2) 9b4d1f7612 (pyside/tqtc-pyside-setup/dev) 7d79c67d94 (pyside/pyside-setup/6.2.3) 7d79c67d94 (pyside/tqtc-pyside-setup/6.2.3)
Description
An application creates a background worker thread (QThread) to handle permanent communication tasks. When the UIThread opens a OS native (modal) FileDialog with the
QFileDialog.getSaveFileName() or QFileDialog.getOpenFileName()
call not only the UIThread is blocked but also the background thread.
Expected behavior: Background threads run execution while a OS native (modal) FileDialog is opened.
However, the attached Code example works under PyQt6 as expected.