desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Pinned tabs aren't loaded on startup

Open BoscoDomingo opened this issue 2 years ago • 21 comments

Captchas

  • [X] I have read the instructions.
  • [X] I have searched existing issues and avoided creating duplicates.
  • [X] I am not filing an enhancement request.

What happened?

When starting up Zen, pinned tabs aren't loaded and instead you get sent to a New Tab.

Might be related to #2163

Reproducible?

  • [X] I have checked that this issue cannot be reproduced on Mozilla Firefox.

Version

1.0.1-a.12 (64-bit)

What platform are you seeing the problem on?

Windows

Relevant log output

No response

BoscoDomingo avatar Oct 23 '24 04:10 BoscoDomingo

A screenshot of what it looks like: image

BoscoDomingo avatar Oct 23 '24 04:10 BoscoDomingo

Do you have the Super Pins mod? Turn off the load pinned tabs only when using them. The new behavior for unloaded pinned tabs is to add a new tab instead of loading them. image

cheeeebs avatar Oct 23 '24 06:10 cheeeebs

I have the same issue.

ztjuh avatar Oct 24 '24 15:10 ztjuh

I am having the same issue on macos. I do not have any zen mods installed. currently on Version 1.0.1-a.12 (64-bit) when ever restart the program. all pinned tabs are gone installed using homebrew

zhongjis avatar Oct 25 '24 21:10 zhongjis

1.0.1-a.12 as well here, installed from Flatpak on Linux

ztjuh avatar Oct 26 '24 01:10 ztjuh

Do you have the Super Pins mod? Turn off the load pinned tabs only when using them. The new behavior for unloaded pinned tabs is to add a new tab instead of loading them. image

I indeed had that option marked (thought I had unchecked it, my bad). I'll test again

Edit: Yup, fixed

BoscoDomingo avatar Oct 28 '24 09:10 BoscoDomingo

@ztjuh @zhongjis are you both also using Super Pins?

Do you have the Super Pins mod? Turn off the load pinned tabs only when using them. The new behavior for unloaded pinned tabs is to add a new tab instead of loading them. image

salamijason avatar Oct 29 '24 11:10 salamijason

I don't have super pinned mods!

I have disabled Zen Mods for now, and see if it makes a difference.

ztjuh avatar Oct 29 '24 11:10 ztjuh

Alright, do let me know if your issue is fixed after doing so.

salamijason avatar Oct 29 '24 12:10 salamijason

When I open a new window, the pinned tabs are gone, and when you restart both windows, depending on how you restart them (if you close the one without the pinned tabs first then they are still there, but if you close the one with the pinned tabs, they are gone after a restart)

ztjuh avatar Oct 29 '24 12:10 ztjuh

Hmmm. I tried it another time, but this time the pinned tabs are still here, it's very inconsistent.

ztjuh avatar Oct 29 '24 12:10 ztjuh

I'm on 1.0.1-a.14 (Firefox 131.0.3) (64-bit) now by the way, maybe it got fixed already?

ztjuh avatar Oct 29 '24 12:10 ztjuh

But shouldn't the pinned tabs be in the new window as well?

ztjuh avatar Oct 29 '24 12:10 ztjuh

But shouldn't the pinned tabs be in the new window as well?

This is something in works, I believe. Nothing official yet, though. Up to this point, pinned tabs have not synced across windows.

It's a session store issue. Zen uses the last window as the last "session" perse, and only loads that last session on your next startup. This is why if you close the window with no tabs last, Zen saves that window as your most recent session. As of right now, it hasn't been fixed but there's also not a fix for it. I'll leave this issue open until a fix or feature comes out.

salamijason avatar Oct 29 '24 14:10 salamijason

How to avoid the issue for now:

Menu -> Exit, instead Don't close windows one by one

If you want to retrieve the lost tabs: Go to profile folder Go to sesssionstore-backups And copy it somewhere else Then replace one of those files with sessionstore.jsonlz4

https://docs.zen-browser.app/guides/manage-profiles

salamijason avatar Oct 29 '24 14:10 salamijason

@ztjuh @zhongjis are you both also using Super Pins?

Do you have the Super Pins mod? Turn off the load pinned tabs only when using them. The new behavior for unloaded pinned tabs is to add a new tab instead of loading them. image

nope. the issue persists with all zen mods disabled >_>

zhongjis avatar Oct 30 '24 03:10 zhongjis

@zhongjis Yikes, sorry to hear that. In the meantime, you could try to steps to avoid the issue in the future:

Menu -> Exit, instead Don't close windows one by one

And if you want to retrieve the lost tabs:

Go to profile folder Go to sesssionstore-backups And copy it somewhere else Then replace one of those files with sessionstore.jsonlz4

salamijason avatar Oct 30 '24 07:10 salamijason

@zhongjis Yikes, sorry to hear that. In the meantime, you could try to steps to avoid the issue in the future:

Menu -> Exit, instead Don't close windows one by one

And if you want to retrieve the lost tabs:

Go to profile folder Go to sesssionstore-backups And copy it somewhere else Then replace one of those files with sessionstore.jsonlz4

will try and thanks for the reply XD I think the main issue here is that I have Startup -> Open previious windows and tabs checked but it does not take effect. this only happens on my Mac. not on Windows :) Feel free to let me know if you need any more details :)

zhongjis avatar Nov 02 '24 00:11 zhongjis

only happens on my Mac. not on Windows

Hmm I see, then there has to be some type of unwanted behavior there. Alright, thank you for pointing out the issues. Will send to big dev cheff.

salamijason avatar Nov 03 '24 09:11 salamijason