Alias gets readded to addressbar after being translated into search-mode indicator
Categories
(Firefox :: Address Bar, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr68 | --- | unaffected |
| firefox-esr78 | --- | unaffected |
| firefox80 | --- | unaffected |
| firefox81 | --- | unaffected |
| firefox82 | --- | disabled |
| firefox83 | --- | fixed |
People
(Reporter: aflorinescu, Assigned: adw)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
[Sugested Severity:]
S4
[Description:]
An edge case when the @shortcut is translated to search-mode indicator and the @alias is readded.
[Environment:]
Ubuntu 20.04 / Windows 10 / Mac 10.13.6
82.0a1 2020-09-15
[Steps:]
- Open Firefox.
- New tab.
- type @google+space -> alias gets transformed into search-mode indicator.
- Press + to create a new tab.
- Navigate back to the step 3 tab.
[Actual Result:]
google search mode-indicator + @google present in the tab.
[Expected Result:]
google search mode-indicator
[Regression Range]
On 81.0 2020-09-14, flipping the Browser.urlbar.update2.* prefs, the issue doesn't reproduce, so I'd guess it's a regression caused by bug 1647890.
I'll get back with a confirmed regression range at a later point.
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
I bet we're restoring userTypedValue. We need to null it when it's converted into the search mode indicator -- or it might not be quite that simple. It may be more like, we need to remove the prefix that got converted into the indicator.
I wonder whether we could rely on this behavior to restore search mode per tab, instead of needing the map that we use now. When we added that map, bug 1658964 hadn't yet landed and fixed the problem where aliases at the beginning of the input value weren't converted to search mode.
Typing @google test (i.e., with a query after the alias) seems to work correctly. Pasting it doesn't, so we should be sure to fix that too.
| Reporter | ||
Comment 2•5 years ago
|
||
(In reply to Drew Willcoxon :adw from comment #1)
Typing
@google test(i.e., with a query after the alias) seems to work correctly. Pasting it doesn't, so we should be sure to fix that too.
Pasting @google query_string works for me.
| Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Comment 4•5 years ago
|
||
:adw, since this bug is a regression, could you fill (if possible) the regressed_by field?
For more information, please visit auto_nag documentation.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Calling this fix-optional for 82 given the S4 severity.
Updated•5 years ago
|
Comment 6•5 years ago
|
||
browser.urlbar.update2.* prefs are only enabled n Nightly.
Updated•5 years ago
|
| Assignee | ||
Comment 7•5 years ago
|
||
| Assignee | ||
Comment 8•5 years ago
|
||
| Assignee | ||
Comment 9•5 years ago
|
||
Comment 10•5 years ago
|
||
Comment on attachment 9181166 [details]
Bug 1665115 - Add a test to make sure search mode is duplicated when duplicating tabs.
Revision D93293 was moved to bug 1659203. Setting attachment 9181166 [details] to obsolete.
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
| bugherder | ||
Description
•