Opened 7 years ago
#17403 new defect
Touchscreen input is not scaled to VM location on screen
Reported by: | FUKU | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 5.2.4 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description
host: Win 10 on HP Envy 14-k111nr with touchscreen (3200x1800), virtualization enabled. guest: Android 7.1-rc1 64bit, set as Linux (Version 2.6/3.x/4.x 64 bit)
Problem: When I dont disable mouse-integration i can only control the cursor with touch interactions. Also cursor only moveable by mouse when clicked - otherwise it just wouldnt move. When I disable it I can "use" the touchscreen "nativly". But thats the problem because it seems that it just reads out the coordinates of the touch input rather than the position in the VM-machine. It doesnt bother where the VM-"display" is located on the desktop. If i push at 3000;1000 the VM will detect the click on 3000;1000 even though it only covers the area until 2000;500.
The solution would be to detect the VM window if not 100% fullscreen and translate the touch input postition to the guest screen.