Closed Bug 505464 Opened 15 years ago Closed 11 years ago

Switching away from firefox window while entering URL causes entire URL to be selected when returning to Firefox window

Categories

(Firefox :: Address Bar, defect)

defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 90587

People

(Reporter: plasticlobster, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1

There is a "feature" in Firefox where if you're entering a URL, then switch away from the Firefox window, then switch back, the entire URL in the location bar gets selected, whether there was a selection when you left the window or not. This causes issues when you're referring to another window to transcode a URL.

In my case, as a developer, if I'm looking for an item ID to pass to a GET variable and have to alter the URL that's already in the location bar, it gets frustrating when I select the ID I want to replace, refer to another window, then return only to have to re-place my cursor where it previously was.

Reproducible: Always

Steps to Reproduce:
1. Begin typing a URL into a Firefox window's location bar (or altering the URL that's already in the location bar). 
2. Leave the cursor at the end or middle of the URL being typed. This also applies if you make a selection of a portion of the URL in the location bar.
3. Switch away from the window (e.g. by using Command-Tab or by clicking away)
4. Switch back to the window (Command-Tab is fine again, or clicking)
5. Notice what happens to the selection you made (or your cursor position) when you switch back.

Actual Results:  
The entire URL is selected in the location bar, making it difficult to continue typing your URL from where you left off before the window switch.

Expected Results:  
The cursor would remain where I left it when I changed windows (e.g. at the end of the URL or somewhere in the middle of the URL). The selection I made prior to changing windows (if any) would stay intact.

This is a pretty vanilla installation of Firefox. There are a couple of plugins, but I've experienced this bug for many previous versions of the software. It's definitely an issue with the core product.

I can't think of a reason why this would be a feature that was implemented purposefully. I don't believe it adds usability to the application, so I'm approaching it as a bug. My apologies if it's a feature you've implemented on purpose, but I'd like you to re-examine the usability aspect of this "feature" if it is indeed intended behavior.
Also confirmed to be the same issue with:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7

and

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1

So it's not an OSX-only bug.
Updating the bug to indicate it's not OSX-specific.
OS: Mac OS X → All
Hardware: x86 → All
Confirmed Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)
Status: UNCONFIRMED → NEW
Component: General → Location Bar and Autocomplete
Ever confirmed: true
QA Contact: general → location.bar
Whiteboard: dupeme
This bug is no longer valid.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Resolution: INVALID → DUPLICATE
Whiteboard: dupeme
You need to log in before you can comment on or make changes to this bug.