Opened 7 years ago
Last modified 6 years ago
#16623 new defect
Window position not saved correctly...
Reported by: | starion | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.1.18 |
Keywords: | manager window position | Cc: | |
Guest type: | all | Host type: | Mac OS X |
Description
VirtualBox Manager window will not save where placed by about a menu bar's height. Any place you put it on the desktop will place it approximately 20 pixels down from where you actually last left it upon relaunch of VirtualBox.
Others have tested that this bug currently exists in the 5.1.x series.
See community forum post entitled "Window position not saved correctly...".
Attachments (1)
Change History (5)
by , 7 years ago
Attachment: | Archive.zip added |
---|
comment:1 by , 7 years ago
The thread that the OP referred to is https://forums.virtualbox.org/viewtopic.php?f=8&t=82473
comment:2 by , 7 years ago
Disclaimer: I was the "others" that have tested this in the OP's description...
OP's OSX version is 10.12.4 while mine is 10.9.5, so it seems (without too much testing) to be OSX independent. The amount of movement is 22 pixels downwards, which seems to be the same as the Menu Bar on OSX. The bug only shows if you move the VBoxManager window or if you change its height, but not its width or move the splitter.
I tested several 4.3.x, 5.0.x and 5.1.x versions. The bug first appeared in the 5.1.x series, starting with 5.1.0 and including today's 5.1.19 test build. Maybe upgraded Qt code related?
Workaround: Maximize the y-size of VBoxManager from the OSX Menu Bar to the Dock. However, you can see in the "VirtualBox.xml"
that the settings are definitely wrong:
<ExtraDataItem name="GUI/LastWindowPosition" value="424,44,1058,1090"/>
That "44" Y-origin value should have been "22", based on observations with previous VirtualBox < 5.1.x versions. What I believe saves the day in this workaround, is the "1090" WindowHeight value, which seems to be:
1200 (Screen) - 22 (OSXMenuBar) - 66 (MyDock) - 22 (VBoxManagerWindowBar???)
forces the VBoxManager window to occupy all the available y-space.
follow-up: 4 comment:3 by , 6 years ago
I can't believe after several releases that this bug is still not fixed. In Mac programming at least, remembering window position is one of the most basic of functions and is easy to program. That being the case, I can only assume that the developers have no interest in fixing this.
comment:4 by , 6 years ago
Replying to starion:
In Mac programming at least, remembering window position is one of the most basic of functions and is easy to program.
VirtualBox is cross-platform, so what you think is easy, may not be that easy. If on the other hand you think it's easy, you can always contribute the fix with a small patch.
That being the case, I can only assume that the developers have no interest in fixing this.
See the last sentence above.
VirtualBox XML files.