location is overwritten on page load
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
People
(Reporter: ossman, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0
Steps to reproduce:
- Click slow loading page (initial load, not page elements)
- Press Ctrl+L
- Start typing other URL
Actual results:
The loaded page's URL gets appended to what I've written so far.
Expected results:
Only what I've typed so far should be present in the location bar. Ideally even if that is nothing (trigger should probably be the focus).
| Reporter | ||
Comment 1•5 years ago
|
||
This bug has been around since forever. Bug 15050 claims WORKSFORME, but I've seen this on every installation of Firefox I've ever used.
This is particularly annoying if it's the home page that is slow to load (which is common since Firefox seems to do a lot of other things during startup that delays page load). The normal scenario is:
- Click Firefox icon
- Press Ctrl+L
- Start typing the URL you want to go to
- Typed URL gets screwed up by home page finally loading, usually resulting in some weird search
| Reporter | ||
Comment 2•5 years ago
|
||
(In reply to Pierre Ossman from comment #1)
This bug has been around since forever. Bug 15050 claims WORKSFORME, but I've seen this on every installation of Firefox I've ever used.
Sorry, that was supposed to be bug 188723.
Comment 3•5 years ago
|
||
Hello I have tried to reproduce the issue with the STR provided in the description and in comment 1 but unfortunately I wasn't able to reproduce it, on firefox 86.0a1(2020-01-04) on Ubuntu 20.
In order to find a component for this issue could you please answer the following questions?
- Does this issue happen with a new profile? Here is a link on how to create a new profile: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
- Are you using add-ons? If so could you please list them?
- Does this issue occur in the latest nightly version of firefox? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
| Reporter | ||
Comment 4•5 years ago
|
||
Unfortunately I'm unable to reproduce the issue. It's something that happens now and then. It seems to occur mostly when Firefox is starting up and has a bit too much to do. I'm unable to reproduce the issue by causing various delays on the network side of things. So unfortunately I cannot currently test with a fresh profile or a nightly build.
I'll try to be more observant exactly when this happens and see if I can gather some more clues as to how to reproduce it. Perhaps someone more familiar with the internals of Firefox have some ideas? E.g. can I artificially delay database access?
| Reporter | ||
Comment 5•5 years ago
|
||
So I was able to find a way to reproduce this now:
- Set https://old.reddit.com as the home page
- Press Ctrl+N for a new window
- Quickly press Ctrl+L
This reliably gets me one of the cases where it updates the location even though it is focused.
If I start typing before it has loaded it sometimes adds the URL, sometimes not. But the mere fact that the location bar has focus should be enough to block the update IMO.
Can be reproduces with the nightly build and a new profile.
Comment 6•5 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 7•5 years ago
|
||
This should not be a networking bug.
Comment 8•5 years ago
|
||
I'm pretty sure we have one or more bugs on this already, but I can't find them.
Updated•5 years ago
|
Description
•