Comment 15 for bug 1888942

Revision history for this message
In , Crxssi (crxssi) wrote :

(In reply to Marco Bonardo [:mak] (OoO 09-23 Aug) from comment #2)
> For how much it may look confusing (it is definitely a shift in behavior and habits), this is the expected behavior currently. Clicking on the urlbar focuses and selects its contents, but because the selection is programmatic we don't override the primary selection, that is because maybe you are selecting the urlbar to paste something, and we don't want to overwrite that.

That is a good point that I had not considered, primarily because I don't typically do that. I usually open a new (blank) tab, then paste into an empty Firefox URL bar, or I paste by middle-clicking in the main Firefox window to paste the X11 buffer. Interestingly, now it seems that pasting a URL into the main Firefox window (the display area of the website) doesn't work anymore, it is just ignored- is this yet another behavior change or bug? (If so, is there already a bug report on that?)

Of course, my entire copy/paste/select workflow has been greatly disrupted by both this new "1 click selects all" and "auto select all doesn't copy to X11 buffer" in the URL bar (and search bar), because nothing else works like that in Linux. Nothing else does that in Firefox, either (except maybe "save as" dialogs where the entire proposed filename is pre-selected). I am trying to keep an open mind, but I really do hate these changes and the fact that there is no preference/setting to revert it to act like it did before.

> triple-click should work correctly if you start from an unfocused urlbar (please let us know otherwise), or it's bug 1633203 (allow to re-select).

Currently I am using 78.0.1 and when I triple-click the unfocused URL bar, it is, indeed, copying the URL into the X11 buffer (which I can then middle-click into another program to paste). It also works if I focus the URL bar first and then triple-click. Note, I do have browser.urlbar.disableExtendForTests set to True because I dislike all the changes in the URL bar, and that reverts some of it (the "zoom" thing and the forced drop-down) but I tested the above with it set to False and the behavior was the same.