Created attachment 85447 [details]
Steps to reproduce:
1. Open Math
2. Detach the docked formula window
3. The window has the wrong size (see Attachment)
Window should have the correct size.
Seems it's a missing initialization of the window height after the detach process.
Present since 4.1. Here on Windows 7:
Build ID: 7e4286b58adc75a14f6d83f53a03b6c11fa2903
I couldn't reproduce it on master build, running on openSUSE.
Seems to be Windows specific. Still reproducible on master with Windows. I tested other docked windows, like in the Slide preview in Impress, but the problem does not occur there.
Maybe the problem is how our dock was implemented?
So, we'll needs some debugging on Windows :)
To reproduce this with your (own) debug build on Windows, you have to have an empty profile. Delete %AppData/Roaming/LibreOfficeDev or instdir/user/registrymodifications.xcu (in the build tree). Otherwise the problem doesn't pop up or is very hard to reproduce.
Thomas Arnhold committed a patch related to this issue.
It has been pushed to "master":
fdo#69112 - Detaching the docking window leads to a wrong sized window
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.