Closed Bug 926249 Opened 12 years ago Closed 5 years ago

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

Categories

(Firefox :: Address Bar, defect, P5)

24 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED WONTFIX

People

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

References

Details

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.
Component: Untriaged → Editor
Product: Firefox → Core
Does the same bug happen in text fields on web pages (such as Bugzilla)?
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
The behavior of the location bar is different than normal text boxes.
Component: Editor → Location Bar
Product: Core → Firefox
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.
The problem is that the behaviour is different on Linux and Windows.
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.
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?
Obviously, the question still needs to be answered before anyone can work on this.

For me the comment https://bugzilla.mozilla.org/show_bug.cgi?id=926249#c4 solved the issue on Debian testing (Bullseye)

doesn't apply anymore since the about:config pref is gone.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.