Copy / Paste Clipboard Restrictions In Firefox / Gecko Engine On Linux
Severity
P4 - Low (Cosmetic/minor inconvenience)
Describe the Bug with repro steps
Highlight text and copy (either with keyboard shortcut, the UI dropdown, or native) and paste in another location. This:
{
"SomeKeyOne": "Some Value",
"SomeKeyTwo": [
"One",
"Two",
"Three"
],
"SomeKeyThree": false,
"SomeKeyFour": 1234,
"SomeKeyFive": {
"One": true,
"Two": 2,
"Three": "Six"
}
}
Becomes the following in Linux:
{
"SomeKeyOne": "Some Value",
... "SomeKeyFour": 1234,
"SomeKeyFive": {
"One": true,
"Two": 2,
"Three": "Six"
}
}
In Windows it is:
{
"SomeKeyOne": "Some Value",
"SomeKeyTwo": [
"One",
"Two",
"Three"
],
"SomeKeyThree": false,
"SomeKeyFour": 1234,
"SomeKeyFive": {
"One": true,
"Two": 2,
"Three": "Six"
}
}
What type of Logic App Is this happening in?
Consumption (Portal)
Are you experiencing a regression?
No response
Which operating system are you using?
Linux
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Screenshots or Videos
Environment
- Browser: Firefox 141.0 (mozilla-deb - 1.0)
- Browser: Firefox 140.0 (Windows)
Additional context
It might be worse than this and truncating the deeper values, or more complex JSON objects. But I've not remembered / gathered enough evidence of when this happens as I need to hack around it to do my work.
~I am also unable to replicated this reliably, but it happens on quite a few occasions.~
EDIT It literally recurred within minutes of me posting this ... see the new screenshot above.
And ... no ... the add-ons are not causing it. 😉
I perfectly understand if you want to close this as long as we can reopen if if I capture more data. However I'd need to build something to explicitly test it.
This is still a thing ... (sorry) but it is infuriating ... there really is no need to mess with a user's ability to just copy and paste.
Anyway, came here to update you that even setting the browser to block attempts to interfere with clipboard usage ( about:config dom.event.clipboardevents.enabled ) ~seems to fix it~ when using it in text input fields they do not affect it in 'text views' like the 'Code view' for the JSON version of an LA.
Edit 01 Is this tied in to the 'unfortunate' requirement for clipboard permissions in a browser to copy/paste actions?
Edit 02 It would seem that disabling the above events setting stops me being allowed to use line breaks in pasting ... so ... that's not particularly useful.
Edit 03 I should also add that I'm happy to investigate whether this is a 'Wayland' or 'Debian' thing ... but it doesn't feel like it ... sorry. Not being hardline, here, is what I'm trying to say ... would like to help make things better ... basically. :-)