-
-
Notifications
You must be signed in to change notification settings - Fork 661
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
Temporary Containers Automatic Mode doesn't work on Zen Browser #172
Comments
This issue is stale because it has been open for 30 days with no activity. |
Does it still happen? |
yup still happen, same with Floorp and Librewolf as well |
It still occurs on Zen, but works normal for me on Librewolf |
it's probably the extension's fault then, no? |
@mauro-balades Screen.Recording.2024-10-13.at.19.02.43.mov |
I think I found a solution. Inspecting the Temporary Containers, you will immediately notice a lot of uncaught errors from Examining Temporary Containers source code, Setting I can't comment whether this fix breaks other container extensions. If they hardcoded checking cookieStoreId against |
Hi, @Muko-Tabi. I'm Dosu, and I'm helping the desktop team manage their backlog. I'm marking this issue as stale. Issue Summary:
Next Steps:
Thank you for your understanding and contribution! |
This issue is still relevant. |
You can manually fix Automatic Mode by following these steps:
|
Thanks for the suggestion @lbrooney but just to add that it didn't work for me. In fact somehow it broke Zen itself; new tabs would just open to a blank page and I couldn't get to any of the settings pages. Even more intriguingly, I deleted the Zen profile folder and then to get some other work done went back to normal Firefox - and that didn't work either! I kept getting error messages like "Contextual identities disabled" when I tried my old shortcuts to open containers. I eventually disabled and re-enabled the Temporary Containers extension in normal firefox, and that fixed it. I don't plan to go back to Zen just now as I don't have time to work on this and Zen without TC is not something I want to use. But just thought I'd leave this here for anyone else who finds this bug. |
@shankargopal Interesting. I wasn't able to recreate your issues when attempting on a freshly created profile, but I believe when I was first migrating over to Zen I had the same issue where Zen was completely broken, everything was just blank. IIRC mine was caused by copying my Firefox profile and just pasting it in the Zen profiles directory. I fixed it by:
Just to reiterate, I think the important part is not copying over the old prefs.js. If you want to keep your old extension settings:
Unfortunately, my understanding is that Firefox settings set via about:preferences and about:config are saved to prefs.js so you'll have to reconfigure. I noticed no issues copying over my user.js, but I was using a fairly standard arkenfox setup so YMMV. Then I fixed TC by during the previous steps I said above. I could potentially help further diagnose the problem if you send me the exact error text or a screenshot of it, it almost sounds like the container tabs setting is disabled despite the fact that TC should force it on. |
As said I stopped using Zen after this so don't have anything to share as
yet - am worried about risking my browsers again just now :-). But I can
say that I didn't copy anything from the earlier profile at all - I just
downloaded the Zen AppImage on Linux and ran it, logged into Firefox Sync,
after some days of using it attempted your fix. When it stopped working, I
then deleted the Zen profile folder. But after that I returned to normal
Firefox as said and found the problems I reported. I still am very
confused about how any of this managed to affect my existing Firefox
install. I should also note that subsequent to this experience, while
everything is working now, all the data from my earlier Firefox containers
such as their cookies etc. seems to have been deleted - when I return to
them now, I have to individually log in to each site again.
…On Wed, Feb 26, 2025 at 2:58 AM Liam Rooney ***@***.***> wrote:
@shankargopal <https://github.com/shankargopal> Interesting. I wasn't
able to recreate your issues when attempting on a freshly created profile,
but I believe when I was first migrating over to Zen I had the same issue
where Zen was completely broken, everything was just blank. IIRC mine was
caused by copying my Firefox profile and just pasting it in the Zen
profiles directory. I fixed it by:
1. creating a new profile in Zen (via about:profiles)
2. launch it to complete Zen first time setup, this generates profile
folder contents and prefs
3. Close Zen and close Firefox
4. Then to move over the Firefox profile either:
1. (I haven't actually tested this, but I think in theory it should
work) copy over the contents of your Firefox profile to the Zen profile
*EXCEPT* for prefs.js
1. I think zen breaking has something to with some old value set
by Firefox or more likely some value required by Zen that's not set by
default
2. (what I did) I wanted a relatively fresh profile so I manually
copied over what I wanted carried over, based off information here
<https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_what-information-is-stored-in-my-profile>
Just to reiterate, I think the important part is not copying over the old
prefs.js.
If you want to keep your old extension settings:
1. (if you didn't copy your whole profile over) copy
<profile>/storage/default to the Zen profile (where extension data is
kept, more specifically extension data is stored in the folders starting
with moz-extension+++)
2. in your old Firefox prefs.js find the extensions.webextensions.uuids
user_pref and overwrite the samenamed user_pref in the new Zen prefs.js
or more ideally append it to the user_pref avoiding duplicates.
Unfortunately, my understanding is that Firefox settings set via
about:preferences and about:config are saved to prefs.js so you'll have to
reconfigure. I noticed no issues copying over my user.js, but I was using a
fairly standard arkenfox setup so YMMV.
Then I fixed TC by during the previous steps I said above.
I could potentially help further diagnose the problem if you send me the
exact error text or a screenshot of it, it almost sounds like the container
tabs setting is disabled despite the fact that TC should force it on.
—
Reply to this email directly, view it on GitHub
<#172 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAK4C6JHD5BN77XHZKZSQLD2RTN7TAVCNFSM6AAAAABN22WTE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBTGMZTKOJSHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: lbrooney]*lbrooney* left a comment (zen-browser/desktop#172)
<#172 (comment)>
@shankargopal <https://github.com/shankargopal> Interesting. I wasn't
able to recreate your issues when attempting on a freshly created profile,
but I believe when I was first migrating over to Zen I had the same issue
where Zen was completely broken, everything was just blank. IIRC mine was
caused by copying my Firefox profile and just pasting it in the Zen
profiles directory. I fixed it by:
1. creating a new profile in Zen (via about:profiles)
2. launch it to complete Zen first time setup, this generates profile
folder contents and prefs
3. Close Zen and close Firefox
4. Then to move over the Firefox profile either:
1. (I haven't actually tested this, but I think in theory it should
work) copy over the contents of your Firefox profile to the Zen profile
*EXCEPT* for prefs.js
1. I think zen breaking has something to with some old value set
by Firefox or more likely some value required by Zen that's not set by
default
2. (what I did) I wanted a relatively fresh profile so I manually
copied over what I wanted carried over, based off information here
<https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_what-information-is-stored-in-my-profile>
Just to reiterate, I think the important part is not copying over the old
prefs.js.
If you want to keep your old extension settings:
1. (if you didn't copy your whole profile over) copy
<profile>/storage/default to the Zen profile (where extension data is
kept, more specifically extension data is stored in the folders starting
with moz-extension+++)
2. in your old Firefox prefs.js find the extensions.webextensions.uuids
user_pref and overwrite the samenamed user_pref in the new Zen prefs.js
or more ideally append it to the user_pref avoiding duplicates.
Unfortunately, my understanding is that Firefox settings set via
about:preferences and about:config are saved to prefs.js so you'll have to
reconfigure. I noticed no issues copying over my user.js, but I was using a
fairly standard arkenfox setup so YMMV.
Then I fixed TC by during the previous steps I said above.
I could potentially help further diagnose the problem if you send me the
exact error text or a screenshot of it, it almost sounds like the container
tabs setting is disabled despite the fact that TC should force it on.
—
Reply to this email directly, view it on GitHub
<#172 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAK4C6JHD5BN77XHZKZSQLD2RTN7TAVCNFSM6AAAAABN22WTE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBTGMZTKOJSHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
What happened?
Temporary Containers Extension Issue
Extension Details
Issue Description
The Temporary Containers extension is designed to automatically assign new tabs to temporary containers when the "Automatic Mode" setting is enabled. This feature works as expected in regular Firefox up to the current Developer Edition as of now, even if the extension is outdated. However, when using the Zen browser the "Automatic Mode" feature doesn't work.
Steps to Reproduce
Expected Result
When opening a new tab in step 4, the Temporary Containers extension should automatically assign the tab to a temporary container.
Actual Result
When opening a new tab in step 4 in Zen Browser, the Temporary Containers extension does not automatically assign the tab to a temporary container.
Reproducible?
Version
Alpha build - 1.0.0-a.12
Severity impact
Medium, Enhancement
What platform are you seeing the problem on?
Linux, Windows
Relevant log output
No response
The text was updated successfully, but these errors were encountered: