Qt 6.12 LTS is out! See what's new in the release
blog
PyQt5 - Dialog pops up immediately on opening for the first time, but far slower on subsequent uses.
-
@KASULA
Not really: get rid of all this "thread handling" stuff, and saving data etc., and see how the dialog behaves.Since you (seem to) intend to create a brand new dialog each time, try setting the
Qt.WA_DeleteOnCloseflag/attribute on the dialog, does that make any difference?def return_cancel(self,new_form): new_form().reject()Do you press Cancel in your timings? Because this code is wrong.