VirtualBox

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

  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:

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 Dsen, 6 years ago

Should be fixed within the 6.0.4 version, could you please check that?

comment:2 by Michael Thayer, 6 years ago

Subscribe.

comment:3 by Konstantin Vlasov, 6 years ago

Confirm fixed in 6.0.4. Thanks!

comment:4 by Michael Thayer, 6 years ago

Resolution: fixed
Status: newclosed
Summary: When moving main window, its position is saved incorrectlyWhen moving main window, its position is saved incorrectly -> fixed in 6.0.4
Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette