RESOLVED FIXED Bug 238323
[GTK4] UI process hang when opening HTML select elements (combo boxes)
https://bugs.webkit.org/show_bug.cgi?id=238323
Summary [GTK4] UI process hang when opening HTML select elements (combo boxes)
Michael Catanzaro
Reported 2022-03-24 07:49:06 PDT
I'm seeing very frequent UI process hangs when attempting to report bugs on this Bugzilla. The problem occurs when clicking on the select elements (combo boxes) next to the "Hardware" or "OS" fields when reporting bugs. (You'll notice I've left those at Unspecified to avoid triggering this bug.) The entire UI process hangs when clicking on the element. The bug is not 100% reproducible, but you should be able to trigger it if you try a few times.
Attachments
Carlos Garcia Campos
Comment 1 2022-03-24 08:46:53 PDT
Is this GTK4 only?
Michael Catanzaro
Comment 2 2022-03-24 09:33:27 PDT
Yes, this never happens with GTK 3.
Michael Catanzaro
Comment 3 2022-03-26 08:34:34 PDT
Another reproducer: try to give r+ to a patch on this Bugzilla.
Michael Catanzaro
Comment 4 2022-03-26 08:38:15 PDT
Checking with gdb, it looks like the UI process is just calling poll() when this happens, and hovering buttons in the Epiphany header bar triggers animations, so I don't think this is a traditional hang or deadlock where the UI process is totally unresponsive. However, it's not just web views that are busted: the buttons in the header bar don't do anything, so GTK itself is somehow broken.
Alice Mikhaylenko
Comment 5 2022-08-04 01:56:21 PDT
This looks like yet another instance of the bug behind https://gitlab.gnome.org/GNOME/gtk/-/issues/2877 or the one where gtk4-demo sidebar items remain pressed after double clicking Basically, input is completely busted when another surface is spawned or destroyed in the middle of an event sequence - e.g. a click.
Alice Mikhaylenko
Comment 6 2022-09-02 07:02:14 PDT
Ok, so I can still reproduce it so apparently that wasn't it.
Alice Mikhaylenko
Comment 7 2022-09-07 07:14:18 PDT
*** Bug 240922 has been marked as a duplicate of this bug. ***
Alice Mikhaylenko
Comment 8 2022-09-07 07:16:20 PDT
EWS
Comment 9 2022-09-07 08:50:54 PDT
Committed 254237@main (4e07bc369ad1): <https://commits.webkit.org/254237@main> Reviewed commits have been landed. Closing PR #4095 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.