firefox-tabgroups icon indicating copy to clipboard operation
firefox-tabgroups copied to clipboard

Closing last tab when browser.tabs.closeWindowWithLastTab set to false

Open igvk opened this issue 7 years ago • 5 comments

When browser.tabs.closeWindowWithLastTab is false, closing last tab in group brings a tab from another group instead of new tab page.

igvk avatar Jul 19 '17 09:07 igvk

I've noticed this too. It's very annoying, especially because in order to fix this I have to switch to that tab group and then switch back.

lilyball avatar Jul 22 '17 04:07 lilyball

Actually, this happens even if browser.tabs.closeWindowWithLastTab is true.

lilyball avatar Jul 22 '17 04:07 lilyball

I wonder, what it should do according to logic in the latter case: close browser, switch to another group, open new tab? Anyway, the current behavior is broken.

igvk avatar Jul 22 '17 08:07 igvk

My preference is close the browser. I have Firefox set to restore the session when it relaunches. Though I suppose it could be turned into a preference as to what it does.

lilyball avatar Jul 22 '17 17:07 lilyball

Having the same issue. If browser.tabs.closeWindowWithLastTab is set to true, the browser should close. Otherwise, you should switch to the previous group. If no groups are left, spawn an empty tab.

samer avatar Aug 22 '17 15:08 samer