Bug 256082

Summary: [GTK4] Picking an item from the emoji chooser does not work
Product: WebKit Reporter: Adrian Perez <aperez>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=212330
Bug Depends on:    
Bug Blocks: 210100    

Description Adrian Perez 2023-04-28 01:10:37 PDT
Steps to reproduce, with a GTK4 build (GTK3 works fine):

  1. Open data:text/html,<input>
  2. Make sure the input field has input focus.
  3. Tap Ctrl-; to bring up the emoji chooser.
  4. Pick any emoji.

Expected result:

  The chosen emoji is entered in the input field at the cursor location.

Actual result:

  The chosen emoji is never entered in the input field.
Comment 1 Adrian Perez 2023-04-28 01:37:39 PDT
Some investigation: using the “Insert Emoji” option from the
context menu for the input field works as expected, and code
execution goes through webkitWebViewBaseShowEmojiChooser() and
emojiChooserClosedemojiChooserEmojiPicked() -- it's only using
the keyboard to open the chooser with Ctrl-; that doesn't work
and these two functions aren't executed.

The same happens for bug #256080 so I am going to mark this one
as duplicate.

*** This bug has been marked as a duplicate of bug 256080 ***