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

Frameless window incorrectly resizing when moved between monitors with varying DPI settings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.2
    • None
    • Windows 10
    • Windows

    Description

      This bug can be reproduced by:

      • Setting up two monitors with differing DPI settings
      • Running the attached QML file in qmlscene
      • Moving the window (pressing anywhere on the window and dragging) between both monitors. This may need to be done quickly to see the window resize.

      The window is resized due to the differing DPI settings, but when the window is frameless this resizing seems to be wrong. The window will exceed maximums and minimums that are set for the window size (these are set in the attached example), along with resizing to incorrect values. 

      I would expect the resizing to work similar to that of the non-frameless window, as that seems to work correctly. I would also expect that when doing the DPI scaling that the values do not exceed the minimum or maximum sizes set for the window. 

      Attachments

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              jcarter Joe Carter
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes