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

Window maximized by aero-snapping, dragged from one screen to another, when restored, returns to the screen where drag started.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.5.3
    • GUI: Window management
    • None
    • The compiler in use is MSVC 14.40.33807 with VS 2022 17.10.1 on Windows 10.
      The project is generated using vcpkg with qtbase dependency with version 6.5.3.
    • Windows

    Description

      When you take a window by the title bar and drag it to another monitor and aero-snap to the top to maximize it, the normal geometry of the window does not get updated. It is still on the previous screen, so when you press restore, the window returns to the other screen.
      The normal geometry changes only if the window is placed on another screen in normal mode.

      This problem can be easily reproduced with a simple program:

      #include <QApplication>
      #include <QMainWindow>
      
      int main(int argc, char** argv)
      {
        QApplication app(argc, argv);
        QMainWindow qMainWin;
        qMainWin.show();
        return app.exec();
      } 

      Attachments

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

        Activity

          People

            owolff Oliver Wolff
            crkdman Armin Alikadić
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes