Some shell elements don't respond to touchscreen in Xorg sessions

Bug #2063005 reported by theofficialgman
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mutter
New
Unknown
mutter (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Starting in GNOME 46 touchscreen input on the X11 session has become unusable

the touchscreen is responsive on the desktop itself (moving the cursor) but does not interact with most things

on GNOME 46 on the current version of Ubuntu Noble, touch input does NOT work with:
- On screen keyboard (touch is registered but no keystrokes get input)
- clicking options in gnome appindicators (indicators can be opened but clicking any option does nothing)
- interacting with application overview (cannot press left and right buttons or search bar)
- selecting textboxs
- any of the touch gestures (eg: swipe up from bottom to bringup keyboard)

All of the above worked just fine on GNOME 45 on Ubuntu Mantic (and Ubuntu Noble from March and earlier before it was "upgraded" to GNOME 46).

Tested on a fresh image as well as an old image from February running GNOME 45 upgraded to the latest packages with GNOME 46
---
ProblemType: Bug
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu
DisplayManager: sddm
DistroRelease: Ubuntu 24.04
InstallationDate: Installed on 2021-06-21 (1035 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
Package: xorg-server
PackageArchitecture: amd64
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
ProcVersionSignature: Ubuntu 6.8.0-28.28-generic 6.8.1
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions: mutter-common 46.0-1ubuntu7
Tags: noble
Uname: Linux 6.8.0-28-generic x86_64
UpgradeStatus: Upgraded to noble on 2024-04-21 (0 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev render sambashare sudo
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.28.1-0ubuntu2
Architecture: arm64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
DisplayManager: gdm3
DistroRelease: Ubuntu 24.04
Package: xorg-server
PackageArchitecture: arm64
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
RelatedPackageVersions: mutter-common 46.0-1ubuntu7
Tags: noble third-party-packages
Uname: Linux 4.9.140-l4t aarch64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip gdm lpadmin plugdev sambashare sudo users video weston-launch
_MarkForUpload: True

description: updated
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

  apport-collect 2063005

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in mutter (Ubuntu):
status: New → Incomplete
tags: added: noble touch touchscreen
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Partially confirmed. It looks like the onscreen keyboard is always disabled by default. You have to enable it in:

 Settings > Accessibility > Typing > Screen Keyboard = ON

After I did that, all the features mentioned here started working.

affects: mutter (Ubuntu) → gnome-shell (Ubuntu)
Changed in gnome-shell (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → Medium
summary: - touchscreen input critical regressions in GNOME 45 to 46
+ Onscreen keyboard is disabled by default
tags: added: osk
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Onscreen keyboard is disabled by default

Looks like it's been disabled for at least 6 years:

https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/blob/master/schemas/org.gnome.desktop.a11y.applications.gschema.xml.in?ref_type=heads

so whether or not it gets toggled automatically is probably up to gnome-shell.

Changed in gsettings-desktop-schemas (Ubuntu):
status: New → Won't Fix
Changed in gnome-shell (Ubuntu):
importance: Medium → Low
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sorry, I missed the "X11 session" part. Bug confirmed.

no longer affects: gsettings-desktop-schemas (Ubuntu)
summary: - Onscreen keyboard is disabled by default
+ Some shell elements don't respond to touchscreen in Xorg sessions
Changed in gnome-shell (Ubuntu):
importance: Low → Medium
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Previously reported in bug 2029416 but since that release is deprecated we will track it here.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mutter (Ubuntu):
status: New → Confirmed
Changed in xorg-server (Ubuntu):
status: New → Confirmed
Revision history for this message
theofficialgman (theofficialgman) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
theofficialgman (theofficialgman) wrote : GsettingsChanges.txt

apport information

Revision history for this message
theofficialgman (theofficialgman) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
theofficialgman (theofficialgman) wrote : ShellJournal.txt

apport information

Revision history for this message
theofficialgman (theofficialgman) wrote : monitors.xml.txt

apport information

Revision history for this message
theofficialgman (theofficialgman) wrote :

I've confirmed the issue on multiple devices with touchscreen now (x86_64 laptop with touchscreen and an ARM64 tablet with touchscreen)

The attached info above is from the x86_64 laptop.

Revision history for this message
theofficialgman (theofficialgman) wrote : Dependencies.txt

apport information

tags: added: third-party-packages
description: updated
Revision history for this message
theofficialgman (theofficialgman) wrote : GsettingsChanges.txt

apport information

Revision history for this message
theofficialgman (theofficialgman) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
theofficialgman (theofficialgman) wrote : ShellJournal.txt

apport information

Revision history for this message
theofficialgman (theofficialgman) wrote : monitors.xml.txt

apport information

Revision history for this message
theofficialgman (theofficialgman) wrote :

the attached info above are from the ARM64 tablet

Revision history for this message
theofficialgman (theofficialgman) wrote :

I have filed an upstream bug since this seems to be going nowhere currently https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7626

Changed in gnome-shell:
status: Unknown → New
Revision history for this message
theofficialgman (theofficialgman) wrote (last edit ):

Daniel, a user has bisected and confirmed the bug in mutter (see linked bug report). I have removed the affects from gnome-shell because of this.

no longer affects: gnome-shell
no longer affects: gnome-shell (Ubuntu)
Changed in mutter:
status: Unknown → New
no longer affects: xorg-server (Ubuntu)
Changed in mutter (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.