Drag and drop of text selection in editing field moves it, but can't be disabled
Categories
(Core :: DOM: Editor, enhancement)
Tracking
()
People
(Reporter: tim.w.connors, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0
Steps to reproduce:
Trigger for this bug report was editing in any Microsoft Sharepoint site, but can be verified in google where it's even more annoying. Basically, drag and drop of any text selection to move it is an incredibly imprecise editing method, not standard across operating systems and hence not universally enjoyed as a "feature", but can't be disabled in firefox.
In sharepoint, double click to drag a selection, which should select the current word, and then extend the selection out to your desired bounds. But because of something funky in sharepoint, it actually only selects from the current mouse cursor position to where you end your selection, so you do the natural thing of grabbing something within that selected region, and initiating another drag method, which in any sane operating system usually results in the selection being able to be extended.
Repeat the experiment in a google search field.
(this problem seems new. It was especially bad on a work laptop I had earlier this year that a terrible trackpad, and click-drags would trigger accidentally all the time, but regardless, 12 months ago, I'm sure all this used to work a lot better)
Actual results:
Your existing selection got moved to elsewhere somewhere random in your document. And because you hadn't managed to succesfully select entire words, you've got mangled words everywhere. But at least you can undo, because sharepoint.
Now try the same in google - yay, ctrl-z to undo the manglement doesn't do anything! Isn't web2.0 wonderful?! Maybe one day they'll release a bugfix and web2.1 will fix all the crap that's wrong with the modern internet.
Expected results:
Ideally Sharepoint would have done the right thing in the first place, and double-click-drag would have just selected the entire words. But the second most ideal situation for the large number of people out there who believe drag-selection-to-move is a gross misfeature, there'd be a nice simple setting where it could be disabled.
Comment 1•6 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Editor' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
| Reporter | ||
Comment 2•6 months ago
|
||
Even worse, I think the trigger for me getting annoyed enough about this bug again to file a bug report was triple-click-drag, which has been a standard for decades to select-word-extend-selection, in sharepoint results in the initial word you selected being moved to a random location in the document where you release the drag when you realise it isn't doing what you wanted it to do. So the triple-click gesture is completely ignored by sharepoint, and interpreted as double-click-drag. At least if drag could be disabled, then it wouldn't perform a harmful action, instead merely being useless. Whereas at least in google, triple click is correctly interpreted, but selects the whole line instead of allowing you to extend the selection. Again, useless, because where are you going to drag that whole line? But at least not harmful. Which is good, because of the aforementioned lack of "undo" functionality. Sigh.
| Reporter | ||
Comment 3•2 months ago
|
||
Just restarted after an upgrade to 140.9.1esr-1~deb12u1.
URL bar. Select a portion of a URL to copy elsewhere. Nope, misclicked, ok no harm, I'll just select again. Nope, because of course since the new start point is within that text which is already selected, that's signalling to firefox that of course I just want to drag that useless partial mis-clicked snippet of a URL elsewhere. At least it doesn't bugger up the ordering of the text within that one field given you can't seem to be able to drag and drop text in the URL bar to somewhere else in the URL bar (as opposed to how this stupid feature behaves everywhere else in firefox).
I don't recall this being as annoying at this last month. Surely it just operated normally then? It's like this click-and-drag cancer is spreading.
Description
•