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

QWebEngineView Freezes when app minimized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.2, 5.7.1
    • 5.5.0, 5.5.1
    • WebEngine
    • None
    • Kubuntu distribution: 15.04, 15.10, 16.04 alpha 2
      Computer: Intel NUC5i5RYK, Custom Gigabyte motherboard with NVidia 970
      Monitor: LG 31MU97 (4096x2160)

    Description

      I have an app which uses QWebEngineView to display a web page in a full screen window. The app has a DBus interface to allow me to minimize it, or make it full screen. The web pages I display use CSS to scroll text on the screen. When the app makes the transition from minimized to fullscreen, it reloads the page.

      The computers I run the app on are using the Kubuntu distribution.

      Starting with Kubuntu 15.10 when the app gets minimized, all scrolling stops. Every time. The scrolling text stops at the exact point when minimize was called. I can't get the webengine to reload a page when making it fullscreen, I have to close and reload the app to make it work again. 'ps -A' shows that the webengine processes are still running.

      The same program works without issue with Kubuntu 15.04.

      Things I have tried:
      Using the Qt online installer to install Qt 5.5
      Kubuntu 15.04 - no issues
      Kubuntu 15.10 - webengine freezes when minimized
      Kubuntu 16.04 alpha 2 - webengine freezes when minimized

      I tried compiling Qt 5.5 from scratch on Kubuntu 16.04. The problem still occurs.

      I've tried multiple computers with the same results. Intel NUC with Intel graphics. Custom built PC with Gigabyte motherboard and NVidia 970 card.

      I have included a test HTML, and the background image used in the test. I have videos showing normal behavior, and the freeze, but they are too big to upload.

      Attachments

        1. QT4KTest.png
          QT4KTest.png
          8.07 MB
        2. scrollertest.html
          1 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              jmorris@rscva.com John Morris
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes