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. Windows & widget goes "Gray - win frozen "silver gray"" - never ungrays
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
qwidgetgrayed
9 Posts 4 Posters 1.7k Views
  • 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 Offline
    D Offline
    Dariusz
    wrote on last edited by Dariusz
    #1

    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

    JonBJ 1 Reply Last reply
    0
    • D 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

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

      @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
      1
      • JonBJ JonB

        @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 Offline
        D Offline
        Dariusz
        wrote on last edited by Dariusz
        #3

        @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

        mrjjM 1 Reply Last reply
        0
        • D 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

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @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
          0
          • mrjjM mrjj

            @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 Offline
            D Offline
            Dariusz
            wrote on last edited by
            #5

            @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
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              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
              0
              • SGaistS SGaist

                Hi,

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

                D Offline
                D Offline
                Dariusz
                wrote on last edited by
                #7

                @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
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  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
                  1
                  • SGaistS SGaist

                    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.

                    D Offline
                    D Offline
                    Dariusz
                    wrote on last edited by
                    #9

                    @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
                    0

                    • Login

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