[Webkit-unassigned] [Bug 200221] [GTK] Can't type back-ticks and accents in Riot

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 30 03:23:54 PDT 2019


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

Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rniwa at webkit.org

--- Comment #14 from Carlos Garcia Campos <cgarcia at igalia.com> ---
It seems the problem is that slate is handling beforeinput and preventing the default implementation of insertFromComposition typing command. 

The reason why characters with accent work in other browsers is because they are not handled by the input method, the sequence is sent to the editor "Dead" "Quote" + "a" "KeyA" for example. GTK input method handles those cases and results is sent to the editor as final composition results using the insertFromComposition command. 

Any other composition will fail too, for example  CTRL + Shift + u + 0061 -> "a", but still works in other browsers (at least chromium and firefox). In this case the reason seems to be that other browsers don't implement the Input Events Level 2 for IME composition (See https://www.w3.org/TR/input-events-2/#event-order-during-ime-composition). So, they use insertCompositionText for all the composition and the final result result too. We use insertFromComposition for the final results.

I haven't been able to try it out in mac because I don't know how to write composed strings there.

So, I would say it's a bug in stale. The problem is that only affects us, for now at least.

-- 
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/20190830/33161de8/attachment-0001.html>


More information about the webkit-unassigned mailing list