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

Page visibility state is "visible" by default

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.12.0
    • 5.11.0, 5.11.1
    • WebEngine
    • None
    • Linux

    Description

      QWebEngineView always initially reports page visibility as "visible" even when it wasn't actually shown.

      See attached test case (it loads page while hidden and shows itself after one second delay):
      Expected: 2 visibility state changes - hidden -> visible
      Actual: only one visibility state change - visible

      https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API

      Attachments

        Issue Links

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

          Activity

            People

              juri.valdmann Jüri Valdmann (Inactive)
              nowrep David Rosca
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes