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

QtWebEngine view flashes when HTML select is closed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.6, 5.13.2, 5.14.0 Beta 1
    • 5.12.3, 5.13.0, 5.14
    • WebEngine, WebView
    • None
    • macOS Mojave 10.14.5 (18F132)
    • macOS
    • 2f72083601fb6a4fcc66b6440222291fc334cb3f (qt/qtwebengine/5.13) 15b7a43417e6ae2a3922010524881405ef6b7474 (qt/qtwebengine/5.12)

    Description

      We've noticed that a WebEngineView will flash when an HTML select element is closed by clicking away from the select element.

      We're building an app that uses 5.12.3. We've tried configuring various render properties but haven't improved behavior.

      Steps to reproduce

      1. Install 5.13.0 open source editions
      2. Edit Qt-5.13.0/Examples/Qt-5.13.0/webengine/minimal/main.qml
      3. Replace the existing `url` with https://plexinc.github.io/sandbox/matt/bugs/qt/select/
      4. Build the app in Qt Creator
      5. Click on the enlarged select element then click elsewhere on the view to close

      Expected results

      • The select element should close without affecting overall window display

      Actual results

      • The select element closes
      • The surrounding screen flashes
      • Selecting a different option instead of clicking away from the select element doesn't reproduce the bug

      Examples

      Important Notes

      Attachments

        1. plex-minimal.mov
          3.35 MB
        2. plex-minimal.zip
          8 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-77072
          # Subject Branch Project Status CR V

          Activity

            People

              pvarga Peter Varga
              mseeley Matt Seeley
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes