Pauan / tab-organizer

Google Chrome Extension that makes it easier to manage many tabs!
MIT License
63 stars 8 forks source link

Tree Style Tabs functionality is incorrect when reopening closed tabs. #127

Closed Pauan closed 9 years ago

Pauan commented 9 years ago

Originally reported on Google Code with ID 128

What steps will reproduce the problem?
1. Create 2 tabs. Both should be at the top level (not indented).
2. Close the 2nd tab.
3. Reopen the 2nd tab (Ctrl+Shift+T).

What is the expected output? What do you see instead?
Both tabs should be at the top level (not indented). Instead, the 1st tab is at the
top level, but the 2nd tab is indented by 1 level.

Please provide any additional information below.
We don't save the previous indent level when a tab is closed, so when a tab is restored,
we try to guess what the indent should be. This is one case where this guessing is
incorrect.

Reported by pcxunlimited on 2011-01-21 23:24:36

Pauan commented 9 years ago
Another case:

1. Create 4 tabs. The indent level should be: 0 1 2 0
2. Close the 3rd tab.
3. Focus the 4th tab (which is now the 3rd).
4. Reopen the 3rd tab.

Indent level should be 0 1 2 0. Instead, it's 0 1 1 0.

Reported by pcxunlimited on 2011-01-21 23:29:12

Pauan commented 9 years ago
Tree Style Tabs functionality is most likely going to go away in version 5. Instead,
I plan to have a view that automatically groups tabs based on both time and parent/child
relationships.

Reported by pcxunlimited on 2012-08-27 22:18:37