Bug 1385211

Summary: Seeing two mice cursor on KDE NEON
Product: [Fedora] Fedora Reporter: Stefano <stefano.d>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 24CC: berrange, crobinso, dhgutteridge, tuksgig, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 15:32:13 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:
Attachments:
Description Flags
Sample VM config that exhibits the issue none

Description Stefano 2016-10-15 08:28:54 UTC
Description of problem:
When I execute KDE NEON, I see two mouse cursors: One from Gnome (host) and one from KDE (guest). They move with different speed and if the cursor from the host touches the bounds of the KDE desktop, the guest cursor can't move any more. So I have indeed a restriction in functionality which makes this bug serious.

I don't have this problem with Windows 10 and openSUSE Leap 42.2 Beta.

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

How reproducible:

Steps to Reproduce:
0. I only tested this with Gnome Wayland.
1. Download KDE Neon.
2. Create a new VM with OS Type Linux and Ubuntu 15.10 (I think, I can't see the setting any more after creating the vm)
3. Start KDE Neon. You'll se two cursors.

Actual results:
You'll se two cursors in the vm. When the cursor of the host touches the vm bounds, the guest cursor can't further move in this direction.

Expected results:

Seeing only the guest cursor.

Additional info:

Comment 1 Stefano 2016-10-16 13:20:51 UTC
I tested this with Gnome running the X server. – No problem. Seems to be Wayland specific.

Comment 2 David H. Gutteridge 2016-12-08 05:49:56 UTC
Confirming I see this too under Wayland and not under Xorg, so it's Wayland-specific. (My environment is NetBSD 7.99.40 running Xorg server 1.18.4 and Fluxbox as the wm.)

Comment 3 Cole Robinson 2016-12-13 17:16:35 UTC
Can anyone post their VM config for the non-working VM? sudo virsh dumpxml $vmname

Comment 4 David H. Gutteridge 2016-12-13 22:35:02 UTC
Created attachment 1231359 [details]
Sample VM config that exhibits the issue

Comment 5 Cole Robinson 2016-12-14 15:32:13 UTC
Your VM is missing a USB tablet device. From the command line you can do:

  sudo virt-xml $vmname --add-device --input tablet

Or add it via virt-manager's 'add hardware' wizard. Your VM might not have a tablet due to recent virt-manager bug 1370887 , but the issue of old style relative mouse behavior getting worse on wayland is tracked at bug 1285378, so duping to that

*** This bug has been marked as a duplicate of bug 1285378 ***