Closed
Bug 83588
Opened 23 years ago
Closed 23 years ago
Tabbing to URL bar should highlight all contents.
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P2)
Tracking
()
VERIFIED
FIXED
mozilla0.9.3
People
(Reporter: loeb, Assigned: mozilla)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(1 file)
1.58 KB,
patch
|
Details | Diff | Splinter Review |
Right now, when you tab to the URL bar, it simply places a cursor at the end of
the URL. Instead, it should highlight the entire URL so it can be typed over.
Comment 3•23 years ago
|
||
hm, i keep thinking a bug for this already exists. jesse? [but, ya never know].
Updated•23 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 5•23 years ago
|
||
No. Bug 37587 has a lot of platform argument going on whereas this one is
likely to see a lot less opposition from the Linux camp.
Assignee | ||
Comment 6•23 years ago
|
||
looks like a call to ShowAndSelectContentsOfURLBar() from fastnav.js should do
the trick, just looking for a place to put the call.
Assignee | ||
Comment 7•23 years ago
|
||
Comment 8•23 years ago
|
||
I tested it out and it works fine for me.
Assignee | ||
Updated•23 years ago
|
Whiteboard: Fixed in Accessibility branch
Comment 9•23 years ago
|
||
*** This bug has been marked as a duplicate of 28583 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 10•23 years ago
|
||
It looks like the discussion in bug 28583 is for a solution in c++, but I would
mantain that the url bar is such a high profile special case of this bug that it
justifies an immediate response/solution.
The fix here is in the xul/js layer and while that may not be a great long term
solution or something that is switchable/configurable through a pref, it works
now on this glaring case of bug 28583.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 11•23 years ago
|
||
One more suggestion. Could there be a key combination to select the text in the
address bar (for instance, IE uses Alt + D to select the address bar contents,
Opera allows u to open a new page using F2) so that a new page can be viewed
without using the mouse to select the address bar text.
Comment 12•23 years ago
|
||
CTRL + L should do you.
Comment 13•23 years ago
|
||
r=jag if you fix the patch so the change to navigator.xul becomes a -0/+1
instead of a -1/+2 patch.
Also, if we ever agree on clicking into the urlbar to also select its contents,
this code can be replaced with a simpler onfocus handler. But blake can tell you
more about that and why it's not going to happen anytime soon...
Comment 14•23 years ago
|
||
This is getting silly. In the time taken to implement this hack in various
places (the address field, the Find dialog, the Open Location dialog, etc), bug
28583 could probably have been fixed several times over. And this hack, like
all those ones, will need to be backed out when bug 28583 *is* fixed.
Comment 15•23 years ago
|
||
This bug is fixed with the patch in 37587.
Assignee | ||
Comment 16•23 years ago
|
||
checked in friday 29th to the trunk. letting it bake before pushing for branch (
0.9.2 ) checkin.
Whiteboard: Fixed in Accessibility branch → Fixed on Trunk, waiting to go into the 0.9.2 branch
Comment 17•23 years ago
|
||
I thought we were just going to let 37587 fix this...?
Comment 18•23 years ago
|
||
adding vtrunk keyword to indicate the bug has been fixed on the trunk. Bug left
open for tracking checkin to branch (nsbranch) when appropriate.
Once bug has been fixed on the branch also, pls remove vtrunk keyword.
Keywords: vtrunk
Comment 19•23 years ago
|
||
did some quickie trunk testing [used http://bugzilla.mozilla.org as a place to
test]:
mac comm 2001.07.03.10: tabbing to URL bar highlights the contents.
winnt comm 2001.07.03.11: tabbing to URL bar highlight the contents.
linux mozilla debug from 18:30 2 july: hmm, tabbing doesn't highlight the URL
bar contents...just places the cursor at the end of the URL bar content. maybe
my pull didn't get jgaunt's checkin? i'll check once i've installed the latest
packaged trunk bits [if they're available].
Comment 20•23 years ago
|
||
duh, what i'm seeing is expected, since there's a unix pref to not select the
contents of the URLbar. /me thwaps head. okay. i had thought that that pref
would only affect *clicking* in the URLbar, not tabbing... pls correct me,
however, if the linux behavior i'm seeing for this bug is not expected.
[linux mozilla 2001.07.03.18-trunk bits show the same behavior as my debug
build. i'm assuming the comm bit will as well, but they're not available yet.]
Assignee | ||
Comment 21•23 years ago
|
||
See bug 37587, that contains a superset of this bug -- clicking and tabbing.
Default linux behavior is that selects all is off. If you look at the diff in
the bug, you'll see a pref that contols this ( somehting.clickSelectsAll ). It
is used for clicking and tabbing acutally.
So Linux not highlighting the urlbar is OK.
Comment 22•23 years ago
|
||
thx, jgaunt! that was the bug i was thinking about...ah, memory. :)
so, removing vtrunk, since i've verified using the following comm trunk builds:
linux 2001.07.05.08: tabbing to URLbar inserts cursor at the end of the field
contents; single-clicking places the cursor where the mouse pointer is located.
[both expected by default on unix.]
winnt 2001.07.05.09: tabbing to and single-clicking in the URLbar
selects/highlights its entire contents.
mac 2001.07.05.08: tabbing to and single-clicking in the URLbar
selects/highlights its entire contents.
Keywords: vtrunk
Assignee | ||
Comment 23•23 years ago
|
||
This bug has been fixed with the patch to bug 37587, checked into the 0.9.2
branch on wed 4 july.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 24•23 years ago
|
||
verified fixed on the branch using the following comm branch builds:
linux 2001.07.09.04: tabbing to URLbar inserts cursor at the end of the field
contents. [expected by default on unix.]
winnt 2001.07.09.05: tabbing to in the URLbar selects/highlights its entire
contents.
mac 2001.07.09.03: tabbing to in the URLbar selects/highlights its entire
contents.
Status: RESOLVED → VERIFIED
Whiteboard: Fixed on Trunk, waiting to go into the 0.9.2 branch
Updated•6 years ago
|
Component: Keyboard: Navigation → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•