VirtualBox

Opened 8 years ago

Last modified 4 years ago

#16110 new defect

5.1.x series - Fullscreen and mouse pointer offset in Gnome 3.20+

Reported by: tekstryder Owned by:
Component: guest additions/x11/graphics Version: VirtualBox 5.1.8
Keywords: Cc:
Guest type: Windows Host type: Linux

Description

Windows 10 guest, Arch Linux host with Gnome 3.20 and 3.22. Been observing this regression since the initial 5.1.x releases and still present in 5.1.8 with 5.1.8 guest additions.

STR:

1) Load guest Win10 in fullscreen mode. 2) Navigate away to another non-Virtualbox window. 3) Navigate back to Virtualbox window.

Expected result: Fullscreen display is maintained

Actual result: Entire fullscreen display is shifted down by X pixels equal to the size of the Gnome bar at top of screen. This offset equally applies to the mouse pointer. Notice in attached screenshot that the top bar area from the native display manager is showing the Gnome desktop background. Also notice the position of the pointer relative to the hovered state of the taskbar icon.

Attachments (4)

VBox.log (107.0 KB ) - added by tekstryder 8 years ago.
VBox.log
vbox-fullscreen-offset-gnome-bar.png (28.2 KB ) - added by tekstryder 8 years ago.
vbox-fullscreen-offset-gnome-bar
VBox-5.1.10-fullscreen-bug1.log (74.7 KB ) - added by tekstryder 7 years ago.
Vbox log fullscreen bug
Vboxlog.log (2.2 KB ) - added by F 6 years ago.
VBox.log file

Download all attachments as: .zip

Change History (23)

by tekstryder, 8 years ago

Attachment: VBox.log added

VBox.log

by tekstryder, 8 years ago

vbox-fullscreen-offset-gnome-bar

comment:1 by tekstryder, 7 years ago

Is there any more information I can provide to move this ticket along?

Fullscreen mode is unusable with this regression. The only workaround is to toggle fullscreen mode every time you visit the VM window.

by tekstryder, 7 years ago

Vbox log fullscreen bug

comment:2 by tekstryder, 7 years ago

This regressed behavior is still present in 5.1.10

Added log of issue reproduced with 5.1.10 GA.

in reply to:  1 ; comment:3 by i2000s, 7 years ago

Replying to tekstryder:

Is there any more information I can provide to move this ticket along?

Fullscreen mode is unusable with this regression. The only workaround is to toggle fullscreen mode every time you visit the VM window.

Could you illustrate more on the workaround? I found this is really annoying that if I resize the window, not only this issue persists but also shifts the content inside of the window a lot randomly.

in reply to:  3 comment:4 by tekstryder, 7 years ago

Replying to i2000s:

Replying to tekstryder:

The only workaround is to toggle fullscreen mode every time you visit the VM window.

Could you illustrate more on the workaround? I found this is really annoying that if I resize the window, not only this issue persists but also shifts the content inside of the window a lot randomly.

Not sure how to elaborate or if you may have the same issue. More details.. I've not tried various window-mode sizes, only fullscreen or maximized. When entering fullscreen mode via host+F it is rendered correctly. Switching to another window, and then back to Virtualbox causes the issue where the top n-pixels equal to the height of the Gnome bar shows my Gnome background color and creates the offset whereby the bottom of the screen is off-screen, and the mouse pointer is also offset by the vertical difference of the top bar.

I've since stopped using fullscreen mode as a result (I regularly switch to/from non-vbox windows), but my only reliable workaround is to simply toggle fullscreen with host+F. This restores fullscreen behavior as expected... until I switch to another window!

comment:5 by tekstryder, 7 years ago

Unfortunately this regression is still present in 5.1.12 with 5.1.12 GA.

comment:6 by tekstryder, 7 years ago

Same problem with 5.1.14, though no surprise as I'm not sure how to draw any triage attention to this bug report.

On the bright side, I've grown proficient with windowed mode, though I would still prefer to use fullscreen again in the future if this is ever resolved.

Also, reference to a later duplicate of this issue, bug #16207. I don't see any ability to actually mark a bug as a dupe.

comment:7 by Michael Thayer, 7 years ago

Out of interest, do you see this if you install a build of VirtualBox ("All distributions") from our download<1> page?

  1. https://www.virtualbox.org/wiki/Linux_Downloads

in reply to:  7 comment:8 by tekstryder, 7 years ago

Replying to michael:

Out of interest, do you see this if you install a build of VirtualBox ("All distributions") from our download<1> page?

  1. https://www.virtualbox.org/wiki/Linux_Downloads

I'd be happy to, but I don't see any documentation specific to this build.

1) Does it supplant the distribution-provided packages (Arch) or run side-by-side?

2) Is it standalone with all dependencies included, or does it touch system libraries?

3) Is there an uninstall procedure if #2 is no?

comment:9 by Michael Thayer, 7 years ago

You will need to remove the Arch package to install it; it mainly bundles its dependencies; and it can be uninstalled using the uninstallation script it puts into /opt/...

comment:10 by conmarti, 7 years ago

I do have the same issue with 5.1.28 on OpenSuse Leap 42.3 (Gnome 3.20.2). I've tried 2 different versions of Virtualbox. Both, the distribution specific one and the "All distributions" shows the same weird behavior.

by F, 6 years ago

Attachment: Vboxlog.log added

VBox.log file

comment:11 by F, 6 years ago

I have had the same problem since VirtualBox 5.1 and Gnome Shell under Fedora 24/25 with Gnome 3.20 and Gnome 3.22, and it's still present under VirtualBox 5.2 and Gnome 3.24.

3D, as well as 2D acceleration are not enabled.

Please see log file attached above for more details.

Last edited 6 years ago by F (previous) (diff)

comment:12 by F, 6 years ago

Any more ideas on this? Would you like more information to assess this bug?

comment:13 by F, 6 years ago

Still present in VirtualBox 5.2.2

comment:14 by F, 6 years ago

still present in VirtualBox 5.2.4

comment:15 by F, 6 years ago

still present in VirtualBox 5.2.6

comment:16 by feser, 6 years ago

I have got the same bug with 5.2.8 on Fedora 26 (gnome-shell 3.24.3 + Xorg)

comment:17 by F, 6 years ago

You ain't gonna fix this one, right?

comment:18 by F, 6 years ago

I think this problem is related to Xorg. When I login into a Wayland Gnome session - the offset doesn't appear.

comment:19 by Mitk0, 4 years ago

I'm also seeing this with on 6.1.2 with a fresh Ubuntu 19.10 (coming with GNOME Shell 3.34.1).

Here are two related issues in the trackers of Mutter and GNOME Shell:

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use