Closed Bug 26848 Opened 25 years ago Closed 24 years ago

Auto-Select content in URL bar

Categories

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

x86
Other
defect

Tracking

()

VERIFIED DUPLICATE of bug 37587
Future

People

(Reporter: dneri98, Assigned: don)

Details

(Whiteboard: [nsbeta3-][pdtp4])

By default, when you click in a field, it's supposed to select all of the data
within it (i.e. URL, form input box).  Right now it doesn't.

Also, holding down shift and using the arrow keys is supposed to expand your
selection of data, like multiple letters.  It resets your selection, however,
each time with the last chosen letter.
component <= editor. dwayne: please read the bug reporting guidelines.
Assignee: waterson → endico
Component: All → Editor
QA Contact: shaver → nobody
changing product to browser
Assignee: endico → beppe
Product: Architecture → Browser
QA Contact: nobody → sujay
Version: 5.0 → other
there are two issues brought up in this bug: 1. initial click in field should 
select all; 2. shift-arrow issue.

The shift-arrow issue is already a known bug. I believe the on focus, select all 
issue might have to do with the webshell work. Assigning to Travis for now -- 
Travis, if I'm incorrect, please reassign back to me.
Assignee: beppe → travis
Renaming to reflect true problem...
Severity: normal → minor
Summary: Shift-Selection and Auto-Selection → Auto-Select content in field
pink, who should own this?
since this isn't the behavior we want for all text widgets (only the url bar), 
pushing to a browser person
Assignee: valeski → pchen
Text fields in 4.x don't get automatically selected when you click on them, only 
the URL bar.
Status: NEW → ASSIGNED
I hate that behavior -- I don't even want to see it in the URL bar.
We should *never* implement this for textfields
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
verified in 9/20 build.
Status: RESOLVED → VERIFIED
um, we do want this for the url bar. 99% of the time the user clicks in the url 
bar, it's to enter a new url. forcing them to "Select All" then type again is 
bad, and it breaks learned behavior (4.x did this, IE does this, etc).

reopening, cc'ing german
Status: VERIFIED → REOPENED
Keywords: nsbeta3
Resolution: INVALID → ---
don sez this is really important for the URL bar. Plussing it only in that 
context.
Priority: P3 → P2
Summary: Auto-Select content in field → Auto-Select content in URL bar
Whiteboard: [nsbeta3+]
pdtp4 - the very obvious workaround is to select the text.
Priority: P2 → P4
Whiteboard: [nsbeta3+] → [nsbeta3+][pdtp4]
Target Milestone: --- → Future
Most people (including German and Ben) agree that the current behavior if fine
although it is different from 4.x and MSIE.  Making this minus.
Assignee: pchen → don
Status: REOPENED → NEW
Whiteboard: [nsbeta3+][pdtp4] → [nsbeta3-][pdtp4]
> the very obvious workaround is to select the text.

It might not be very obvious that there are keyboard ways to select the text, 
though (ctrl-a or shift-home).
Another way to select all the text would be bug 52784.


*** This bug has been marked as a duplicate of 37587 ***
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
verified in 10/20 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.