Skip to content
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

Restore from disk button grayed out on start #145

Closed
TryhardOne opened this issue Feb 15, 2022 · 5 comments
Closed

Restore from disk button grayed out on start #145

TryhardOne opened this issue Feb 15, 2022 · 5 comments

Comments

@TryhardOne
Copy link

Hey there, yesterday after restarting my PC I noticed the "restore from disk" button was grayed out.
My first thought was that due to windows updates something was deleted.

However, today, after saving the windows to disk again yesterday, the button was grayed out again.

I restarted PersistentWindows, and now the restore button works again, with the corresponding saved windows.

@TryhardOne TryhardOne changed the title Restore from disk savefile gone? Restore from disk button grayed out on start Feb 15, 2022
@kangyu-california
Copy link
Owner

PW upgrade won't delete or overwrite captures saved on disk.
Each unique display configuration (display scale factor, monitor count/resolution/relative location) must be individually saved to disk to enable corresponding restore menu.

The issue sounds like a reliability issue of 3rd party plugin LiteDB.dll,
To verify the required db entry does exist, you may download a utility called "LiteDB Studio" from github, and open C:\Users\<user_id>\AppData\Local\PersistentWindows\PersistentWindows.1.1.0.0.db,
you should be able to see multiple db entries (each corresponding to a unique display configuration)
image

I will try to upgrade LiteDB.dll version from 5.0.9 to 5.0.11 in next release.

@TryhardOne
Copy link
Author

PW upgrade won't delete or overwrite captures saved on disk. Each unique display configuration (display scale factor, monitor count/resolution/relative location) must be individually saved to disk to enable corresponding restore menu.

The issue sounds like a reliability issue of 3rd party plugin LiteDB.dll, To verify the required db entry does exist, you may download a utility called "LiteDB Studio" from github, and open C:\Users<user_id>\AppData\Local\PersistentWindows\PersistentWindows.1.1.0.0.db, you should be able to see multiple db entries (each corresponding to a unique display configuration) image

I will try to upgrade LiteDB.dll version from 5.0.9 to 5.0.11 in next release.

yes, but there is only one entry.

@kangyu-california
Copy link
Owner

I figured out where the bug is (in my code).
Restart PW is the recommended workaround for now

@TryhardOne
Copy link
Author

I figured out where the bug is (in my code). Restart PW is the recommended workaround for now

awesome! Thanks for the ongoing fast support as well! : 3

@kangyu-california
Copy link
Owner

Fixed in 5.34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants