When I close one of several tabs, after the tab closes, the wrong existing tab is opened as the current tab
Categories
(Firefox :: Tabbed Browser, enhancement, P3)
Tracking
()
People
(Reporter: publicly.visible, Unassigned, NeedInfo)
References
Details
(Keywords: uiwanted)
Attachments
(1 file)
|
126.49 KB,
video/mp4
|
Details |
Updated•8 years ago
|
| Reporter | ||
Comment 1•8 years ago
|
||
Updated•8 years ago
|
Updated•3 years ago
|
This was not a problem until Firefox 118, but now this problem occurs in Firefox 119.0.
The replacement of gBrowser.selectedTab was done in the capturing phase of the select event fired when a tab is selected in Firefox 118, but in Firefox 119.0 it was done in the bubbling phase, so there may be a connection.
I attach the video recorded by reproducing the problem.
Steps to reproduce
- Open a new tab on the far right and open https://a.test/.
- Open a new tab on the far right and open https://b.test/.
- Open a new tab on the far right and open https://c.test/.
- Select the tab
https://a.test/, the first tab from the left. - Select the tab
https://c.test/, the third tab from the left. - Close the current tab
https://c.test/, the third tab from the left.
Expected result
The tab https://a.test/, first tab from the left, becomes the current tab.
Actual result
The tab https://c.test/, second tab from the left, becomes the current tab.
(In reply to 100の人 from comment #3)
Actual result
The tab
https://c.test/, second tab from the left, becomes the current tab.
Typo. The correct is below.
Actual result
The tab https://b.test/, second tab from the left, becomes the current tab.
Comment 5•4 months ago
|
||
Hi Triage Owner [:niklas] and all,
I am triaging this UNCONFIRMED enhancement (1419649) to check its status in the latest Firefox Beta build. The bug relates to tab selection order upon closing the current tab.
TEST ENVIRONMENT:
- OS: Windows 10 (22H2)
- Firefox Version: 146.0b5 (64-bit)
- Configuration: Clean Profile (Default Settings)
ANALYSIS AND REPRODUCTION ATTEMPT (Testing MRU vs. Neighbor Tab Logic):
-
STEPS TO REPRODUCE (MRU Test):
- Open four tabs: [Tab A | Tab B | Tab C | Tab D].
- Set MRU: Activate Tab A (MRU = A).
- Activate Tab D (D is current).
- Close Tab D (Ctrl+W).
-
ACTUAL RESULTS: The active tab is Tab C (the immediate neighbor of the closed tab D).
-
EXPECTED RESULTS (Based on reporter's request): The active tab should have been Tab A (the MRU tab).
Scenario Conclusion:
The current behavior of Firefox 146.0b5 is consistent across tests: upon closing the active tab, focus shifts to the immediate neighboring tab (following tab index) rather than the Most Recently Used (MRU) tab.
CONCLUSION AND RECOMMENDATION:
The issue is NOT reproducible as a defect/regression in the latest Beta build. The observed behavior appears to follow a different design logic (Neighbor Tab) than the reporter expected (MRU Tab).
Therefore, I recommend marking this UNCONFIRMED issue as RESOLVED/WORKSFORME, unless there is documentation confirming that the MRU logic is the intended default behavior for the latest Firefox builds.
Thank you.
Description
•