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

[Windows] setFlag() call removes maximized information from window

    XMLWordPrintable

Details

    • Windows

    Description

      When you call setFlag(Qt::WindowStaysOnTopHint, true for a maximized window the window looses the maximized information.

      The attached example can be used to reproduce the issue. First make the window maximized and then click on the window. This will set the WindowStaysOnTopHint flag to true. As a result, the window no longer is maximized.

      To demonstrate this, another click on the window sets the WindowStaysOnTopHint flag to false and the window no longer is maximized.

      It seems void WindowCreationData::applyWindowFlags(HWND hwnd) keeps the enabled and visible information from the current style. Should it do the same for the minimized and maximized information?

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            tiheikka Titta Heikkala
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change