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

[QT6] Wrong window state restored when going back from minimize state

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.2
    • GUI: Window management
    • None
    • Windows
    • Windows

    Description

      Create a QQuickWindow window with flags Qt.Window | Qt.FramelessWindowHint. Steps to reproduce the problem:

      1. Maximise window (setWindowStates(windowState() | Qt::WindowMaximized))

      2. Minimize window (setWindowStates(windowState() | Qt::WindowMinimized))

      3. Press app Icon on taskbar, the window is restored in Qt::WindowNoState, with the previous(maximised) width and height, while it has to be restored into Qt::WindowMaximized.

      Note: The problem is reproduced only on screens with visible taskbar , if no taskbar on the screen, the correct state is also restored. 

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            dimitar.negrevski Dimitar Negrevski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes