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

[Mixed monitor resolutions] QQuickWidget dialog window will cut off content when shown on mixed resolution/dpi monitors.

    XMLWordPrintable

Details

    • geometry: b1452011282bfd0213b9f35b446e4970cb60d112 (qtbase/5.11,16.5.2018,5.11.1), frame d2fd9b1b9818b3ec88487967e010f66e92952f55 (qtbase/5.12, 12.5.2019/5.512.4)

    Description

      Setup:

      Have two monitors with different scaling or dpi settings.

      • Monitor 1 (main): Standard resolution screen (e.g. 1920x1200) or 4k screen with scaling set to 100% (windows display settings)
      • Monitor 2: 4k screen at 200% scaling (windows display settings)

       Scenario:

      An application which shows a QQuickWidget based dialog containing a loaded QML file. (See attachment)

      Expected: The dialog is sized correctly on either screen.

      Actual result: When the application is started on the second (full 4k) monitor, the window and dialog are too small and content is cut off and not visible. This is mostly an issue when a user plugs a 4k screen into their non 4k laptop.

       

      Attachments

        1. QtQuickDialog.zip
          6 kB
        2. qtbug67777jpg.jpg
          qtbug67777jpg.jpg
          27 kB
        3. qtbug67777_decl_diag.diff
          5 kB
        4. qtbug67777.zip
          3 kB
        5. qtbug67777_diag.diff
          7 kB
        6. qtbug67777_widget.zip
          1 kB
        7. qtbug67777_log.txt
          2 kB

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              dimitri.lagast Dimitri Lagast
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes