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

QWindow::startSystemMove() has problem with Windows OS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.1
    • GUI: Window management
    • None
    • Windows 11 (Build 22631)
      Qt Creator 13.0.1
      Qt 6.7.1 llvm-mingw 64-bit
    • Windows

    Description

      1. When startSystemMove() is triggered with a single click (not dragging), the UI elements freeze. The freeze is corrected when the next content scene is clicked.

      2. Using startSystemMove() with window flags Qt::FramelessWindowHint or Qt::CustomizeWindowHint disables Windows edge snapping and window animations such as maximize, minimize, and close window. This issue is likely related to the window title (WS_CAPTION). When I disable WS_CAPTION using SetWindowLongA()(from windows.h), snapping and animations stop, similar to the issue described in item 2.

      reproduction code included.

      Attachments

        1. CMakeLists.txt
          0.4 kB
        2. main.cpp
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            owolff Oliver Wolff
            gary43 HoeGang Noe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes