You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Query tabs can be closed without any prompt to save or warning about lost data.
I had several queries open for a coding test. Each query corresponded to an answer to a test question. I had saved the queries to SQL files, but i needed to close the database. I closed out of all the open query tabs, not realizing i had made changes to each of them after I had last saved. To my dismay, when I opened the files again all my changes were lost. It cost me a couple hours of lost work.
In other database management GUI, when the user clicks to close out a query they are presented with a prompt like "You have unsaved changes. Do you want to save before closing?" to prevent lost work. DB Browser should add this for unsaved query tabs.
@russlamb, are you still using DB4S. We finally managed to implement this prompt. If you'd like to try it, you can install a nightly build or wait to the imminent 3.12 release. I'll close this issue now, since other users have already confirmed that it is working for them, but feel free to reopen it if I've missed something.
Activity
justinclift commentedon Jan 20, 2017
Yep, this does make sense to implement. Shouldn't be to hard to do either. 😄
AGlezB commentedon Jun 13, 2017
👍 for this to be in the next release.

👍 👍 👍 👍 👍 if implemented like SSMS: a single dialog with all unsaved files.
justinclift commentedon Jun 13, 2017
Ahhh, good thinking. Yep, that makes sense. 😄
beRto- commentedon Nov 17, 2019
I got burned by this a couple of times recently! I wish DB4S would have saved me from myself! :)
iKlsR commentedon Nov 17, 2019
Yikes, hmm. I still don't have the time to get to this 😥. I will peek again month end if somebody doesn't take it as it shouldn't be that big a task.
mgrojo commentedon Feb 17, 2020
@russlamb, are you still using DB4S. We finally managed to implement this prompt. If you'd like to try it, you can install a nightly build or wait to the imminent 3.12 release. I'll close this issue now, since other users have already confirmed that it is working for them, but feel free to reopen it if I've missed something.