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

WebEngineView: expanded select element geometry incorrect with multi screen setup

    XMLWordPrintable

Details

    • Windows

    Description

      Moving a WebEngineView from one screen to another seems to cause some confusion with select element geometry.
      On the screen window is first displayed: expanding the select drop down list works as expected and the drop down will be positioned right below the select element.
      On another screen: After having moved WebEngineView to another screen and clicking on the select element to expand the drop down will now cause the drop down to appear notably separated from the rest of the element and it's dimensions appear small in comparison. At worst the drop down may appear entirely outside the application window.

      This issue appears only if high dpi scaling is enabled.

      Steps to reproduce the issue:

      1. Build & Run the attached project
      2. Drag and drop the attached sample html (drop-down.html) to the app window to load it
      3. After html is loaded move webengineview to another screen
      4. Click on the select element & observe the dropdown position

      For reference see the attached images.

      Attachments

        1. drop-down.html
          0.6 kB
        2. not_ok.png
          not_ok.png
          45 kB
        3. ok.png
          ok.png
          28 kB
        4. qtbug84378.zip
          5 kB
        5. qtdiag_output.txt
          12 kB

        Issue Links

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

          Activity

            People

              qt_webengine_team Qt WebEngine Team
              miikapernu Miika Pernu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes