-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug]: Can't paste non url text when url bar is empty #27182
Comments
I can confirm the issue is reproducible on Fenix Nightly 107.0a1 2022-10-05 using the steps mentioned in the description. Devices used:
|
We are intentional with not pasting from the clipboard if the contents are not a URL because it has security implications, if I recall correctly. This is in keeping with other browsers as well. cc: @LaurentiuApahideanSV for reference. |
@jonalmeida could you give more details on the security implications ? Because I find it surprising since :
|
Work around this was done in #22271. Maybe @Amejia481 has more context. |
It appears at the time the |
…ad clipboard content and allow to paste non url
👋🏽 |
Correct. We want to be careful about what we hint to the user should be copied to the clipboard. There are more nuanced reasons that the security team has more details on. In general, we want to hint to our users to paste a URL because we can evaluate that safely and not recommend that they paste anything in their clipboard which might end up being a password or login details. |
Hi, as I mentioned I would be interested in those details :). I can understand being cautious about the clipboard if we were in the context of a login/password form but it's not the case here. Unless I misunderstood, the point of this functionality is to facilitate interaction with the awesome bar. The bar itself is named Additionally the bug is not about adding the paste feature it's already present, it's about it not being possible when the field is empty. For security I see no reason for the differentiation and from an ux point of view it's even less understandable. From what I can see :
|
…ad clipboard content and allow to paste non url
Hey, |
Ping |
Pong |
…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
Ping |
Moved to bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1810044 Change performed by the Move to Bugzilla add-on. |
QA is not needed. |
Steps to reproduce
Expected behaviour
The paste option should appear.
Actual behaviour
Nothing is displayed, you can't paste.
Device name
Google Pixel 4a (5G) on CalyxOS
Android version
Android 12
Firefox release type
Firefox
Firefox version
105.1.0
Device logs
No response
Additional information
I don't know if initially the feature was supposed to support only url but I believe this is confusing / a bug because :
Search or enter address
Copy
andPaste
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: