Switch to tab visits URL instead of switching to tab
Categories
(Firefox :: Address Bar, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox133 | --- | verified |
People
(Reporter: mcheang, Assigned: daleharvey)
References
Details
(Whiteboard: [sng])
Attachments
(3 files, 1 obsolete file)
This is a regression from secondary actions button.
This bug is happening with browser.urlbar.scotchBonnet.enableOverride PREF true and when it's false.
Steps To Reproduce:
- Visit https://en.wikipedia.org/wiki/Kitten
- Open a new tab in the same window.
- Activate
tabssearch mode in the address bar for the new tab. - Click the wikipedia kitten switch to tab result
- After selecting the switch to tab result, the tab visits the URL instead of switching to the tab.
Expected:
Switched to tab with the https://en.wikipedia.org/wiki/Kitten page
Actual:
Stayed on the same tab and visited https://en.wikipedia.org/wiki/Kitten
| Reporter | ||
Comment 1•1 year ago
|
||
| Reporter | ||
Comment 2•1 year ago
•
|
||
I've attached two videos of this bug:
- when the
urlbar.scotchBonnet.enableOverridePREF is TRUE and using@tabsto activate tabs search mode. - when the
urlbar.scotchBonnet.enableOverrideis FALSE and using % to active tabs search mode.
| Reporter | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
| Reporter | ||
Comment 5•1 year ago
•
|
||
Based on Dale's comments in Bug 1918446, it has not regressed Nightly with the pref off.
When I was testing it with the urlbar.scotchBonnet.enableOverride OFF, the urlbar.secondaryActions.featureGate was ON for me. That's why it seemed like it regressed Nightly, but if secondaryActions is OFF the behaviour is fine and switch to tabs works normally.
However, we still need to fix this and we want switch to tabs working properly before release.
It is still a blocker for Bug 1916679.
| Assignee | ||
Comment 6•1 year ago
|
||
Hey Mandy
It looks like we mostly agree that the secondary action that does switch to tab should be remobed and the behaviour reverted back to the current way switch to tab works. Is this something you want to do? Happy to take it over or either way.
| Assignee | ||
Comment 7•1 year ago
|
||
Chris mentioned you had some active work at the moment and this is the next bug up for enabling in nightly so I will take it on if thats ok, cheers
| Reporter | ||
Comment 8•1 year ago
|
||
I'm ok with that. Thank you for taking this ticket 👍
| Assignee | ||
Comment 10•1 year ago
|
||
Comment 11•1 year ago
|
||
Comment 12•1 year ago
|
||
| bugherder | ||
Reproducible on a 2024-09-12 Nightly build on Windows 10.
Verified as fixed on Firefox Nightly 133.0a1 on Windows 10, Ubuntu 22, macOS 14.
Updated•1 year ago
|
Comment 14•5 months ago
•
|
||
@daleharvey
This patch adds a reference to chrome://browser/content/firefoxview/view-opentabs.svg outside of the firefoxview component, and is used for non-firefoxview stuff (clipboard and switch to tab). Do you think the view-opentabs.svg icon should maybe be moved to browser/themes/shared/icons/ since it is now used for more than firefoxview?
I noticed this in Tor Browser where we're missing the icon because we exclude the firefoxview component from our build. We can patch it ourselves, but I was wondering whether moving the icon makes sense within mozilla-central as well.
| Assignee | ||
Comment 15•4 months ago
|
||
Cheers yup that sounds for the best, I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1987279 for it
Description
•