Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Flickering during repaint on Ubuntu 16.04

Flickering during repaint on Ubuntu 16.04

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
7 Posts 2 Posters 1.2k 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.
  • E Offline
    E Offline
    ebatsin
    wrote on last edited by
    #1

    Hi !

    I am working on a QML application (based on ApplicationWindow in QML and QQmlApplicationEngine in c++)

    I am developing it on both windows & Arch Linux + Gnome 3 where it works flawlessly.
    Lately, I tried to run it on Ubuntu 16.04 and the application is flickering during repaint (white flashes that cover the whole window when the UI is repainted, even partially). Sometimes, even the Ubuntu's Unity dock is flickering.

    I noticed that :

    1. It does not happen if my application is in fullscreen mode
    2. It does not happen if the application is not maximized

    It only happen when the application is maximized (and the titlebar is merged with Unity top bar). I have absolutely no idea what could cause this and where I should start searching for the solution.

    Any idea on what could be the cause of the flickers ?
    Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What version of Qt are you using ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • E Offline
        E Offline
        ebatsin
        wrote on last edited by ebatsin
        #3

        The flickering happens in both Qt5.10 and Qt5.12.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Can you be more precise ? Qt 5.12 is now at Qt 5.12.1

          Do you get the same behaviour if you use your distribution provided Qt ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • E Offline
            E Offline
            ebatsin
            wrote on last edited by
            #5

            Right now, the machine uses Qt5.12.0 (downloaded & installed using the installer tool provided by Qt since 5.12 is not available in the packages provided by Ubuntu 16.04).

            Sadly, I cannot test on Ubuntu 16.04 provided Qt because I rely on features introduced in Qt5.12 which is not available.

            Is Ubuntu 16.04 (Unity) not supported by Qt5.12 ?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Ubuntu may have applied patches to Qt to integrate with their desktop environment that may or may not have implication with your current problem.

              Can't you disable the specific feature you are using just to test your application ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • E Offline
                E Offline
                ebatsin
                wrote on last edited by
                #7

                The Qt version available in the default packages is Qt5.5. That would force me to disable a lot of features. Guess I have to drop Ubuntu 16.04 support for now until I have some time to try to make it work with Qt5.5

                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