desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Closing a tab switches to a particular previously visited tab instead of the immediately previous

Open magikmw opened this issue 2 months ago • 1 comments

Preliminary Checks

  • [x] I have read and understood the important section above.
  • [x] I have searched existing issues and avoided creating duplicates.
  • [x] I am not filing an enhancement request.
  • [x] I have checked that this issue cannot be reproduced on Mozilla Firefox.
  • [x] I have checked that this issue can be reproduced once I removed all my Mods and Custom CSS.

What happened?

Very briefly:

  1. While on an open tab...
  2. Open a tab with ctrl+t, search and browse for a while
  3. Close the tab created in (2.), usually with ctrl+w
  4. Zen goes back to a tab that was open a while ago, not the tab I was on at (1.)

Expected behavior

Zen should go back to the last tab when closing the active tab

Actual behavior

Zen switches to a random tab from previously open in the session

Steps to reproduce

Very briefly:

  1. While on an open tab...
  2. Open a tab with ctrl+t, search and browse for a while
  3. Close the tab created in (2.), usually with ctrl+w
  4. Zen goes back to a tab that was open a while ago, not the tab I was on at (1.)

Screenshots and videos

If really needed I'll try to provide one, but the issue seems more logic / behaviour based than visual.

Version

1.16.4b (Firefox 143.0.4) (64-bit)

What platform are you seeing the problem on?

Linux (AppImage)

What component is this issue related to?

Tabs

Relevant log output if applicable


magikmw avatar Oct 17 '25 12:10 magikmw

I have the same issue. When closing a tab, Zen will switch to the "owner" tab (if the closed tab was opened from another one), or the adjacent tab below the closed one otherwise.

Instead of the adjacent tab I'd like it to go to the last used tab, which is what Arc does.

For now I'm using the Select After Closing Current extension to achieve this.

tekumara avatar Nov 23 '25 00:11 tekumara