Desktop manager restore incorrect docked layouts when layout has docked pages
Original Reporter info from Mantis: sysrpl
-
Reporter name: Anthony Walter
Original Reporter info from Mantis: sysrpl
- Reporter name: Anthony Walter
Description:
The following applies to Lazarus with anchordockingdsgn installed.
When restoring desktops using the "Desktop manager" layouts are incorrectly restored resulting in a unusable user interface. Lazarus will also sometimes crash if you attempt to fix the layout by dragging or resizing the docked windows using the horizontal or vertical splitter diving the docked regions.
Before where first layout is active:
http://cache.getlazarus.org/images/mantis/lazarus-docking.gif
After restoring my alternate layout the layout is corrupted (this is not how I had layed out my windows). Lazarus may now crash if you attempt to move the docked windows:
http://cache.getlazarus.org/images/mantis/lazarus-docking-restore-corrupted.gif
Steps to reproduce:
Launch Lazarus with anchordockingdsgn installed.
Open "Desktop manager" and be sure auto save is turned off.
Close "Desktop manager".
Create a new docked layout by moving docked windows around and/or adding new docked windows.
Open "Desktop manager" and save your layout to a new name.
Close "Desktop manager".
Create a different docked layout by moving docked windows around and/or adding new docked windows.
Open "Desktop manager" again save your layout to a new name.
Close "Desktop manager".
* You should now have 2 different docked layouts. *
Open "Desktop manager" one last time and restore the layout which is not active.
Close "Desktop manager".
Lazarus now has an unusable layout and may crash if you attempt to adjust the docked windows.
Additional information:
The old layout must have docked pages (tabs). If there are no pages, there is no issue.
Mantis conversion info:
- Mantis ID: 29200
- OS: Ubuntu
- OS Build: 14.04 64bit
- Build: trunk
- Platform: Linux
- Version: 1.5 (SVN)
- Monitored by: » @onpok (Ondrej Pokorny)