Screen flickers, double frame buffer?
-
-
Double buffering is supported by Qt. We don't need to do anything. I have faced similar problem in past. Probably its the logic you have which is creating problem.
Can you share more details like how you trying to update window? Is there an compression/decompression involved?
-
Thanks for your reply.
The problem already occurs when iam running a demo application (like /demos/textedit). So i dont now how the window updating there is done, but i guess that is done right.
Qt shows the application beautifull, but every now and then (every second or so) it looks like its drawing the frame at a wrong coordinate at the screen.
-
I think problem is with frame. It may happen that frame being drawn is distorted itself.
Try to continuously copy that frame with different names using some loop on desktop before showing it on screen. The movement flicker appear stop application and check whether any of frame you tried to show were distorted.
-
Sounds like an issue with cursor re-drawing. Could you try to set the editable state off (or remove focus from QTextEdit), does it still reproduce?
-
Ok. Great (that it wasn't Qt issue, too bad for your HW).