Desktop with anchor docking on secondary display jumps to primary display on next launch.
Original Reporter info from Mantis: otoien
-
Reporter name: Oivind Toien
Original Reporter info from Mantis: otoien
- Reporter name: Oivind Toien
Description:
With 1.6 RC1 (50707) and from 1.5 trunk after bug #28704 (closed) was "resolved":
The new desktop configuration (controlled under Manage desktops dialog) does not remember coordinates on a secondary display with anchor docking active (not tested undocked). Once Lazarus is opened again it jumps to the primary display and shape of windows change, apparently scaled relative to the edges of the screen. It is very awkward to then move it back to the secondary display again if the Scale on resize option is off (necessary to avoid the bug where the messages window keeps growing every time Lazarus is started), as the window has expanded. If for instance code explorer is kept at the right edge, it will be out of the window with the screens specified below.
This works fine in the 1.4.3 fixes branch before the new desktop configuration was introduced in trunk 1.5; Lazarus stayed on the secondary display with everything at the last used coordinates.
This is tested under Win 7 64 bit system, 32-bit Lazarus, primary display on notebook computer is 1920x 1080, secondary display 1600x1200, extended desktop mode.
Steps to reproduce:
Build Lazarus with anchor docking installed. Move IDE to a secondary display which is on the expanded desktop, but has different dimensions from the primary display (I do not know if the latter matters). Dock object inspector etc. to your liking. Exit Lazarus. Relaunch Lazarus. It will now have jumped to the primary display as described above.
Additional information:
Apparently the new desktop configuration needs some more work with respect to how it saves window positions.
Mantis conversion info:
- Mantis ID: 29184
- OS: Windows
- OS Build: 7 64-bit
- Build: 50707 (1.6 RC1, not listed )
- Platform: 86
- Version: 1.5 (SVN)
- Fixed in version: 1.7 (SVN)
- Fixed in revision: 50784 (#d4de0ecf)
- Target version: 1.6