Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Issue 2943033002: Remove zero-length spaces from Android spelling suggestions (Closed)

Created:
3 years, 6 months ago by rlanday
Modified:
3 years, 6 months ago
Reviewers:
timvolodine
CC:
agrieve+watch_chromium.org, chromium-reviews, groby+spellwatch_chromium.org, rlp+watch_chromium.org, rouslan+spell_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove zero-length spaces from Android spelling suggestions It turns out that the Android spellchecker is adding zero-length spaces (\u200b) to the end of some suggestions (it might be particular to multi-word suggestions but I'm not sure). We need to filter these out because applying these suggestions (support being added in https://codereview.chromium.org/2931443003) is causing composition underlines to exhibit odd behavior. BUG=715365 Review-Url: https://codereview.chromium.org/2943033002 Cr-Commit-Position: refs/heads/master@{#480173} Committed: https://chromium.googlesource.com/chromium/src/+/f55a0f50100a091e09af261e0350f0efae18d872

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M components/spellcheck/browser/android/java/src/org/chromium/components/spellcheck/SpellCheckerSessionBridge.java View 1 chunk +6 lines, -1 line 1 comment Download

Messages

Total messages: 12 (5 generated)
rlanday
3 years, 6 months ago (2017-06-16 00:35:03 UTC) #3
timvolodine
one question below, otherwise looks fine https://codereview.chromium.org/2943033002/diff/1/components/spellcheck/browser/android/java/src/org/chromium/components/spellcheck/SpellCheckerSessionBridge.java File components/spellcheck/browser/android/java/src/org/chromium/components/spellcheck/SpellCheckerSessionBridge.java (right): https://codereview.chromium.org/2943033002/diff/1/components/spellcheck/browser/android/java/src/org/chromium/components/spellcheck/SpellCheckerSessionBridge.java#newcode130 components/spellcheck/browser/android/java/src/org/chromium/components/spellcheck/SpellCheckerSessionBridge.java:130: if (suggestion.charAt(suggestion.length() - ...
3 years, 6 months ago (2017-06-16 15:25:37 UTC) #4
rlanday
On 2017/06/16 at 15:25:37, timvolodine wrote: > https://codereview.chromium.org/2943033002/diff/1/components/spellcheck/browser/android/java/src/org/chromium/components/spellcheck/SpellCheckerSessionBridge.java#newcode130 > components/spellcheck/browser/android/java/src/org/chromium/components/spellcheck/SpellCheckerSessionBridge.java:130: if (suggestion.charAt(suggestion.length() - 1) == ...
3 years, 6 months ago (2017-06-16 16:50:08 UTC) #5
timvolodine
On 2017/06/16 16:50:08, rlanday wrote: > On 2017/06/16 at 15:25:37, timvolodine wrote: > > > ...
3 years, 6 months ago (2017-06-16 17:20:43 UTC) #6
timvolodine
lgtm overall
3 years, 6 months ago (2017-06-16 17:20:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2943033002/1
3 years, 6 months ago (2017-06-16 20:22:44 UTC) #9
commit-bot: I haz the power
3 years, 6 months ago (2017-06-16 21:20:55 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/f55a0f50100a091e09af261e0350...

Powered by Google App Engine
This is Rietveld 408576698