Skip to content

AutoHideDockWidget: title bar disappears when docking directly from auto-hide state #843

@46Leo

Description

@46Leo

Description
When an AutoHideDockWidget is dragged directly from its hidden state and docked into another area, the dock widget loses its title bar.
This only occurs when the widget is dragged without first clicking the Toggle View Pin to restore it to a normal dock widget.
I first noticed this issue in version 4.5.0 and can still reproduce it on the current master branch (commit 27f1bef).
The issue does not occur in version 4.4.1.

Steps to Reproduce
Compile and run the official autohide example.

Expected Behaviour
Screenshots using version 4.4.1

Image

Actual Behaviour
With version 4.5.0+

Image

Additional information

  • Compiled with Qt version 6.11.x
  • Running on Windows 11

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions