Opened 6 years ago
Closed 6 years ago
#18367 closed defect (fixed)
When moving main window, its position is saved incorrectly -> fixed in 6.0.4
Reported by: | Konstantin Vlasov | Owned by: | |
---|---|---|---|
Component: | GUI | Version: | VirtualBox 6.0.2 |
Keywords: | Cc: | ||
Guest type: | all | Host type: | Windows |
Description
- Start VB (only main window, no VMs).
- Move the window on the screen, remember the exact position.
- Close VB, wait till the services are stopped; start VB again.
Result:
The main window appears shifted from the previous position to the right+down.
Details:
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.
Change History (4)
comment:1 by , 6 years ago
comment:4 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | When moving main window, its position is saved incorrectly → When moving main window, its position is saved incorrectly -> fixed in 6.0.4 |
Should be fixed within the 6.0.4 version, could you please check that?