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

Add an option to save all Windows and contents to disk #3606

Open
audiomuze opened this issue Oct 28, 2019 · 8 comments
Labels

Comments

@audiomuze
Copy link

@audiomuze audiomuze commented Oct 28, 2019

Details

It's far too easy to close a Window within sqlitestudio and with it lose all the work / coding carried out in that window. The same thing happens if for some reason sqlitestudio abends.

Please add an option to save all Windows and contents to disk so that they can be named, closed and reopened from disk, even if inadvertently closed with one stray mouse click. As an alternative add a config option to enable a confirmation dialogue if a user attempts to close a non-empty window.

Lost a day's coding work a few minutes back with one stray and inadvertent click of the mouse .... poof, up in smoke without any warning or way of getting it back.

@pawelsalawa

This comment has been minimized.

Copy link
Owner

@pawelsalawa pawelsalawa commented Oct 28, 2019

That sounds wrong. The way it is implemented now, when you close application, it should bring all windows back after next start. If you had uncommited data/structure editions, it should warn you that you have uncommited changes and if you're sure you want to close. Also any SQL queries you have in SQL Editor windows should be restored for you upon next start.

Isn't it working like that for you?

@audiomuze

This comment has been minimized.

Copy link
Author

@audiomuze audiomuze commented Oct 28, 2019

That all works, but I inadvertently clicked the bottom X and poof, no warning...that window closed and gone, presumably lost forever.
image

@pawelsalawa

This comment has been minimized.

Copy link
Owner

@pawelsalawa pawelsalawa commented Oct 28, 2019

You can right-click on the window bar (where open window list is) and there is menu option to "Restore last closed window". Unfortunately it won't work if you restarted application since then.

@pawelsalawa

This comment has been minimized.

Copy link
Owner

@pawelsalawa pawelsalawa commented Oct 28, 2019

I think it may be worth to let this option work even after restart.

@pawelsalawa

This comment has been minimized.

Copy link
Owner

@pawelsalawa pawelsalawa commented Oct 28, 2019

Oh, and the option to "Restore last closed window" is also available from "View" menu at the top.

@audiomuze

This comment has been minimized.

Copy link
Author

@audiomuze audiomuze commented Oct 28, 2019

Thanks. Now I wish I hadn't restarted.

@audiomuze

This comment has been minimized.

Copy link
Author

@audiomuze audiomuze commented Nov 2, 2019

One more point on this - it'd be great to be able to mark windows as "Locked" whereby a close operation or hotkey will have no effect on that window until it's "Unlocked"

@pawelsalawa

This comment has been minimized.

Copy link
Owner

@pawelsalawa pawelsalawa commented Nov 2, 2019

Good idea. I agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.