Ticket #7270 (new defect)
Opened 5 years ago
Seamless and fullscreen mode incorrectly resize on second monitor.
|Reported by:||missile-29||Owned by:|
|Version:||VirtualBox 3.2.6||Keywords:||seamless fullscreen resize dual head dual second monitor|
Xwindows on dual monitors, Display0 is laptop at 1680x1050 resolution. Display1 is LCD monitor at 1920x1200 resolution. Setup is as two separate X screens.
1) Start VBox on Display1 (1920x1200) and start Windows XP guest. 2) Switch this guest to seamless mode. 3) Everything in the guest window will justify to the upper-left-hand corner of the display (0,0) and the background will disappear, but the overall size of the guest seems to be 1680x1050 (the resolution of the primary display) instead of 1900x1200. This is evidenced by the fact that the Windows task bar is not all the way at the bottom of the screen, nor does it extend all the way to the right. Further, if an application window running on the guest is dragged toward the right edge of the screen, it will start to disappear before it gets to all the way to the right of the screen. 4) Switch out of seamless mode and into fullscreen mode. 5) The guest display takes over the screen, but it is smaller than the full LCD display size of 1900x1200, and centered in the display. It appears to be only 1680x1050. Right-clicking on the guest's desktop, choosing properties, and checking the resolution shows that it has indeed resized to 1680x1050 instead of the correct 1920x1200.
Note that I do have the guest additions installed, and that I have tried various settings for Guest Display Auto Resize. I have also tried toggling Geust Display Auto Resize (HOST-G) and Adjust Window Size (HOST-A) during the above process.
I have found one combination that seems to work correctly and consistently, but only for fullscreen mode: 1) Set Guest Display Auto Resize to DISABLED. 2) Change to fullscreen mode. 3) The display will NOT correctly resize, as described above, but... 4) Hit HOME-G to toggle Guest Display Auto Resize to ENABLED and the display will resize correctly.
Note that the above method does not work if Auto resize is left enabled when changing to fullscreen mode. It also doesn't appear to work for seamless mode. Further, if Auto Resize is left enabled when switching back out of fullscreen mode, the entire guest is resized to an annoyingly small resolution.
I have attached three VBox.log files of the processes described above. The first is the failed attempt at seamless mode. The second is the failed attempt at fullscreen mode. The third is the fullscreen mode that can be achieved by toggling Auto Resize.
You can see in these files where the failed attemps contain:
VMMDev::SetVideoModeHint: got a video mode hint (1680x1050x0)
while the successful one contains:
VMMDev::SetVideoModeHint: got a video mode hint (1920x1200x0)