Open
Bug 1419649
Opened 8 years ago
Updated 1 years ago
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
()
UNCONFIRMED
People
(Reporter: publicly.visible, Unassigned)
References
Details
(Keywords: uiwanted)
Attachments
(1 file)
126.49 KB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171112125346
Steps to reproduce:
If I have several tabs open, and I close one of them, I expect the tab that I'd been viewing just prior to the closed tab (the most recently viewed tab) to reopen.
Hopefully this example will make it clearer:
1. open a new Firefox window
2. go to 'www.bbc.co.uk'
3. at the top of the page is a menu, ctrl+click on 'News'. This opens 'www.bbc.co.uk/news' in a new tab
4. ctrl+tab to go back to 'www.bbc.co.uk'
5. ctrl+click on 'Sport'. This opens 'www.bbc.co.uk/sport' in a new tab
Now have 3 tabs open, in order of most recently viewed to oldest viewed, they are:
www.bbc.co.uk/sport
www.bbc.co.uk
www.bbc.co.uk/news
6. ctrl+W to close 'www.bbc.co.uk/sport'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Environment
-----------
Windows 7 Home Premium SP 1
Firefox 57.0 (64-bit)
No Add-ons or Extensions
3 Plugins: OpenH264 Video Codec, Widevine Content Decryption Module, Shockwave Flash
4 Legacy Extensions, all deactivated
'Tabs' options:
yes Ctrl+Tab cycles through tabs in recently used order
yes Open new windows in a new tab instead
yes When you open a link in a new tab, switch to it immediately
no Show tab previews in the Windows taskbar
Actual results:
The 'www.bbc.co.uk/news' tab opens (the oldest viewed tab)
Expected results:
The 'www.bbc.co.uk' tab should open as it is now the most recently viewed tab.
Reporter | ||
Comment 1•8 years ago
|
||
This might be a better summary:
ctrl+W (after closing the current tab) does not switch to the most recently used tab.
FYI I get the expected behaviour by following the ctrl+W with ctrl+tab
Updated•8 years ago
|
Updated•3 years ago
|
Severity: normal → S3
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.
You need to log in
before you can comment on or make changes to this bug.
Description
•