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

Adding FullScreen flag to windowState and removing it, removes Maximized flag

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.10.0 Alpha
    • Component/s: Widgets: Main Window
    • Labels:
      None
    • Environment:
      Ubuntu, Windows
    • Commits:
      a02959bb5b43a3f9d881e5213ceedf535202b6a1

      Description

      Initial

      windowState = {Qt::WindowMaximized}

      Adding Qt::WindowFullScreen to windowState :

      setWindowState(this->windowState() | Qt::WindowFullScreen);
      

      And then removing it :

      setWindowState(this->windowState() & ~Qt::WindowFullScreen);
      

      Causes Maximized flag to dissapear :

      windowState = {Qt::WindowNoState}

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              ogoffart Olivier Goffart (Woboq GmbH)
              Reporter:
              friendnick Mykola Vankovych
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes