Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.0.2, 5.1.0 Beta 1, 5.1.0 RC1
-
None
-
Mac OSX 10.8.3
-
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 |
71388,2 | Fix the window flags for Cocoa windows | release | qt/qtbase | Status: MERGED | +2 | 0 |