Bug 2210260

Summary: Moving window with stylus locks touchscreen
Product: [Fedora] Fedora Reporter: hackintoshfive
Component: qtAssignee: Than Ngo <than>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: jreznik, kasal, kevin, rdieter, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description hackintoshfive 2023-05-26 10:25:18 UTC
Description of problem:
When attempting to move a window of certain applications using the stylus or finger with a Wacom display, the window does not move. Furthermore, no input is registered using the touchscreen, either with the stylus or a finger, until the window is placed with the touchpad or a mouse.

Version-Release number of selected component (if applicable):
qt5-qtbase-5.15.9-1.fc38.src.rpm
qt5-qtwayland-5.15.9-1.fc38.src.rpm
qt5-qtx11extras-5.15.9-1.fc38.src.rpm
mutter-44.1-1.fc38.src.rpm

How reproducible:
Every time on my Lenovo L13 Yoga, using Anki or Ungoogled Chromium from Flathub or QtPass from the Fedora repos.

Steps to Reproduce:
1. Click and drag using the stylus or touchscreen on the window decoration, to move it around the screen
2. Try to click on a button, either in the system top-bar, or in another application, using the touchscreen or stylus
3. Use the mouse or trackpad to place the window.
4. Click a button in the system top-bar or another application.
5. Try to click a button in that application which you moved, using the mouse. 
6. Try to click the same button with the touchscreen/stylus
7. Double-tap anywhere on the screen with the touchscreen/stylus and try again.

Actual results:
1. The window does not move
2. The button does not get clicked
3. The window is placed successfully
4. The system is now responding
5. The application does not respond to the mouse
6. But it does respond to the stylus/touchscreen
7. Now it responds to both

Expected results:
1. The window is placed
2. The button is clicked
3. N/A
4. Button is clicked
5. Button is clicked
6. Button is clicked
7. Button is clicked

Additional info:
I think the issue is with Qt apps only. It probably will need a bug report filed with Qt but I don't know how to do that. I'm using GNOME 44.1 on Fedora 38 with Wayland. Was a fresh install on 38.