KDAB / KDDockWidgets

KDAB's Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets
Other
754 stars 163 forks source link

Fix window frames when using showMinimized() on Windows #455

Closed iamsergio closed 8 months ago

iamsergio commented 8 months ago

If LayoutSaver restored a window directly to a minimized state Qt would screw the custom window margins when showing the window again.

Workaround by not having custom frames in minimized mode, forcing Qt to honouring the new WM_NCCALCSIZE request when showing normal.