Select location bar plus type while in about:config no longer deletes location bar contents
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox71 | --- | unaffected |
firefox72 | --- | unaffected |
firefox73 | --- | fixed |
People
(Reporter: tracy, Assigned: mak)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [iris])
Attachments
(1 file)
This is a regression in Firefox Nightly in recent builds as early as 4:46 PST 20191204. Iris Nighty build validation revealed this first in https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&tier=1%2C2%2C3&revision=13fb375eaf14bd9fae5c607aa60015d2b3bd0f2d&searchStr=iris%2Cnightly-linux64-shippable%2Fopt&selectedJob=279610716 Subsequent test runs have failed.
Steps to reproduce:
- Open about:config
- Select the location bar with keyboard shortcut (cmd or ctrl + l)
- type a few letters
Tested results:
about:config is left in the location bar with whatever you typed following it
Expected results:
typing should have overwritten the about:config text
Try the same in location bar with a url present and you get correct results. I expect the location bar shouldn't act any differently if we're in aboutconfig.
Assignee | ||
Comment 1•6 years ago
|
||
almost surely bug 1593964
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Reporter | ||
Comment 2•6 years ago
|
||
This occurs in any about: page that keeps about:<page> in the location bar; ie about:about, about:crashes, about:library etc.
Updated•6 years ago
|
Reporter | ||
Comment 3•6 years ago
|
||
I've found this is reproducible outside of about:config with specific steps to reproduce as follows.
- Put an "m" into your clipboard
- Open a new tab (the location bar should be selected)
- Paste the "m"
- use keyboard shortcut to select the location bar
-- notice an item from suggestions list is auto-completed in the location bar with the auto-completed part selected but not the initial "m" - Paste the "m" again.
Tested results:
"mm" in the location bar.
Expected results:
Just one "m" in the location bar.
If you replace the initial paste of an "m" into the location bar with typing an "m", the rest of the test steps produce expected behavior.
Assignee | ||
Comment 4•6 years ago
|
||
yeah, we are activating retained results when the shortcut is used, because the string is the same as the last search.
It's interesting that pasting an "m" brings up different results than typing an "m", likely it's due to allowAutofill being false on paste.
Assignee | ||
Comment 6•6 years ago
|
||
If the user types a full url, confirms it, and then focuses the urlbar, we should
not
When focusing the address bar after typing and confirming a page, we end up reopening
the view because the search string is the same. This causes unexpected noise and
selection problems (the url is not selected anymore).
This patch changes the behavior so we don't reopen on valid pageproxystate, that
seems to make sense considering the feature scope of restoring an abandoned search.
Additionally, make the keyboard shortcut not trying to reopen the view if it's
already open, to avoid messing up with the selection.
Finally, restore the appropriate allowAutofill status from the last context.
This may still cause us to not autofill something that was previously autofilled,
if 2 tabs contain the same exact search, but that's an edge case, so acceptable.
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Description
•