Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Hiding MainWindow on OS X freezes the GUI

Hiding MainWindow on OS X freezes the GUI

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 1.7k 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.
  • M Offline
    M Offline
    maharajah
    wrote on last edited by
    #1

    I've encountered a very strange problem on my MacBook Pro which is running OS X 10.6.8. When hiding a simple application with a MainWindow and a text field (by hitting CMD - H, or going to the top menu and pressing Hide MyApp) the GUI freezes. I have to minimize and maximize it (button on the MainWindow) to get the GUI to become responsive again.

    What I did to get this behavior was simply create a new project in QT (5.2.1) Widget Application with a MainWindow drag a QLineEdit inside the form then build it. I then deploy it using: /Users/maharajah/Qt/5.2.1/clang_64/bin/macdeployqt MyApp.app

    and sending it over to my MacBook Pro. When then hiding the window the GUI freezes.

    I am unable to get the same behavior on my iMac which is running 10.8.4, however my iMac has QT installed.

    Any ideas here?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      maharajah
      wrote on last edited by
      #2

      Update:

      I can verify that clicks on for example a simple button are still being received. To test this is connected the click event up with a method that just qDebug() << "Button clicked....";

      However the interface is completely frozen.

      Also qApp->processEvents() has no effect.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        What version of Xcode are you using ?

        Also, since 5.3 is out now, can you test if you still encounter this issue with it ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • M Offline
          M Offline
          maharajah
          wrote on last edited by
          #4

          Hi SGaist and thank you :)

          I'm using Xcode 5.1.1 but am compiling in QT Creator.

          I've tried QT 5.0.0, 5.2.1 and 5.3 all give the same problem

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Then it looks like it's a Snow Leopard specific bug. You should check the "bug report system":http://bugreports.qt-project.org to see if something known.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • M Offline
              M Offline
              maharajah
              wrote on last edited by
              #6

              Thanks!

              Posted it here:
              https://bugreports.qt-project.org/browse/QTBUG-39348

              1 Reply Last reply
              0

              • Login

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