Alt+Enter in address bar when a "switch to tab" result is selected doesnt switch to tab.
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox81 | --- | affected |
People
(Reporter: zazcallabah, Unassigned)
References
(Depends on 1 open bug, Regression)
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0
Steps to reproduce:
1: open https://en.wikipedia.org/wiki/Firefox in a tab.
2: open another, new tab to a different page, like the google frontpage.
3: type wiki firefox into the address bar and downarrow to the "switch to tab" result for the tab in step 1.
4: press alt+enter
Actual results:
it didn't switch to the wiki firefox tab, instead it loaded the wiki firefox page in the currently active tab, which goes contrary to the usual behavior for alt-enter in the address bar.
Expected results:
It should have switched to the tab
- or -
it should have opened a new tab with the wiki firefox page
all this seems very similar to https://bugzilla.mozilla.org/show_bug.cgi?id=571672
Comment 1•4 years ago
|
||
I can confirm the above behavior, but I am not sure about what the intended behavior is.
This being said, I have set the component to (Firefox) Address bar and I will let it be triaged by a more experienced DEV in this area.
Please NI me if more testing is needed. Thank you!
Comment 2•4 years ago
•
|
||
Looks like this may be a quantumbar regression, assuming bug 571672 (mentioned in comment 0) was correctly fixed for awesomebar. We hit the path added in bug 1512650 (since modified), where the actionoverride
attribute is set and we force where
to be "current"
: https://searchfox.org/mozilla-central/rev/61728de8273c04fe2417c475fc0637e8b79210d7/browser/components/urlbar/UrlbarInput.jsm#732 There should be some smarter logic there for detecting key modifiers.
Updated•4 years ago
|
Comment 3•4 years ago
|
||
According to https://support.mozilla.org/en-US/kb/address-bar-autocomplete-firefox, the intended behavior should be opening the page in a new tab.
To turn off the "Switch to tab" option temporarily, press the ALT key while clicking on the page in the autocomplete list that appears below your address bar. This will open your page in a new tab instead of switching to an existing one.
Description
•