New issue
Advanced search Search tips

Issue 922615 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Today
Cc:
Components:
EstimatedDays: ----
NextAction: 2019-01-16
OS: Chrome
Pri: 1
Type: Bug
Team-Accessibility



Sign in to add a comment

'cc' is copied after issuing Ctrl+A, Ctrl+C on any textfield (ChromeVox).

Project Member Reported by dtseng@chromium.org, Jan 16 (6 days ago)

Issue description

- In any text field (e.g. omnibox, <textarea> on a page)
- with ChromeVox on
- press Ctrl+A, Ctrl+C

result:
regardless of what's in the input, 'cc' is copied

expected:
the selection is copied
 
Project Member

Comment 1 by bugdroid1@chromium.org, Today (12 hours ago)

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/038278e778f0c4caa6acf528c4258f8f5d6e7c8c

commit 038278e778f0c4caa6acf528c4258f8f5d6e7c8c
Author: David Tseng <dtseng@chromium.org>
Date: Tue Jan 22 18:00:50 2019

Fix clipboard output

ChromeVox uses exec command to read the content of the clipboard. Due to lag in receiving the event and likely underlying bugs in the way this event gets delivered to the extension, ChromeVox had set an arbitrary 20ms delay before attempting a paste to read the clipboard contents.

This in practice worked quite well. However, a corner case cropped up when issuing Ctrl+a, followed by Ctrl+c. This seemed to always trigger a 'cc' to be copied. This seems to be as a result of perfectly receiving the 'c' key down/up in the extension while the fake textarea has focus.

This is fixed by eliminating the setTimeout call.

Bug:  922615 
Change-Id: I5d319b443a28f4cd49e38b93d9e67342a1749436
Reviewed-on: https://chromium-review.googlesource.com/c/1415690
Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org>
Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#624830}
[modify] https://crrev.com/038278e778f0c4caa6acf528c4258f8f5d6e7c8c/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js

Comment 2 by dtseng@chromium.org, Today (12 hours ago)

Status: Fixed (was: Started)

Sign in to add a comment