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

QWindow: setting flags on maximized window exits maximized state and causes inconsistencies

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.5, 5.13.1
    • GUI: Window management
    • None
    • Windows

    Description

      Removing the Qt::WindowCloseButtonHint from the window flags of a maximized window triggers some unexpected behaviour:

      • Platform window leaves the maximized state (indicated by the changing window decorations) but is resized to fill the entire screen (this also means the original geometry pre-maximize is lost).
      • QWindow::windowState(s) still reports Qt::WindowMaximized.

       

       

      Attachments

        1. qtbug78980_diag.diff
          2 kB
        2. qtbug78980_windowflags.zip
          2 kB
        3. qtbug78980.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            mfauster Markus Fauster
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes