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

startSystemMove() resizes window

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.0 Beta3
    • Fix Version/s: None
    • Component/s: GUI: High-DPI
    • Labels:
      None
    • Environment:
      Qt Creator
    • Platform/s:
      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

            Assignee:
            sorvig Morten Sørvig
            Reporter:
            mathiaseggert Mathias Eggert
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes