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

[Cocoa]Windowflags are handled incorrectly for all window Types

    XMLWordPrintable

Details

    • be405c86f8efac7c6bc8b749725d6d0e0499314d

    Description

      Windowflags are only handled correctly for some of the on OSX supported combinations.

      In QT::Window, QT::Dialog and QT::Tool it is impossible to disable the maximize buttons other than hiding the frame.

      QT::Dialog and QT::Tool should without QT:CustomizeWindowHint only have the close button enabled.
      QT::Window should have Close, Minimize and Maximize enabled.

      It is possible to enable and disable all buttons separately and Osx will hide them if Close, Minimize and Maximize are all disabled.
      This can desirable for modal dialogs as stated in the Human interface guidelines ( https://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/AppleHIGuidelines/Windows/Windows.html ).

      I attached a patch that in my oppinion fixes the behavior for most of the window types.

      Attachments

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

        Activity

          People

            andysh Andy Shaw
            ricokirstein Rico Kirstein
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes