Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.1
-
None
-
Ubuntu 14.04 with Qt 5.6. Does not occur under Ubuntu 16.04. Does not occur with Qt < 5.6.
-
f54bd20f6afbbd7bcbc55b3f3f59ed15f91f8ecd
Description
Modify the Example widgets/mainwindows/dockwidgets to disable dock animations by adding to the MainWindow constructor:
setDockOptions(QMainWindow::AllowNestedDocks | QMainWindow::AllowTabbedDocks);
or even more simply:
setDockOptions(QMainWindow::AllowTabbedDocks);
Now it is not possible to re-arrange the dock widgets. They will snap back to their previous positions when trying to re-arrange them.