Bug 2100321

Summary: GNOME shell 42.2 X11 after touchscreen event and then moving mouse, mouse does not show
Product: [Fedora] Fedora Reporter: lixiaoyi13691419520
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED COMPLETED QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: adscvr, fmuellner, gnome-sig, jadahl, otaylor, philip.wyett
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-21 15:54:28 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:
Attachments:
Description Flags
Video that demonstrates the bug none

Description lixiaoyi13691419520 2022-06-23 04:27:36 UTC
Created attachment 1892024 [details]
Video that demonstrates the bug

Description of problem:
When using GNOME shell 42.2 and X11, the mouse disappears after touching the touchscreen. However, after moving the mouse, the mouse does not show up.

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

How reproducible:
Always reproducible

Steps to Reproduce:
1. Get a laptop with touchscreen, boot into Fedora 36 (can be Live CD)
2. Exit Wayland and enter X11 mode
3. Open a window (e.g. nautilus)
4. Place the mouse at location A
5. Touch on the window (e.g. nautilus) at location B. The mouse / cursor should disappear
6. Move the mouse

Actual results:
At step 6, the mouse / cursor does not re-appear. However, from the behavior of widgets in nautilus, the mouse is moving and can control the widgets.

Expected results:
At step 6, the mouse / cursor re-appears at location B.

Less acceptable result:
At step 6, the mouse / cursor re-appears at location A. This is the behavior of Wayland.

Additional info:
See attached video, or https://youtube.com/shorts/TCH1ugjsIfI

Comment 1 Ben Cotton 2022-08-09 13:19:06 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 2 lixiaoyi13691419520 2023-02-21 15:54:28 UTC
This is a bug in Mutter, see https://gitlab.gnome.org/GNOME/mutter/-/issues/2344 . This bug was fixed in version 43.3, and Fedora shipped version 43.3 recently.