Bug 1319025

Summary: Pointer location in virt-viewer decouples from pointer location in viewport
Product: [Community] Virtualization Tools Reporter: Phillip Heller <pheller>
Component: virt-viewerAssignee: Daniel Berrangé <berrange>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: tuksgig, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-11 10:58:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Phillip Heller 2016-03-18 12:59:11 UTC
Description of problem:  Under a gnome-wayland session, the pointer movement within virt-viewer is not scaled to the size relative to the gnome-wayland viewport.


Version-Release number of selected component (if applicable): 1.2.1


How reproducible: Happens every time.


Steps to Reproduce:
1. Open a gnome-wayland session (on Fedora 23 in my case)
2. Create a virtual machine with virt-manager
3. Move mouse into top of virt-viewer, click to allow viewer to capture pointer
4. Move mouse towards bottom out of virt-viewer

Actual results:

Mouse pointer reappears in shell well before reaching the bottom edge of virt-viewer.


Expected results:

Mouse pointer reappears in shell after moving 1px below bottom edge of virt-viewer.

Additional info:

Comment 1 Daniel Berrangé 2020-09-11 10:58:38 UTC
Early deployments of Wayland did not support the pointer grab behaviour virt-viewer required, which probably explains the behaviour seen. Currently deployments of Wayland now allow virt-viewer to do the pointer grab it needs so it is expected this issue is probably no longer a problem.