Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Should creating a new tab immediately close an old tab if min tabs is exceeded? #7

Open
sonntag opened this issue Apr 17, 2013 · 0 comments
Labels

Comments

@sonntag
Copy link
Owner

sonntag commented Apr 17, 2013

There are two ways in which closing tabs can be handled.

  1. Every tab gets a timer when it is opened, when the timer reaches zero (because it hasn't been accessed), then it gets into an expired state. If a new tab is created which causes min tabs to be exceeded, any expired tabs are automatically closed.
  2. The timers on each tab do not start until min tabs has been exceeded. If min tabs is exceeded long enough for a tab's timer to reach zero, then that tab is closed. Tabs continue to be closed until the min tabs count is reached, at which point the timers will stop.

I kind of really dislike 2, just because the user experience is shaky at best (which is why I implemented 1), but should 2 be implemented instead? Does it matter that opening a new tab may immediately close another tab?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant