QProgressBar bug
-
Use of QProgressBar in Qt 4.7.1 in Application generates infinite polling loop. How to solve?
-
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.
-
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.
-
@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? -
@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.
-
@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.
@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?