Comment 62 for bug 50254

Revision history for this message
In , L. David Baron (dbaron) wrote :

I'd be quite happy to take a fix for this that didn't regress double-clicking in the URL bar. That said, the patch above doesn't apply anymore -- the file it's patching no longer exists -- the code in question is now in an ifdef-ed all.js.

Note that on other platforms, there's a browser.urlbar.clickSelectsAll pref -- which we don't want on Unix because it forces a copy to the clipboard. It seems like the easy solution would be to make a very similar pref for doubleClickSelectsAll (or maybe even change the existing pref from boolean to integer).

For what it's worth, in Konqueror, there seem to be three different selection modes:
 * in the URL bar, double-clicking always selects the whole thing
 * in the search bar and HTML text inputs, double clicking does select punctuation
 * in HTML content, double-clicking does not select punctuation
but Ctrl-Arrow movement always goes by non-punctuation words. I don't think we need that many modes, but I do think we need to avoid regressing double-click to select contents of entire URL bar.