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

startSystemMove() resizes window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.0 Beta3
    • GUI: High-DPI
    • None
    • Qt Creator
    • Windows

    Description

      If i move a frameless window with the startSystemMove() function from one screen (100% ratio) to another screen (125% ratio), and use the settings of ( QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling) QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps)) it shrinks the size. Window (400x300) becomes to (300x225). (in this mode i have device-independent pixels) If i would use the windows system intern method for this, everything is fine.

       

      Additionally startSystemMove is by far not smoove. Compared to our own implementation and how Windows is handling natively dragging windows the window is not following the cursor exactly.

      Attachments

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

        Activity

          People

            owolff Oliver Wolff
            mathiaseggert Mathias Eggert
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes