Bug 1674311

Summary: [wayland] Mouse pointer visibly leaves spice-gtk widget in relative mouse mode
Product: Red Hat Enterprise Linux 8 Reporter: David Jaša <djasa>
Component: spice-gtkAssignee: Francesco Giudici <fgiudici>
Status: CLOSED ERRATA QA Contact: SPICE QE bug list <spice-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: dblechte, fgiudici, rbalakri, rduda, tpelka, uril, victortoso
Target Milestone: rc   
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spice-gtk-0.38-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 04:07:05 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:
Embargoed:
Bug Depends On: 1682775    
Bug Blocks: 1806601    

Description David Jaša 2019-02-10 23:15:32 UTC
Description of problem:
Mouse pointer visibly leaves spice-gtk widget in relative mouse mode

Version-Release number of selected component (if applicable):
spice-gtk3-0.35-7.el8.x86_64

How reproducible:
always

Steps to Reproduce:
1. in a VM with disabled vmport (<features><vmport state='off'/>) or USB tablet and vdagent not active, move mouse pointer consistently in one direction
2.
3.

Actual results:
mouse pointer leaves the widget

Expected results:
mouse pointer, wherever it is, should never apparently leave spice-gtk widget

Additional info:
This is old bug dating to earliest versions of spice-gtk, but the oldie spicec never suffered from it

Comment 1 Victor Toso 2019-02-12 09:52:09 UTC
Does not happen when running with x11 backend, that is, GDK_BACKEND=x11 remote-viewer ..
We will address wayland backend issues upstream and target is 8.1

Comment 2 David Blechter 2019-08-16 14:26:39 UTC
Wayland related issues where not addressed yet, moving to the backlog

Comment 3 Francesco Giudici 2020-05-11 09:44:33 UTC
Issue is due to lack of official, stable support in Wayland for pointer locking in the widget.
Wayland-protocols come to the rescue.. patch merged upstream:
https://gitlab.freedesktop.org/spice/spice-gtk/-/commit/dd7015d57c

Comment 4 Victor Toso 2020-05-20 10:24:56 UTC
Ongoing build, I'm setting ITR to 8.3.0 to get the release+

Comment 14 errata-xmlrpc 2020-11-04 04:07:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (spice-gtk bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:4817