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

Issue 569003002: Fix for Insertion Handle disappearing (Closed)

Created:
6 years, 3 months ago by AviD
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, nona+watch_chromium.org, penghuang+watch_chromium.org, James Su, yukishiino+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix for Insertion Handle disappearing In RWHVA::SelectionBoundsChanged, there is a check for anchor_rect x and y not being 0. Due to this, whenever the cursor reaches 0 position (either left or top), it triggers HideAndDisallowShowAutomatically. This causes the insertion handle not to be shown on scroll end. Restricting this condition to only check for the origin minimizes the likelihood of the issue. BUG=414020 Committed: https://crrev.com/057d93c5bc7798ea1343ed6698166bfb5d359344 Cr-Commit-Position: refs/heads/master@{#295009}

Patch Set 1 #

Total comments: 2

Patch Set 2 : changed according to review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
AviD
@jdduke: Is there any particular reason for having this check? If yes, then can we ...
6 years, 3 months ago (2014-09-13 11:43:01 UTC) #2
jdduke (slow)
On 2014/09/13 11:43:01, AviD wrote: > @jdduke: > Is there any particular reason for having ...
6 years, 3 months ago (2014-09-15 15:02:13 UTC) #3
jdduke (slow)
https://codereview.chromium.org/569003002/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (left): https://codereview.chromium.org/569003002/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#oldcode832 content/browser/renderer_host/render_widget_host_view_android.cc:832: if (params.anchor_rect.x() && params.anchor_rect.y()) Actually, we could probably change ...
6 years, 3 months ago (2014-09-15 15:37:13 UTC) #4
AviD
@jdduke Could you please take a look? https://codereview.chromium.org/569003002/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (left): https://codereview.chromium.org/569003002/diff/1/content/browser/renderer_host/render_widget_host_view_android.cc#oldcode832 content/browser/renderer_host/render_widget_host_view_android.cc:832: if (params.anchor_rect.x() ...
6 years, 3 months ago (2014-09-15 16:22:19 UTC) #5
jdduke (slow)
On 2014/09/15 16:22:19, AviD wrote: > Yes, this will reduce the frequency of the issue. ...
6 years, 3 months ago (2014-09-15 16:34:07 UTC) #7
aelias_OOO_until_Jul13
lgtm
6 years, 3 months ago (2014-09-15 17:56:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/569003002/20001
6 years, 3 months ago (2014-09-16 03:41:43 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001) as baf04e93e28e31d56034665721c00805512a9f05
6 years, 3 months ago (2014-09-16 04:49:59 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-16 04:52:53 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/057d93c5bc7798ea1343ed6698166bfb5d359344
Cr-Commit-Position: refs/heads/master@{#295009}

Powered by Google App Engine
This is Rietveld 408576698