Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-27650

Text scrolling flicker when combined with RadialGradient and ColorAnimation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.0.0 Beta 1
    • None

    Description

      Animated movements such as rectangle rotation or text scrolling start to flicker/stutter under certain conditions:

      • there is a RadialGradient in the background (from QtGraphicalEffects)
      • gradient color is changed with ColorAnimation

      The flicker looks like the animation movement jerking back and forth very fast, as if every two frames were being displayed in swapped order. The effect is especially disturbing on scrolling text (see attached flicker.qml). I also noticed that the flicker is much diminished if I run qmlscene in a window, running qmlscene --fullscreen gives "best" flicker.

      The problem doesn't appear if the RadialGradient is switched to a Rectangle having a linear gradient, or the ColorAnimation is removed. Also, trying to record a video with gtk-recordmydesktop makes the flicker disappear. Further, on Nvidia, the flicker disappears if "Sync to VBlank" is turned off from OpenGL Settings in nvidia settings panel (but other problems appear, obviously).

      Original discussion: http://lists.qt-project.org/pipermail/interest/2012-October/004361.html

      Jarno

      Attachments

        1. flicker.qml
          2 kB
        2. flicker2.qml
          0.9 kB
        3. glow_flicker.qml
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rodal Samuel Rødal
            jseppanen Jarno Seppänen
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes