Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "keep tab in memory" or "do not unload tab". #1197

Open
HT-7 opened this issue Oct 29, 2024 · 2 comments
Open

Add "keep tab in memory" or "do not unload tab". #1197

HT-7 opened this issue Oct 29, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@HT-7
Copy link

HT-7 commented Oct 29, 2024

When filling out a web form or uploading files in background, you don't want want that tab to unload, regardless of what you do in background.

Modern smartphones have lots of RAM, so it can be used for this purpose.

How to implement this? In the menu on the tab list, add a "select tabs to keep in memory" feature. This will add checkboxes to each tab in the tab list. Each checked tab is kept in memory no matter how many new tabs are opened.

Android 14 (at least Samsung One UI) already has this feature on the app level. Apps to be kept in memory can already be selected. It's time to make it on tab level too.

Chromium already keeps tabs that play music in memory. The user should be able to do it manually. Thank you for considering my suggestion.

@HT-7 HT-7 added the enhancement New feature or request label Oct 29, 2024
@tathastu871
Copy link

Its chromium policies that enforces tab discarding, And unloading not kiwi itself

When music is being played till then the tab is considered active thats why browser keeps it active,

When you say you have lots of ram
an average user has max 4gb ram devices out of which only 1.5gb is free , and if kiwi itself uses all that free ram your device wil lag a lot,

Most of users are hoarder they have 1000s of tabs opened currently browser unloads all tabs yet It lags so much on our device takes 3min just to startup
and when we mininize and switch back again it takes 1min to become responsive

Kiwi unloads but still retains previews of tabs that makes it even slower

If you try google chrome it completely unloads tabs even their previews

As for Your problem you can use a

  1. Cache the form data in localstorage

  2. use some extension that keeps your tab active by doing some random activity that will prevent browser from unloadiming tabs2

@tathastu871
Copy link

Its the website makers responsibility to cache your data in localstorage so when unloaded tab is reloaded it can retrieve data and fill in back

I had used many form websites that even after closing and restarting whole browser auto refills the previous data

So its not browsers problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants