Bug 4322

Summary: two mouse pointers in wayland on qemu
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: graphicsAssignee: Ross Burton <ross.burton>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Low CC: alexandru.damian, meta.mr.watcher, meta.watcher, ross.burton, sgw, valentin.popa
Version: 1.4   
Target Milestone: Future   
Hardware: Other   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
2 pointers none

Description Alexandru Georgescu 2013-04-16 16:08:39 UTC
Created attachment 1177 [details]
2 pointers

poky dylan dab237bc6a7679dfeaa981c14736aedc7b04ecb9


STEPS TO REPRODUCE
1. Build a core-image-sato with Wayland (qemux86-64)
2. Boot it  and start Weston compositor
3. Play with the mouse

EXPECTED RESULTS
3. Only 1 pointer is displayed

ACTUAL RESULTS
3. There are 2 pointers displayed (one from Host and one from the virtual machine).


see screenshot for exemplification.
Comment 1 Ross Burton 2013-04-17 08:23:57 UTC
Presumably because Sato-in-Qemu is configured with the input device as a touch panel, and an invisible X cursor (strictly speaking a point theme with no image content, not hidden in the XFixes sense).  With this the host pointer works as expected.

Then you run a nested Weston.  This tells X to hide it's cursor (which is already hidden) and draws it's own.  At no point was Qemu told to hide it's own cursor.
Comment 2 Ross Burton 2013-04-17 08:26:43 UTC
Slight correction - mbwm does use XFixes instead of a cursor theme to hide the cursor.
Comment 3 valentin 2014-04-03 14:59:22 UTC
Moved to 1.5.2
Comment 4 Ross Burton 2018-04-10 16:35:42 UTC
I'm calling this expected behaviour if you do something unusual.