supernova_00 wrote:Parent tab 1
Parent tab 2
- child tab 2.1
- child tab 2.2
-child tab 2.2.1
Parent tab 3
Close the child tab 2.2 and focus is set to child tab 2.2.1 and not Parent tab 2.
That <i>should</i> be the way things work now. The heuristic we're using is "if a link opens a new tab <u>with focus</u>, when that tab is closed, focus returns to its parent tab <u>only if</u> the user has not manually switched to another tab." Otherwise the behaviour is close-to-right as before.
What this means is that if you're browsing and you click on a link that opens a new tab <i>with focus</i> at the rightmost edge of your tabstrip, if your next tab interaction is to close that tab, you go back to where you opened it from. Here's an example: I've got three tabs open, and I'm focused on tab #2. I click a link that says "see a diagram" and it opens a new tab with the diagram in it as tab #5. I look at the diagram and close the tab; I'm returned to tab #2.
If the tab had opened in the background, or if I'd switched to tab #3 for a second and then back to tab #5, then the whole "back to parent" thing would be forgotten and the tab closing behaviour would be to focus on the next tab to the right, as per usual.
The rationale here is to support the behaviour of drilling down into a link for more information, and then immediately disposing of that information in a way that returns you to the place you were before you drilled down.