Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Windows & widget goes "Gray - win frozen "silver gray"" - never ungrays

    General and Desktop
    qwidget grayed
    4
    9
    751
    Loading More Posts
    • 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.
    • D
      Dariusz last edited by Dariusz

      Hey

      I have some processing done and while it starts the qt windget will go "gray/frozen" in windows. But when processing is done, it never returns to normal...

      Any hints what should I look at ? It started out of nowhere recently...

      Regards
      Dariusz

      JonB 1 Reply Last reply Reply Quote 0
      • JonB
        JonB @Dariusz last edited by

        @Dariusz
        Check you're not using https://doc.qt.io/qt-5/qwidget.html#setDisabled, that could cause greying. Otherwise Maybe Windows shows disabled while busy processing and no UI servicing, not sure, but that should go away when UI loop reached again.

        D 1 Reply Last reply Reply Quote 1
        • D
          Dariusz @JonB last edited by Dariusz

          @JonB I'm not using setDisabled and ui gets responsiveness back but is still grayed out. - weird as I can click on anything there...

          When It comes to grayed out.. I mean its "frozen" like windows app stuck

          mrjj 1 Reply Last reply Reply Quote 0
          • mrjj
            mrjj Lifetime Qt Champion @Dariusz last edited by

            @Dariusz
            hi
            try drag other window on top of your app and see if your app then re-draws.

            What platform is this ?

            Also if its still frozen after, meaning it does not react to clicks it means
            you still doing processing.

            D 1 Reply Last reply Reply Quote 0
            • D
              Dariusz @mrjj last edited by

              @mrjj Hey

              I can control the app after processing is done but "freez" remain

              Dragging other widget over qt widget does not help

              The QOpenGLWidget appear to look "properly" while others are bugged.

              Win10 x64. Tried on 2 pcs. QT 5.13.1

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                Hi,

                What kind of processing are you doing ?
                How are you doing it ?

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

                D 1 Reply Last reply Reply Quote 0
                • D
                  Dariusz @SGaist last edited by

                  @SGaist Actually latelly I noticed that it happens without even doing the process. Just by creating new widget & QOpenGLWindow embeded inside as widget causes it. So no custom "processes" that I perform or calculations. Only creation of window... hmmm I moved to 13.1 lately, perhaps the .1 version has an issue o.o

                  1 Reply Last reply Reply Quote 0
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    Did you already tried with an earlier version of Qt ?
                    You might also want to check the graphic stack of the machines you are having trouble with. It could also come from the video card driver.

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

                    D 1 Reply Last reply Reply Quote 1
                    • D
                      Dariusz @SGaist last edited by

                      @SGaist Hey, nope did not try it yet. It happens on 2-3 different pcs. So I don't think its hardware limited, maybe OS? But dont think its drivers. Nvidia/intel gpus.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post