Description
When auto-hide is disabled, the detach button in the dock's title bar is not restored correctly after detaching and re-docking the dock.
When the auto-hide feature is enabled, the detach button behaves as expected.
Steps to reproduce (Demo Application)
- Disable auto-hide (e.g. by removing line 770 in demo/MainWindow.cpp).
- Start the demo application and verify that the e.g. "Calendar 0" dock contains a detach button.
- Detach the dock so that it becomes floating. The detach button disappears, which is the expected behavior.
- Re-dock "Calendar 0".
Expected behavior
The detach button is restored when the dock is re-docked.
Actual behavior
The detach button is not restored after re-docking the dock.
Description
When auto-hide is disabled, the detach button in the dock's title bar is not restored correctly after detaching and re-docking the dock.
When the auto-hide feature is enabled, the detach button behaves as expected.
Steps to reproduce (Demo Application)
Expected behavior
The detach button is restored when the dock is re-docked.
Actual behavior
The detach button is not restored after re-docking the dock.