Comment by PunchyHamster
5 days ago
Oh for fucks sake fix your code instead of fucking with users.
Firefox have been pretty random with primary selection just not working in random cases and it has been massively annoying
5 days ago
Oh for fucks sake fix your code instead of fucking with users.
Firefox have been pretty random with primary selection just not working in random cases and it has been massively annoying
Don't blame it on FF, but on CSS user-select: none
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/P...
I'm not talking about blocking selection (which is annoying too but different issue)
There are cases where you can select text, ctrl+c works, but just selecting it doesn't copy it to primary clipboard (example I hit often is various CI/CD text fields like in Jenkins)
Sad reality of replacing plain old text boxes with "smarter" re-implementations: https://utcc.utoronto.ca/~cks/space/blog/web/WebEditingVsCut...
Some (including the most popular: codemirror) go as far as putting themselves inside "natural" selection flow: they're interpreting mouse inputs, cancelling default behavior and selecting text themselves (programmatically via setSelectionRange). And Firefox deliberately ignores such selection: https://searchfox.org/firefox-main/rev/edb7c6118aa4fc5b09d84...
Ruled out cases of a site implementing user-select: none?
I'm not talking about blocking selection (which is annoying too but different issue)
There are cases where you can select text, ctrl+c works, but just selecting it doesn't copy it to primary clipboard (example I hit often is various CI/CD text fields like in Jenkins)
Yeah, the primary selection 'bug' is incredibly annoying, drives me nuts.