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

Super Putty does not save session changes on exit #513

Open
GoogleCodeExporter opened this issue Sep 28, 2015 · 0 comments
Open

Super Putty does not save session changes on exit #513

GoogleCodeExporter opened this issue Sep 28, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

In the session treeview there is a simple guard to prevent excessive file saves 
by delaying before saving.

If a node is moved then superputty is closed shortly after the session the move 
will not be saved.

I suggest simply adding SuperPuTTY.SaveSessions(); to exit for a quick fix.

Another possible quirk is that from reading the code it looks like if you keep 
moving nodes quickly it wont save until sometime after you stop. However I have 
not tested this.

However I suggest refactoring the system. It would be a lot easier to manage if 
the session were in its own class and the anti-save spam handling implemented 
there. This would make it much easier to manage auto-saving and auto-backup on 
tree changes gracefully. It would also make it easier to add a property such as 
IsSaved that could be checked on program shutdown.

Original issue reported on code.google.com by j...@gimo.co.uk on 22 Apr 2015 at 11:05

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

1 participant