Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. PyQt5 - Dialog pops up immediately on opening for the first time, but far slower on subsequent uses.
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.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 416 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    KASULA
    wrote on last edited by
    #1
    This post is deleted!
    JonBJ 1 Reply Last reply
    0
    • K KASULA

      This post is deleted!

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @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_DeleteOnClose flag/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.

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt
      • Unsolved