[Webkit-unassigned] [Bug 226681] [GTK] Long press context menu only appears after releasing the finger

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 7 02:34:09 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=226681

--- Comment #1 from Carlos Garnacho <carlosg at gnome.org> ---
This is not a bug from my perspective. This was made to unbreak the pointer-emulation mode that allows text selection and was broken by other additional layers of input handling.

Like with GtkScrolledWindow/GtkTextView, long press now disables scroll mode and enables pointer alike interaction with the content, i.e. text selection and drags. Only if the long press turned out to be stationary after releasing it does know that neither scroll nor text selection happened, thus the context menu can be shown, it can't be had both ways.

TBH, I consider the context menu here nothing more than a temporal workaround. Even though it's a shortcut that's been popularized by apps, GTK has stayed away from reusing pointer-oriented UI on its own widgets, and from "long press to popup something" in general, I think WebKitGTK should follow that.

I consider the touch-friendly special UI to be an integral part of text handles support, I do intend to work on that feature altogether at some point.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210607/d3ff57a5/attachment.htm>


More information about the webkit-unassigned mailing list