jrg2
Contributor
Contributor

Ubuntu Host Visual Studio Outlining Issue

I've run into somewhat of an annoying issue where the Code Outlining function in Visual Studio does not respond properly to mouse position/clicks when using VMWare Workstation Pro 16.2.2 on an Ubuntu 18.04 Host.

The image below shows the mouse cursor over the expand/collapse icon. Normally clicking on this icon toggles the expand/collapse of the code; however, on an Ubuntu 18.04 Host running Workstation 16.2.2 this Windows 10 Guest VM needs to move the mouse about a 1/4 inch to the right (off the icon, approximately where the letter 'd' is in the image) for the expand collapse to take effect - very frustrating.  Its as if VS2019 is having trouble measuring where the mouse is positioned.

example.png

I've tested the following permutations;

HOST / WORKSTATION / RESULT
Ubuntu 18.04 / 15.5.7 / No Problem
Ubuntu 18.04 / 16.2.2 / Problem
Windows 10 / 15.5.7 / No Problem
Windows 10 / 16.2.2 / No Problem

So the problem seems to be specific to Ubuntu as the Host OS when running 16.2.2.

I've also tested both Visual Studio 2019 and 2022 - both yielded the identical results.

Since my main development system uses Ubuntu 18.04 as the host my temporary solution has been to roll back to using Workstation 15.5.7 - however it would be nice to get this fixed/patched as I have 3D modelling VM's that need to use the new OpenGL functionality available in version 16.x.

When running 16.2.2, I also tried changing the hardware compatibility level but the problem is the same whether its 15.x or 16.x.

Any thoughts, ideas, suggestions welcomed.

 

2 Replies
333fps
Contributor
Contributor

Same annoying problem here on Debian 11 with all VMWare Workstation versions > 16.1.2.

0 Kudos
jrg2
Contributor
Contributor

Ok this is getting to be a larger problem.

I need to upgrade to Ubuntu 22.04 however 22.04 use Kernal 5.8 which VMWare Workstation 15 can not run on.

So VMWare Workstation 16 can run on Kernal 5.8 (Ubuntu 22.04 - with some quirky certificate signing hacks for vmmon) however all versions of VMWare Workstation 16 break the mouse input for VM's running Windows 10 / Visual Studio.

So I'm stuck running Ubuntu 18.04 with VMWare Version 15.

Help Please!