﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
18367,"When moving main window, its position is saved incorrectly -> fixed in 6.0.4",Konstantin Vlasov,,"1. Start VB (only main window, no VMs).
2. Move the window on the screen, remember the exact position.
3. Close VB, wait till the services are stopped; start VB again.

Result:[[BR]]

The main window appears shifted from the previous position to the right+down.

----

Details:[[BR]]

It appears that the coordinates are stored incorrectly in the VirtualBox.xml. For example, when I moved the window to position (104, 382) and close the window I can see that GUI/LastWindowPosition assumes the value ""390,134,761,854"", so it's 8 pixels lower and 30 pixels to the right from where it was, so obviously next time I start VB it will appear at those shifted coordinates (134, 390).

If I don't move the main window at all, its position in the XML is not changed, and upon restart the window position remains the same. That's why I think it's something wrong with the current position calculation when I move the window.

Host OS: Windows 7 x64 SP1, Aero theme.",defect,closed,GUI,VirtualBox 6.0.2,fixed,,,all,Windows
