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
I did a quick experiment to test app.storage.tab storage (below), running on localhost. Every new tab that connects prints "new!..." with a unique value, but any tab I create with "Duplicate" in Chrome (or "Duplicate Tab" in Edge) prints "already..." with the same value as the duplicated tab. This isn't mentioned on the storage page, not sure if this is a bug or expected behavior? Is there any way to get unique storage for Duplicate tabs?
The tab storage is copied and shared. We should try to detect the duplication, create a new tab ID, copy the storage and continue working on the new instance with the new tab ID.
The text was updated successfully, but these errors were encountered:
Discussed in #3867
Originally posted by kfalcami October 11, 2024
Question
I did a quick experiment to test app.storage.tab storage (below), running on localhost. Every new tab that connects prints "new!..." with a unique value, but any tab I create with "Duplicate" in Chrome (or "Duplicate Tab" in Edge) prints "already..." with the same value as the duplicated tab. This isn't mentioned on the storage page, not sure if this is a bug or expected behavior? Is there any way to get unique storage for Duplicate tabs?
It turns out NiceGUI's tab storage behaves differently than the JavaScript session storage:
The tab storage is copied and shared. We should try to detect the duplication, create a new tab ID, copy the storage and continue working on the new instance with the new tab ID.
The text was updated successfully, but these errors were encountered: