marta-file-manager / marta-issues

An issue tracker for Marta File Manager.
https://marta.yanex.org/
329 stars 0 forks source link

Tab focus shouldn't jump from the current tab if some other tab is closed without getting focused #969

Open eugenesvk opened 1 year ago

eugenesvk commented 1 year ago

If I have 4 tabs: t1 t2 t3 t4* with the last one t4 focused and then close t2 by pressing the "×" button on the tab, then the focus changes form t4 to t3, which is rather unexpected — I didn't open t2, so there is no reason for the focus to jump away from my main t4 tab

(the issue is similar if I close t2 programmatically, and is also unexpected)