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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.10.0 Alpha
    • 5.6.0
    • Widgets: Main Window
    • None
    • Ubuntu, Windows
    • 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

              ogoffart Olivier Goffart (Woboq GmbH)
              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