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. QProgressBar bug

QProgressBar bug

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 4 Posters 1.4k 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.
  • T Offline
    T Offline
    Tinu
    wrote on last edited by
    #1

    Use of QProgressBar in Qt 4.7.1 in Application generates infinite polling loop. How to solve?

    jsulmJ 1 Reply Last reply
    0
    • RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by
      #2

      @Tinu
      Is your case with minimum and maximum both are set to 0?

      --Alles ist gut.

      1 Reply Last reply
      2
      • T Tinu

        Use of QProgressBar in Qt 4.7.1 in Application generates infinite polling loop. How to solve?

        jsulmJ Online
        jsulmJ Online
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Tinu Can you show how you're using QProgressBar? Else it is hard to say what is wrong.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        3
        • T Offline
          T Offline
          Tinu
          wrote on last edited by
          #4

          Hi,
          Sorry for the delayed reply.
          The min n max are 0 and 100.
          Using the QtCreator Editor I have just placed the QProgessBar widget. It is not connected using any signals n slots.
          I checked using strace command n it generates infinite polling loop.

          Thank You.

          jsulmJ 1 Reply Last reply
          0
          • T Tinu

            Hi,
            Sorry for the delayed reply.
            The min n max are 0 and 100.
            Using the QtCreator Editor I have just placed the QProgessBar widget. It is not connected using any signals n slots.
            I checked using strace command n it generates infinite polling loop.

            Thank You.

            jsulmJ Online
            jsulmJ Online
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Tinu What infinite polling loop do you mean?
            Does your app hang or crash? It's really unclear from your description.
            You just placed a QProgressBar and the problem occurs?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            T 1 Reply Last reply
            0
            • jsulmJ jsulm

              @Tinu What infinite polling loop do you mean?
              Does your app hang or crash? It's really unclear from your description.
              You just placed a QProgressBar and the problem occurs?

              T Offline
              T Offline
              Tinu
              wrote on last edited by
              #6

              @jsulm The application is less responsive at times. It did not crash. Once the UI is up, even though the application is not receiving or sending any data the strace command shows lots of polling system calls.

              jsulmJ J.HilkJ 2 Replies Last reply
              0
              • T Tinu

                @jsulm The application is less responsive at times. It did not crash. Once the UI is up, even though the application is not receiving or sending any data the strace command shows lots of polling system calls.

                jsulmJ Online
                jsulmJ Online
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Tinu Sorry, but without the code I have no idea what the problem is. I don't know what you are doing in your application.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • T Tinu

                  @jsulm The application is less responsive at times. It did not crash. Once the UI is up, even though the application is not receiving or sending any data the strace command shows lots of polling system calls.

                  J.HilkJ Online
                  J.HilkJ Online
                  J.Hilk
                  Moderators
                  wrote on last edited by
                  #8

                  @Tinu seems to me that placing the Qprogressbar in your ui causes a resize-loop.

                  You don't see the constant resizes but the app slows down. Is your QProgressbar inside a Layout? Have you overwritten the resizevent anywhere in your app? Do you call resize on any objects in your ui?


                  Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                  Q: What's that?
                  A: It's blue light.
                  Q: What does it do?
                  A: It turns blue.

                  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