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

Opening a window on a secondary display that has different resolution/DPI behaves oddly with QT_USE_NATIVE_WINDOWS=1

    XMLWordPrintable

Details

    • Windows
    • a96c4b3aab4592155f7647399f6f2eda98d3908a (qt/qtbase/5.13)

    Description

      Using multiple displays with different resolution and DPI seems to cause problems with QT_USE_NATIVE_WINDOWS=1. Without it, everything seems fine with the same setup.

      I could only reproduce this with Qt Creator. QT_USE_NATIVE_WINDOWS=1 is used by Squish for testing. This has worked with older Qt Creator versions, but now with 4.10, it somehow causes window content to be resized even though the whole window is maximized. Resizing the window also does not help.

      Attachments

        1. artifacts.png
          artifacts.png
          153 kB
        2. qtbug78158.zip
          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
              poikelin Joni Poikelin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes