New issue
Advanced search Search tips

Issue 744979 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Caret blinks while holding backspace instead of being forced to be visible

Project Member Reported by derat@chromium.org, Jul 17 2017

Issue description

Google Chrome	59.0.3071.115 (Official Build) (64-bit)
Revision	3cf8514bb1239453fd15ff1f7efee389ac9df8ba-refs/branch-heads/3071@{#820}
OS	Linux

(Also Chrome OS ToT at M61.)

1. Focus a textarea.
2. Type some characters. Note that each time you hit a key, the caret becomes visible and the blink timer is restarted. While a key is held, the caret remains visible.
3. Now hit and/or hold the backspace key. The caret isn't forced to be visible for each key event (unlike when other keys are typed). Instead, it continues blinking at its normal rate.

If you're holding backspace to delete a long run of blank spaces, it's impossible to tell where the caret is while it's in the hidden phase of its blinking cycle.

Is there a particular reason we don't immediately show the caret on backspace like we do for other key events?

Also note that this is inconsistent with Views: if I type a bunch of spaces into the omnibox and then hold the backspace key, the caret remains visible while I'm deleting.
 

Comment 1 by tkent@chromium.org, Jul 17 2017

Cc: -tkent@chromium.org

Comment 2 by yosin@chromium.org, Jul 27 2017

Components: -Blink>Editing Blink>Compositing
Route to Blik>Compositing since it works fine on Windows. It seems compositing
related instead of paint invalidation, I guess all platform uses same invalidation
path.

Components: -Blink>Compositing Blink>Paint
Labels: BugSource-Chromium PaintTeamTriaged-20170731
Owner: schenney@chromium.org
Status: Assigned (was: Untriaged)
Painting bug, I suppose, although maybe more related to input? I'll own this and look for a simple fix.
Components: -Blink>Paint Blink>Editing
Owner: ----
Status: Untriaged (was: Assigned)
Editing controls the caret blinking code.

Comment 5 by yosin@chromium.org, Aug 21 2017

Components: -Blink>Editing Blink>Paint
Route to Blink>Paint, since caret blinking code works as same as all platforms and
it works fine for Mac and Windows.

There are Linux/Chrome OS specific code patch in paint.

Status: Available (was: Untriaged)
OK, we'll try to figure this out.
Project Member

Comment 7 by sheriffbot@chromium.org, Aug 23

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)

Sign in to add a comment