otzbergnet/tabCount

Tabs are being closed when I do not want them to be

Closed this issue · 9 comments

My current setup is as below, but tabs are still being closed.

Happy to help debug. It's happened a bunch this weekend.

Thankfully I have been able to recover them using many presses of Cmd+Shift+T

Screen shot 2021-03-08 at 01 17 51

Yes, it's happened 4 times so far. It happens almost almost every session.

  • I'm well over 30 tabs
  • I am just working, browsing, opening and closing tabs as I go
  • I mostly work with the keyboard, the only mouse interaction is for pointing and clicking links on the page
  • At some point I notice "where are all my tabs?"
  • Even my pinned tabs are closed/gone
  • I have to press Cmd+Shift+T repeatedly to recover them all
  • Tabs reappear to the left of the current tab, if that helps ascertain how they were closed

My feeling is there is a problem and the tab closing code is being run somehow when it shouldn't be.

As you can probably gather, at this point I am not sure how I feel about the destructive functions this extension has developed. Perhaps they would be better in another extension, a "tab valet"? Then this extension can be read-only, simply counting tabs/windows as it was originally.

Right now I cannot trust the extension to keep my tabs safe, which is not ideal for an extension that should quietly do little in the background.

This seems to be due to a recent change as I never had this problem until recently.

I see that the latest app store update came out 2 days ago, that coincides with when i started seeing this behaviour.

I hope that helps.

As a workaround I have put 300 in each of the focus boxes. Will report back if that stops it happening.

3 times in 1 day!

I'm going have to disable the extension before some serious damage is done.

Still happy to help you solve this.

I'm still open minded that it might not be this extension but something else.

So I've re-enabled the extension.

No worries, it's not important in the bigger picture.

  • 3 windows
  • 82 tabs, maybe as high as 100 at times

I also wondered if it's the Tab Space extension, which also has a close tab feature. I ruled that out as it has not been updated for 2 months, so I would have noticed before the last two days. Regardless, I have now turned off the feature in that extension also.

OK, first: apologies 🙌

I have tracked down the problem!

  • I recently started using an app that has shortcuts on the Control key
  • I also use Tab Space Safari Extension that has shortcuts on the Control key
  • I forgot that Tab Space has shortcuts that close tabs
  • The shortcut to close tabs is the same as a shortcut in the new app
  • Tab Space captures the shortcut pressed to quit the other app as key up happens after Safari regains focus (terrible bug)
  • No problems since disabling shortcut keys in Tab Space
  • Feature request made on Tab Space repo

Sorry for the false alarm!

🙈