9 | | [upper left] "assisted" : Width: 1331, Height: 529 |
10 | | [lower right]"assisting": Width: 1073, Height: 724 (corruption visible) |
| 11 | 1. sudo apt install xdotool # if necessary |
| 12 | |
| 13 | 1. Obtain a Windows 10 VM, called "A" here |
| 14 | 2. Make a clone, called "B" here. I used "Linked Clone" and "Generate new MAC..." options. |
| 15 | (do not re-use UUIDs or else the VMs can not run simultaneously) |
| 16 | |
| 17 | 3. Start both Windows VMs. Put "A" in upper-left corner, "B" in lower-right. |
| 18 | Then in a terminal: |
| 19 | |
| 20 | 4. xdotool windowsize $(xwininfo | perl -n -e '/.*Window id: (\S*)/ && print $1') 997 777 |
| 21 | Click in VM "A" to set it's window size |
| 22 | |
| 23 | 5. xdotool windowsize $(xwininfo | perl -n -e '/.*Window id: (\S*)/ && print $1') 1024 640 |
| 24 | Click in VM "B" to set it's window size. |
| 25 | |
| 26 | 6. In both VM's run the "Quick Assist" app (type "Quick" into the Search bar to find it) |
| 27 | 6a. In "B" (the 1024x640 one), click "Help someone", sign in (I used Github), and copy the security code it displays |
| 28 | 6b. In "A" paste the code; click "Submit"; click "Allow" screen sharing |
| 29 | |
15 | | I though this might be a Microsoft bug unrelated to VBox video, although at this point it would be surprising because their own support people would suffer from it. I tried a VM "assisting" machine with large screen and a smaller bare-metal (laptop) "assisted" machine and did not see the problem. Obviously not conclusive, but it's one datapoint indicating that the problem has somehow to do with VBox video on one end. Especially because the problem *did* appear the other way around, i.e. if the VM window was vertically shorter than the laptop's screen. Sorry but I don't have a large-screen bare-metal Windows box... |
| 34 | The problem does not occur if machine A is an even size like 1000 x 768 instead of 997 x 777. In general the size is set by users and difficult to control. |
| 35 | |
| 36 | ** |
| 37 | ''Suggestion: If there is no easy way to support "odd" dimensions, then make VM windows (on the host) respond to resize events by snapping to the nearest even number of pixels. So for example, when I told "A" to resize to 997 x 777, it would instead become 996 x 776.''** |
| 38 | |
| 39 | This ''might'' be a Microsoft bug unrelated to VBox video. I can repro if "A" is the VM with size 997 x 777 and "B" is a bare-metal Windows box (laptop) with 1600 x 900. I could not figure out how to use non-standard video modes on the laptop, so could not try the other way around. The above suggestion would probably work around the bug if it is Microsoft's. |