New issue
Advanced search Search tips

Issue 919918 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android , iOS
Pri: 3
Type: Feature



Sign in to add a comment

Add support to delete clipboard suggestions

Project Member Reported by tedc...@chromium.org, Jan 8

Issue description

Clipboard suggestions can not be deleted from the omnibox suggestion list, and I think it would be nice if they could be.

I believe Android has support for clearing the primary clipboard text:
https://developer.android.com/reference/android/content/ClipboardManager.html#clearPrimaryClip()

The ui/base implementation of Clipboard also supports Clear, so maybe this would work across multiple platforms?  For android specifically, that doesn't appear to call up and clear Android's clipboard, so we likely would need to do that as well.
 
Cc: ender@google.com mpear...@chromium.org
+mpearson - does this seem like a reasonable thing to add?

I've fat fingered and copied bogus worthless URLs into my clipboard and we don't have a way to undo that action and then they start showing up in my omnibox suggestions.  Was thinking this could be a nice bit of polish.
Components: -UI>Browser>Omnibox UI>Browser>Omnibox>ZeroSuggest
Labels: OS-Android OS-iOS Type-Feature
If a user tries the action to delete the clipboard omnibox suggestion, I think it might be best to simply suppress the suggestion until the clipboard changes again.  We already do that when the user clears browsing history.  (We don't clear the clipboard itself.)

I think this sounds more reasonable and expected than clearing the underlying clipboard data.

That said, this is a product / UX decision.  I suggest you consult ask someone appropriate. :-)

Sign in to add a comment