warp icon indicating copy to clipboard operation
warp copied to clipboard

I've never seen restoration of tabs after reopen the Warp.

Open quietnumeric opened this issue 2 years ago • 4 comments

Dupe Check

Describe the bug

I use Warp and have never experienced the restoration of previously opened tab sessions when I close a window, quit the application, and then relaunch it. Of course, Settings > Features > general > Restore windows, tabs, and panes on startup was chacked.

To reproduce

Open warp after close.

Expected behavior

No response

Screenshots

No response

Operating system

MacOS

Operating system and version

Ventura 13.5

Shell Version

No response

Current Warp version

v0.2024.05.28.08.02.stable_00

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

24-05-31

Additional context

No response

Does this block you from using Warp daily?

No

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

quietnumeric avatar May 31 '24 16:05 quietnumeric

Hi @quietnumeric thanks for letting us know. Please try disabling session restoration then delete the sqlite db. https://docs.warp.dev/features/sessions/session-restoration#session-restoration-database

This may help with resetting the state. Please let us know if that fixed it.

dannyneira avatar May 31 '24 22:05 dannyneira

@dannyneira Thank you for noticing! In the first place, even when opening a new tab and executing commands there, it seems that no direct warp.sqlite file is created in the dev.warp.Warp-Stable directory. Given the situation, please let me know if there are any other things I should try.

Always:

pwd
~/Library/Application Support/dev.warp.Warp-Stable
ls
fe4a0d6dc3c75999	warp.sqlite-wal
warp.sqlite-shm		warp_network.log

quietnumeric avatar May 31 '24 23:05 quietnumeric

There appear to be warp.sqlite-wal and warp.sqlite-shm files so the DB may have been there at some point. Can you please share those files with [email protected] and include the GH4971 at the subject? This could help us see where the sqlite db failed.

dannyneira avatar Jun 03 '24 15:06 dannyneira

Every time Warp updates and reopens, session restoration is disabled, and I lose all my open tabs.

I am using Warp on Windows WSL.

unrealbato avatar Sep 30 '25 08:09 unrealbato