You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm frustrated when my tabs are closed from left to right due to the current tab-closing logic. For instance, I have 5 tabs and a low minutesInactive setting. The last-used information isn't stored until I exceed the minTabs setting because the inactivity clock resets every 5 seconds. Once I have more than the minTabs, all tabs are placed on the same timer. When the timer runs out, they are closed from left to right, regardless of actual usage.
Describe the solution you'd like
Tab last access datetime should be stored and only changed when the tab is accessed (not updated every 5 seconds when open tabs is less than minTabs). The check for closing the tab could then be:
Find tabs where (now - lastAccessed) > minutesInactive.
Sort these tabs by lastAccessed.
Close tabs until the number of open tabs is less then minTabs.
This approach would also allow for the implementation of a scanning frequency setting to enhance performance.
Describe alternatives you've considered
I considered increasing the minutesInactive setting, but this leads to tabs being closed less frequently, which isn't ideal.
Notes
From a short glance this logic might resolve issues that others have. #412 #414.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm frustrated when my tabs are closed from left to right due to the current tab-closing logic. For instance, I have 5 tabs and a low minutesInactive setting. The last-used information isn't stored until I exceed the minTabs setting because the inactivity clock resets every 5 seconds. Once I have more than the minTabs, all tabs are placed on the same timer. When the timer runs out, they are closed from left to right, regardless of actual usage.
Describe the solution you'd like
Tab last access datetime should be stored and only changed when the tab is accessed (not updated every 5 seconds when open tabs is less than
minTabs
). The check for closing the tab could then be:(now - lastAccessed) > minutesInactive
.This approach would also allow for the implementation of a scanning frequency setting to enhance performance.
Describe alternatives you've considered
I considered increasing the minutesInactive setting, but this leads to tabs being closed less frequently, which isn't ideal.
Notes
From a short glance this logic might resolve issues that others have.
#412
#414.
The text was updated successfully, but these errors were encountered: