[Webkit-unassigned] [Bug 231133] New: Dictated text gets duplicated when there are dictation alternatives

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 2 20:54:25 PDT 2021


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

            Bug ID: 231133
           Summary: Dictated text gets duplicated when there are dictation
                    alternatives
           Product: WebKit
           Version: Safari 15
          Hardware: Mac (Intel)
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: neil at neiljhaveri.com

Created attachment 439992

  --> https://bugs.webkit.org/attachment.cgi?id=439992&action=review

Video demonstration

When dictating text into a WKWebView displaying a contenteditable element, the inserted text is duplicated if there are dictation alternatives.

STEPS TO REPRODUCE:
1. Create a test app with a WKWebView, call `webView.loadHTMLString("<body contenteditable=\"true\"></body>", baseURL:nil)`.
2. Run test app, choose Edit > Start Dictation
3. Say "Foo" then "Bar" 
4. End dictation
==> Dictation inserts "Food barFood bar"

If you speak a phrase clearly and dictation does not have alternative options, such as "Hello there", this duplication does not occur.

Interestingly, this bug does not occur in Safari itself, only when using a WKWebView directly.

-- 
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/20211003/caaa42bd/attachment.htm>


More information about the webkit-unassigned mailing list