Details
-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
None
-
None
-
All operating systems.
Description
The default title bar for QDockWidget always hides itself when floating. If we use our own custom title bar it will always be visible even when floating. This behavior is rather inconsistent and in some cases not even preferred.
I specifically would like to use the default title bar and have it visible when the dock widget is floating. I can not seem to achieve this because of the protection level of the setWindowState member in QDockWidgetPrivate which controls this behavior.
http://code.qt.io/cgit/qt/qtbase.git/tree/src/widgets/widgets/qdockwidget.cpp#n1591
In Visual Studio for instance native window borders are not shown on dock widgets when they are floating. I feel that a setting should be implemented to allow the default dock widget title bar to be visible when the dock widget is floating.
To further illustrate my point the dock widgets do not use native window borders on Linux.