Bug 1319025 - Pointer location in virt-viewer decouples from pointer location in viewport
Summary: Pointer location in virt-viewer decouples from pointer location in viewport
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-viewer
Version: unspecified
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-18 12:59 UTC by Phillip Heller
Modified: 2020-09-11 10:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-11 10:58:38 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.