Should we expose an about:preferences option for Double click Selects All?




5 years ago
5 months ago


(Reporter: cody.j.b.scott, Unassigned)


24 Branch

Firefox Tracking Flags

(Not tracked)




5 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release)
Build ID: 20130911155223

Steps to reproduce:

On Ubuntu 13.04 I can't highlight a word in the location bar by double clicking it. 

Actual results:

Double clicking highlights the entire address bar.

Expected results:

It should highlight the word between slashes or dots or hyphens.


5 years ago
Component: Untriaged → Editor
Product: Firefox → Core

Comment 1

5 years ago
Does the same bug happen in text fields on web pages (such as Bugzilla)?

Comment 2

5 years ago
I confirm this problem on Firefox 28.0, using Linux Mint.

Test case: while I'm writting this comment, the URL in the location bar is
and if I double click on "mozzilla" the selection becomes "", but it should be just "mozzilla". On the other hand, if I double click in the same word in the example I'm writting on this text box, the word is selected as expected.

Possibly related bugs:

Comment 3

5 years ago
The behavior of the location bar is different than normal text boxes.


5 years ago
Component: Editor → Location Bar
Product: Core → Firefox

Comment 4

5 months ago
The behavior of the address bar can be configured by "browser.urlbar.doubleClickSelectsAll", which defaults to true, if it's set to false it will select only the word that has been clicked.

I think this issue can be closed.

Comment 5

5 months ago
The problem is that the behaviour is different on Linux and Windows.

Comment 6

5 months ago
I was having the same problem on Linux as well (Fedora 28). Thank you Alexandre for the solution, that fixed it for me. I feel like this setting is common enough that it warrants a checkbox on about:preferences page though.


5 months ago
Ever confirmed: true
Priority: -- → P5
Summary: Can't Select a Word in Location bar with Double click → Should we expose an about:preferences option for Double click Selects All?

Comment 7

5 months ago
Obviously, the question still needs to be answered before anyone can work on this.
You need to log in before you can comment on or make changes to this bug.