Closed Bug 230822 Opened 21 years ago Closed 15 years ago

URL bar text auto-selected when switching from browser and back

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED DUPLICATE of bug 90587

People

(Reporter: eyalroz1, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040101
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040101

If you're anywhere in the URL bar, with some text or no text selected, and
switch away from the Mozilla window and back to the Mozilla window (not
necessarily immediately), the state of the selection of the text in the URL bar
reverts to everything being selected; the cursor position is also lost.

Reproducible: Always

Steps to Reproduce:
So, we're getting focus events switching windows. Is this reasonable?
Component: Browser-General → Event Handling
For the record, IE6 does the same. I do think, however, that this is a valid
bug, especially for anyone who appreciates a spatially oriented interface.

An interesting and relevant article:
http://www.arstechnica.com/paedia/f/finder/finder-2.html#spatial

Prog.
Well, you could always turn off the browser.urlbar.click preferences...
Those preferences should have no bearing on the behavior of the selection when
switching from and back to the browser. At least in my opinion. Thee's no URL
bar click happening when switching back.
The JS has no way to tell what caused a focus event, it could be tabbed to,
ctrl+l, alt+d, clicked or focus lost and gained via the window manager...
Great, so now we know what needs to be fixed...
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 90587
Status: NEW → RESOLVED
Closed: 15 years ago
No longer depends on: 90587
Resolution: --- → DUPLICATE
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.