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

WebEngineView: expanded select element geometry incorrect with multi screen setup

XMLWordPrintable

    • Windows

      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.

        1. qtbug84378.zip
          5 kB
          Miika Pernu
        2. not_ok.png
          45 kB
          Miika Pernu
        3. ok.png
          28 kB
          Miika Pernu
        4. drop-down.html
          0.6 kB
          Miika Pernu
        5. qtdiag_output.txt
          12 kB
          Miika Pernu
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes