Closed Bug 62496 Opened 24 years ago Closed 4 years ago

[meta] problems with browser.urlbar.clickSelectsAll behavior

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jruderman, Unassigned)

References

(Depends on 2 open bugs)

Details

(Keywords: helpwanted, meta)

This is a tracking bug for bugs that are annoying when the 
browser.urlbar.clickSelectsAll pref is turned on.  Some of them only happen 
when clickSelectsAll is on, and some of them are just more annoying when it's 
on.

These bugs will become more visible/important if either of the following two 
bugs is fixed:
bug 37587 turn the pref on by default on Mac and Windows
bug 62023 make the pref visible so you don't have to go to prefs.js to enable it
Depends on: 53485, 62491, 62493, 62495
Keywords: meta
Assigning to me for tracking.  Feel free to steal this bug if you're working on 
the dependencies and want to own the tracking bug.
Status: NEW → ASSIGNED
Adding two bugs that mpt pointed out on bug 37587:
bug 78082 [clickSelectsAll] use pointer cursor when hovering over url bar
bug 78083 [clickSelectsAll] right-click on unfocused url bar should select 
contents
Depends on: 78082, 78083
Blake, want to work on these so we can fix bug 37587 without breaking too many
things?
Assignee: jesse → blake
Status: ASSIGNED → NEW
Depends on: 87410
Depends on: 90587
Depends on: 12764
Depends on: 97822
Depends on: 96446
I don't need this meta bug on my list.
Assignee: blakeross → nobody
Depends on: 110745
HTH: I've noticed that the following pref makes selection behave exactly as I
would expect in Windows (from bug 125695):

// Do NOT select the entire URL when you click in the URL bar.
user_pref("browser.urlbar.clickSelectsAll", false);

- single click&drag to select, double click selects all)
Depends on: 125695
No longer depends on: 125695
This bug and all its dependent bugs are a result of the incorrect default
behaviour of selecting the entire URL by just clicking in it once. No other
textstring is selected by one click (IE is broken too!). It is counter the
standard expected behaviour. Also, all users know that they can select a
contiguous string with a double-click.

Therefore, please make this bug go away by making the following line the default:

user_pref("browser.urlbar.clickSelectsAll", false);
Depends on: 116441
Peter: _many_ people would hate you for that. Not me, coincidentally, but a
great many would. And it would break IE-parity.
OS: Windows 98 → All
Hardware: PC → All
I'm using 1.3b and all.js has browser.urlbar.clickSelectsAll set to true, but I
am forced to tripple click the urlbar to select it.  Whats going on here?  Is
this just busted?  Is there a bug filed on this?
Assignee: nobody → aaronl
ah, I see.  It does actually select if you click in the middle, but not if you
click at the end... still, whats up with this?
Pavlov: get a current build, this should now be fixed by a patch in bug 116441.
The patch added a new hidden pref - browser.urlbar.clickAtEndSelects - that is
set to true by default, except for the Mac.
Keywords: helpwanted
Depends on: 248548
QA Contact: sujay → editor
Mass un-assigning bugs assigned to Aaron.
Assignee: aaronleventhal → nobody
Depends on: 1062417
Depends on: 1256121
Depends on: 1199577
Depends on: 1629415

The browser.urlbar.clickSelectsAll preference was removed in Firefox 75. See bug 1621570 for discussion of the removal of this preference. Bug 1621570 comment 7 gives the reasoning behind it.

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