Bug 1765907

Summary: [regression] Using stylus on the default Gnome Wayland trigger segmentation fault on applications
Product: [Fedora] Fedora Reporter: Luya Tshimbalanga <luya_tfz>
Component: gtk3Assignee: Matthias Clasen <mclasen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 31CC: code, cosimo.cecchi, fmuellner, gnome-sig, jadahl, mclasen, otaylor, philip.wyett
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gtk3-3.24.13-1 gtk3-3.24.13-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-29 03:47:03 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:

Description Luya Tshimbalanga 2019-10-27 08:58:20 UTC
Description of problem:
Applications running on Gnome Shell on Wayland crashed upon contact with a stylus equipped on tablets, convertible touch screen laptops and tablet pc. The issue does not happen when running on Xorg session and the touch screen input is unaffected.

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

How reproducible:
Always

Steps to Reproduce:
1. Use stylus on the default Gnome on Wayland
2.
3.

Actual results:
Applications segmented fault

Expected results:
Applications should run without issue using a stylus

Additional info:
The severity is very high because it can lead to the loss of data for users like artists. Attached is the upstream report

Comment 1 Luya Tshimbalanga 2019-10-27 17:54:43 UTC
Upstream provided the patch on https://gitlab.gnome.org/GNOME/gtk/commit/e997ef60da5388e51e0d1afc2f72443a56c36037

It will e nice to back port it for the current release.

Comment 2 Luya Tshimbalanga 2019-11-07 03:27:12 UTC
Reading the bug report on https://gitlab.gnome.org/GNOME/gtk/issues/2157, it turned out the problem is on GTK3 when using scale-monitor-framebuffer to 125% on Wayland session. 
The fix is already available and it will be nice to get it on this release. Assigning the issue to GTK3 and referencing upstream report.

Comment 3 Luya Tshimbalanga 2019-11-29 03:47:03 UTC
The recent updated of GTK3 https://bodhi.fedoraproject.org/updates/FEDORA-2019-85035f9b75 fixed the crash. Closing this report as errata.

Comment 4 Fedora Update System 2019-11-29 06:37:30 UTC
FEDORA-2019-85035f9b75 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-85035f9b75

Comment 5 Fedora Update System 2019-11-30 00:56:36 UTC
gtk3-3.24.13-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.