Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 5 users
Status: Fixed
Last visit > 30 days ago
Closed: Aug 2009
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: ----
Type: Bug

  • Only users with Commit permission may comment.

Sign in to add a comment
Linux omnibox control key behavior is incorrect
Project Member Reported by, Aug 24 2009 Back to list
What steps will reproduce the problem?
1. Start typing a URL that gets inline-autocompleted, e.g. "".
2. Press the Control key.

What is the expected result?
On Windows, the inline-autocompleted text remains highlighted.

What happens instead?
On Linux ToT, the inline-autocompleted text disappears when the Control key is 
pressed and reappears when it is released.  This makes it impossible to hit Ctrl-
L and then Delete or Backspace while you're typing text into the omnibox to 
select and clear it all -- when 'L' is pressed all of the text is highlighted, 
but the selection gets reset to just span the inline-autocompleted text when you 
release Control.

Possibly related: brettw points out that hitting a Ctrl-combination is supposed 
to stop the "append .com" behavior, so that you can hold Control, press V to 
paste a URL from the clipboard, press Enter, and then release Control, without 
.com getting added to your URL (please let me know if I'm mis-characterizing 
this, Brett).
Comment 1 by, Aug 24 2009
Comment 2 by, Aug 24 2009
If we can find out what caused this, we should revert it ASAP before we make a dev 
Comment 3 by, Aug 25 2009
Status: Assigned
Comment 4 by, Aug 25 2009
I added the support of control key in CL, which
should follow the same behavior than Windows version. I'll check the code to see
what's wrong with it.
Comment 5 by, Aug 26 2009
Status: Started
CL fixes this issue.
Comment 6 by, Aug 28 2009
The following revision refers to this bug: 

r24705 | | 2009-08-27 17:31:28 -0700 (Thu, 27 Aug 2009) | 10 lines
Changed paths:

Fix control key and paste behavior in Linux omnibox.

BUG= 12316 : Linux Omnibox, autocomplete on paste annoying.
BUG= 13096 : Support desired_tld in Linux omnibox
BUG= 20166 : Linux omnibox control key behavior is incorrect
TEST=Select all text in omnibox and paste something into omnibox by either ctrl-v, paste item in context menu or middle click, to see if inline autocomplete is not activated.
TEST=Input something in omnibox, eg. "goog", make sure the inline autocomplete is activated, then press ctrl key to see if the inline autocomplete is still there.
TEST=Input something in omnibox, eg. "cnn", press ctrl-Enter to see if is opened.

Review URL:

Comment 7 by, Aug 28 2009
Status: Fixed
Comment 8 by, Aug 31 2009
 Issue 20701  has been merged into this issue.
Comment 9 by, Sep 3 2009
 Issue 21009  has been merged into this issue.
Project Member Comment 10 by, Oct 12 2012
Labels: Restrict-AddIssueComment-Commit
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
Sign in to add a comment