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

Issue 2426983002: Revert of [Mac] Preserve original selection when suggesting completions with diacritics (Closed)

Created:
4 years, 2 months ago by lgrey
Modified:
4 years, 2 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of [Mac] Preserve original selection when suggesting completions with diacritics (patchset #13 id:240001 of https://codereview.chromium.org/2395233005/ ) Reason for revert: This almost definitely caused crbug.com/656972, but I can't repro the issue. Reverting while I investigate. Original issue's description: > Preserve original selection when suggesting completions with diacritics > > When NSTextView is asked to select a range which does not begin on a grapheme > boundary, it expands the selection to the previous boundary. This change > preserves the original selection, then contracts the range sent to > NSTextView to fall on the *next* boundary. > > Text editing operations that operate on the selection use the original > selection instead of the visual selection. > > Since the omnibox view uses the text view's selected range, the > view's |selectedRange| returns the original range and not the visual > range. > BUG=603883 > > Committed: https://crrev.com/8a8bae9fbc2e72afc208a0376c0f4a49388a6da3 > Cr-Commit-Position: refs/heads/master@{#425671} TBR=asvitkine@chromium.org,erikchen@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=603883 Committed: https://crrev.com/67434dc6fcbb9c1f734b147e75183d864b33f174 Cr-Commit-Position: refs/heads/master@{#425975}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -156 lines) Patch
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.h View 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm View 7 chunks +9 lines, -86 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor_unittest.mm View 1 chunk +0 lines, -37 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_view_mac_browsertest.mm View 1 chunk +0 lines, -19 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
lgrey
Created Revert of [Mac] Preserve original selection when suggesting completions with diacritics
4 years, 2 months ago (2016-10-18 15:22:31 UTC) #2
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/2426983002/1
4 years, 2 months ago (2016-10-18 15:22:43 UTC) #3
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 2 months ago (2016-10-18 15:22:45 UTC) #5
Alexei Svitkine (slow)
lgtm
4 years, 2 months ago (2016-10-18 15:24:04 UTC) #6
lgrey
4 years, 2 months ago (2016-10-18 15:24:45 UTC) #8
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/2426983002/1
4 years, 2 months ago (2016-10-18 15:26:14 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-18 15:56:26 UTC) #11
commit-bot: I haz the power
4 years, 2 months ago (2016-10-18 15:58:16 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/67434dc6fcbb9c1f734b147e75183d864b33f174
Cr-Commit-Position: refs/heads/master@{#425975}

Powered by Google App Engine
This is Rietveld 408576698