Skip to content

Commit 9ddf5c9

Browse files
authored
Merge pull request #252 from KiKaraage/main
2 parents 0cd8892 + db4e0c9 commit 9ddf5c9

2 files changed

Lines changed: 18 additions & 2 deletions

File tree

content/docs/user-manual/window-sync.mdx

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Window Sync
2+
title: Window Sync & Recovery
33
description: Your opened windows mirror with each other instantly
44
---
55
import KeyboardShortcut from '@/components/KeyboardShortcut';
@@ -13,6 +13,7 @@ Zen now **syncs windows on the same device**, so changes in one window are refle
1313
Your browser does not support the video tag.
1414
</video>
1515
</div>
16+
}
1617

1718
If you open multiple windows of Zen, when you close them using "Quit" option from main menu or <KeyboardShortcut shortcut="Ctrl + Q" /> shortcut, Zen will save the state of your windows. When you reopen Zen afterwards, the multiple windows will be restored. No more tab loss!
1819

@@ -23,7 +24,22 @@ When you're done browsing on a blank window, you can click the **Move To...** bu
2324

2425
!["Move To..." button within a blank window in Zen](/assets/user-manual/window-sync/move-to.png)
2526

27+
## Recovering Lost Window Sessions
28+
29+
Since Zen 1.18b, alongside the Window Sync feature, Zen provides new session backup system that saved tab state of all synced windows regularly, including when you're moving tabs or change status of a tab (essentials, pinned, unpinned, and/or splitted). This improves accuracy of session restoring by Zen. It will also makes it easier for you to do manual session restoration if you lose tabs from a session. Follow these steps to restore:
30+
31+
- Make sure Zen is closed.
32+
- Open root directory of your current Zen profile (Open `about:support` in Zen, navigate to **Applications Basics** section, find **Profile Directory**, and click **Open Directory** button.)
33+
- On the Flatpak version of Zen, the profile root directory will be located at `~/.var/app/app.zen_browser.zen/.zen`.
34+
- Open the `zen-sessions-backup` folder, you will see multiple backup files in .jsonlz4 format:
35+
36+
![Two windows of file managers showing a Zen profile root directory and its `zen-session-backup` folder, containing regular backups of saved sessions](/assets/user-manual/window-sync/zen-sessions-backup.png)
37+
38+
- Duplicate the latest zen-sessions-`date-hour`.jsonlz4 file, rename it to **zen-sessions.jsonlz4**.
39+
- Copy **zen-sessions.jsonlz4** to your profile root directory.
40+
- Open Zen again and tabs from the session backup will be restored.
41+
2642
<Callout type="info" title="Can we sync Zen tabs and windows across devices?">
27-
The current window sync only works on the same device, but multi-device sync support is planned. For now, you can use the **Send to Device** option to send tabs between devices logged in to the same Mozilla account.
43+
The current window sync only works on the same device, but multi-device sync support is planned. For now, you can use the **Send to Device** option to send tabs between devices that logged in to the same Mozilla account.
2844
</Callout>
2945

286 KB
Loading

0 commit comments

Comments
 (0)