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

NEW
Unassigned

Status

()

P5
normal
5 years ago
5 months ago

People

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

Tracking

24 Branch
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

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.

Updated

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
https://bugzilla.mozilla.org/show_bug.cgi?id=926249
and if I double click on "mozzilla" the selection becomes "https://bugzilla.mozilla.org/show_bug.cgi?id=926249", 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:
* https://bugzilla.mozilla.org/show_bug.cgi?id=542834
* https://bugzilla.mozilla.org/show_bug.cgi?id=611162
* https://bugzilla.mozilla.org/show_bug.cgi?id=966651

Comment 3

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

Updated

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.
(Reporter)

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.

Updated

5 months ago
Status: UNCONFIRMED → NEW
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.