New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 795337 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 136291
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

⌘-C doesn't copy selected Omnibox text with iPad Pro Smart Keyboard

Project Member Reported by satwood@google.com, Dec 15 2017

Issue description

Steps to reproduce the problem:
1. Copy some random text to the clipboard. 
2. Launch Chrome on an iPad Pro with a Smart Keyboard
3. Navigate to any website
4. Tap the Omnibox and note that the entire URL is selected.
5. On the Smart Keyboard, type ⌘-C (copy) keyboard shortcut
5. On the Smart Keyboard, type ⌘-V (paste) keyboard shortcut

What is the expected behavior?
The Omnibox should be unchanged, because the URL in the omnibox should have been copied to the clipboard in Step 5, and then the entire contents of the Omnibox should be replaced by the clipboard in step 6.

What went wrong?
The selected text is NOT copied to clipboard in Step 5

Did this work before? N/A 

Chrome version: 63.0..3259.73  Channel: stable
OS Version: iOS 11.2 (15C114)
Flash Version:
 

Comment 1 by pkl@chromium.org, Dec 18 2017

Cc: lpromero@chromium.org
Owner: stkhapugin@chromium.org
Status: Assigned (was: Unconfirmed)
Louis is familiar with issues related to external keyboards.

The underlying issue is that the omnibox text is not really selected in the sense of the iOS selection. We apply a blue square in the background and keyboard events like starting typing then remove the entire "selection", for example (and IIRC).

I think we could handle ⌘+C and copy the omnibox content  to the pasteboard, but I fear that since the omnibox is focused, it is catching the command.
Components: -UI UI>Input>KeyboardShortcuts
Components: UI>Browser>Omnibox
Labels: Hotlist-OmniboxKeyboardShortcuts

Comment 6 by satwood@google.com, Dec 19 2017

I will note that ⌘+V while the Omnibox is "pseudoselected" does in fact replace the contents with the pasteboard, so that suggests that something is already special casing keyboard shortcuts for this case.
Mergedinto: 136291
Status: Duplicate (was: Assigned)

Sign in to add a comment