GTK4 apps "freezing"/not respecting inputs on touchscreen

Bug #2072378 reported by Aidan Chappuis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

When using GTK4 apps, touching a button using a touchscreen (commonly a dropdown menu or hamburger menu) sometimes causes the button to be highlighted slightly darker as if pressed, but then not do anything (e.g. not open the relevant menu) and leave the button highlighted even when the touch is removed.

When this happens, the app seems to ignore most other input, including the mouse. It sometimes ignores clicking the X to close it, does not let you click inside the application, etc. It still properly slightly highlights things as the mouse hovers over them, but does not respond to clicks. Touching elsewhere can sometimes remove or move the highlighting effect, but will generally not. It is sometimes possible to partially recover by for example clicking a different top tab in system monitor, but this does not fully recover and the app still must be closed. In some cases, it responds to a touch on the X (or use of "quit" in the dock) to close it, but not a click on the X.

I believe GTK4 is the common thread. Present in ubuntu settings, nautilus, clocks, the Gnome software store (the white one, not the orange snap one), and system monitor, all of which show as using gtk4 with `apt-cache rdepends libgtk-4-1`.

Steps to reproduce:
Open settings. Navigate to display settings. Using a touchscreen, try to open a dropdown menu. The menu will not open, and will stay highlighted. This is now in the unusual state described. Clicking anywhere in the app, including the X, will mostly not have an effect. The app will ignore some but not all touches.

System details:
Dell XPS 9365 2-in-1
Intel i7 7y75, 16gb RAM
Ubuntu 24.04, fresh installation.

Aidan Chappuis (zoup123)
affects: xserver-xorg-video-amdgpu (Ubuntu) → gtk4 (Ubuntu)
Revision history for this message
Aidan Chappuis (zoup123) wrote :

I tried using apport-collect 2072378, but it doesn't like that "gtk4" is the name in this bug report, but libgtk-4-1 is the name in ubuntu. Gives me an error about no package gtk4 existing, while launchpad won't let me put libgtk-4-1 as the package at issue and changes it to gtk4. If anyone has a workaround, I'm happy to send any needed info.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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