-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Firefox] Paste into message box with dom.event.clipboardevents.enabled=false fails #25544
Comments
That setting is non-standard and not even documented in its full extent of effects to my knowledge on MDN. Element handles pasting itself for multiple reasons
Given this is a non-standard feature I doubt any effort will be seen here to resolve it unless it comes from the community. |
In that case, is it possible to give some kind of warning to the user as opposed to failing silently? (It kind of sucks you can't enable it per-site...) |
From the name |
Related pyllyukko/user.js#287 - apparently it affects Google Docs too |
Okay, I'll close this in that case. At least next time someone searches |
The whole clipboard API isn't really a standard: "This feature is not Baseline because it does not work in some of the most widely-used browsers.". The current specification is a draft, and has the following statements in 5.3.2.:
Notice the usage of
|
Sure, but we're not relying on that, but rather on the
The fact there's no signal to detect this to inform the user why its failing is not ideal. |
Steps to reproduce
dom.event.clipboardevents.enabled=false
inabout:config
.Resetting
dom.event.clipboardevents.enabled
totrue
resolves the issue, but I disable cliboard events because some websites block pasting and disabling the events generally fixes the issue. Honestly this is the first time that I've seen a website where disabling clipboard events breaks pasting -- I wasn't even aware that was possible 😅.This broke fairly recently, though I'm not sure if it was the latest update or a previous one.
Outcome
What did you expect?
Paste should work.
What happened instead?
It doesn't.
Operating system
openSUSE Tumbleweed (Linux)
Browser information
Firefox 113.0.2
URL for webapp
app.element.io
Application version
Element version 1.11.32, Olm version 3.2.14
Homeserver
cyphar.com (synapse 1.85.1)
Will you send logs?
No
The text was updated successfully, but these errors were encountered: