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

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

XMLWordPrintable

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

      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. 

        For Gerrit Dashboard: QTBUG-138042
        # Subject Branch Project Status CR V

            morteza.jamshidi Morteza Jamshidi
            dimitar.negrevski Dimitar Negrevski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change