WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
231133
Dictated text gets duplicated when there are dictation alternatives
https://bugs.webkit.org/show_bug.cgi?id=231133
Summary
Dictated text gets duplicated when there are dictation alternatives
Neil Jhaveri
Reported
2021-10-02 20:54:25 PDT
Created
attachment 439992
[details]
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.
Attachments
Video demonstration
(4.97 MB, video/quicktime)
2021-10-02 20:54 PDT
,
Neil Jhaveri
no flags
Details
Test app
(33.35 KB, application/zip)
2021-10-02 20:56 PDT
,
Neil Jhaveri
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Neil Jhaveri
Comment 1
2021-10-02 20:56:02 PDT
Created
attachment 439993
[details]
Test app
Radar WebKit Bug Importer
Comment 2
2021-10-09 20:55:15 PDT
<
rdar://problem/84068339
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug