-
Notifications
You must be signed in to change notification settings - Fork 1.3k
If I long-press on URL bar with an externally-copied URL in my clipboard, Android spams a notification "Firefox pasted from your clipboard" which is confusing and covers up the actual "paste" option #26564
Comments
Screencast: Screenshot of the moment the issue happens (when I want to tap "Paste"/"Paste&Go" but they're covered up by the notification that confusingly tells me that Firefox already pasted even though I didn't ask it to yet): |
That is the system notification, and we do not control the content. I do agree it is confusing. |
Yup, I know/understand. Nonetheless, we're doing something to make it appear; and we're simultaneously popping up our own menu directly behind it, with options that we know that the user probably wants to tap.
FWIW for me personally, the main pain-point here isn't the confusion; it's more the usability issue. |
Hey, found the issue interesting had a look running current master. Found something else when testing, if the field is empty and the clipboard contain a non url text then when trying to paste the notification will trigger but no option to paste will appear (If there is text in the url/search bar then Copy or Paste is offered). Should it be opened in it's own issue ? The notification issue is linked to the "Paste & Go" option which require to check the content of the clipboard. Built a quick version without it and the notification appear only after the text is pasted. Additionally since it's a simple paste the keyboard open and the notification appear over it so it's less intrusive (the pasted text is still visible). Due to the delay before the notification disappear the "Paste & Go" make navigation simpler but slower; if the option is not offered the user need to press navigate but it's still visible even when the notification is active. I don't think moving the different actions is really possible (moving it over the urlbar would obfuscate it not really pertinent if the user want to copy ? and moving those actions anywhere else would make them disjointed ?). So as a fix the only option i see at the moment is to remove the "Paste & Go" option or is there something else I'm missing that could be done ? 🤔 |
Users have the option to disable the toast message alert from the OS settings menu (Settings -> Privacy -> Show clipboard access toggle). |
removing needs ux label - i'm not sure what we can do here to improve the situation without first understanding all the constraints and possibilities from eng. from what i can tell this notification is controlled by the OS and caused by the paste and go feature. i don't believe we are wanting to remove the feature. none of that makes it less frustrating though. |
Note that the flow while similar is worse (imo) when the intent is to copy. After the long press the user get a vibration feedback, the options open (copy, paste ...) but is masked by the OS notification. If one just quickly glance at it they might think that the url is copied (got tricked recently 😅) and will realize it's not the case only when trying to paste it later on (why I call it worse). Additionally while minor it means that Fenix unnecessarily read the clipboard (but no way to know the user intent). |
Hey, |
…ad clipboard content and allow to paste non url
…ad clipboard content and allow to paste non url
Hey, |
Ping |
Pong |
Hey there! Sorry for the delay on this, but thanks the original report, and @Timshel for proposing a patch! I'll help find someone to help review that PR. |
…ad clipboard content and allow to paste non url Fixes Update app/src/main/java/org/mozilla/fenix/utils/ClipboardHandler.kt Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com> Update app/src/main/java/org/mozilla/fenix/utils/ClipboardHandler.kt Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com> fix fix
Happy new year :). Hey, PR is still blocked since changes fix another issue (#27182) for which nobody has been able to give any details/insight. |
Moved to bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1810045 Change performed by the Move to Bugzilla add-on. |
QA is not needed. |
Steps to reproduce
Expected behaviour
Menu should appear saying "Paste | Paste & Go" (and "Copy" if there's already contents in the URLbar)
Actual behaviour
That menu appears but it's covered up by an Android system notification, saying "Firefox pasted from your clipboard".
This notification is troublesome for two reasons:
a) it blocks me (for a few seconds) from proceeding with the paste operation that I was about to do.
b) it's alarming & feels shady, like something is going on behind my back. I didn't actually paste yet, but Android's alerting me that Firefox already pasted out from under me...? (I know nothing actually-shady is going on; probably Firefox is just inspecting the clipboard to find out if it's a URL so as to offer the appropriate menu options. But this notification doesn't offer any of that subtlety. It just says "Firefox pasted from your clipboard", which feels alarming when all I did was long-press.)
Device name
Google Pixel 4a
Android version
Android 13
Firefox release type
Firefox Nightly
Firefox version
103.2.0
Device logs
No response
Additional information
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: