Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Screen flickers, double frame buffer?
Forum Updated to NodeBB v4.3 + New Features

Screen flickers, double frame buffer?

Scheduled Pinned Locked Moved Mobile and Embedded
8 Posts 3 Posters 7.9k Views 1 Watching
  • 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.
  • P Offline
    P Offline
    pieter
    wrote on last edited by
    #1

    I am running Qt on an ARM with an LCD.
    When im moving a big window on the screen, the screen flickers.

    Does Qt double buffer? Ifso what do i have to configure that it works correctly?
    Or could something else be the problem

    Im using Qt for embedded 4.7.0.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Lord
      wrote on last edited by
      #2

      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?

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pieter
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          Lord
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            pieter
            wrote on last edited by
            #5

            Ok,
            Could you tell me where and how i can copy that frame?
            thanks

            1 Reply Last reply
            0
            • F Offline
              F Offline
              Fuzzbender
              wrote on last edited by
              #6

              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?

              1 Reply Last reply
              0
              • P Offline
                P Offline
                pieter
                wrote on last edited by
                #7

                Thanks for you reply,
                The problem is solved, turns out there was no problem with Qt but with the hardware.

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  Fuzzbender
                  wrote on last edited by
                  #8

                  Ok. Great (that it wasn't Qt issue, too bad for your HW).

                  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