After Heidi tries to max out my RAM, I end-task'd it. When I re-open it, Heidi restores every window previously saved, not just those that were open when I end-task'd it.
Heidi restores all previously saved queries (20+)
I expect it to either start afresh (no query windows), or it to restore those query windows that were present when I end-task'd it (due to being non-responsive). Not to restore every query I've created in the last two weeks (and most of which not been used {and have been closed} for several days).
Don't get me wrong, I like the auto-restore, but only for those windows that were live at the time of program termination. I can't handle having to close twenty windows each time Heidi crashes, which is getting more frequent again (the maxing ram issue), don't know if there's been an update for that, but I will be checking for one tomorrow.
Yes, you should update to the latest build, as this auto-restore feature is new and I shipped a few bugfixes for it afterwards.
And yes, closed tabs should not get auto-restored. In such cases I will probably need more details from you, or I have to simulate what you did. But at first please update and report back if that issue is already fixed.
I updated Heidi yesterday and there is still a stability issue when Heidi is left open with a good connection and then activating sleep and later resuming that results in a crash. But the issue of all previous windows opening, did not repeat itself. I'll report back if I encounter this again.
That's odd, as I cannot reproduce this here. Something must be different on your side. Maybe the temporary tab-file cannot be deleted using your user privileges. Please watch for files in this directory:
C:\Users(yourUserName)\AppData\Roaming\HeidiSQL\Backups\
Probably make a test deletion with a file you created there.
And have a look into the tabs.ini, one folder up.
I also have problems with the restore tabs feature: Heidi keeps restoring tabs that I explicitly closed. I can’t really detect a system there but when I close all open tabs, clear the main query tab and close Heidi, the next time I open it, it restores some tabs. Previously, it used to accumulate more and more tabs, but this seems to have become better in 10.1.0.5881. Still, it reopens the closed files, which is annoying.
I did the following test to reproduce the behavior:
- Delete
tabs.ini
from my profile. - Open Heidi → no open tabs
- Open three random sql files → three open tabs
- Close Heidi, reopen Heidi → three tabs restored (ok)
- Close one tab, close Heidi, reopen Heidi → three tabs restored (not okay)
- Look at
tabs.ini
: No changes since first save (wrong)
Still also an issue for me. After I previously deleted the contents of the tabs.ini file, I'd had quite a few tabs open. I started Heidi up this morning, everything was there, including some tabs i didn't have open on Friday. So I closed all of them down, opened two.
Remembered I'd not updated this morning, so updated to 10.1.0.5581. It restarts as usual after update, all the tabs are back. I again removed all the tabs, closed heidi, re-opened, everything is back again.
There are entries in tab.ini going back to 21st May, there is also an update from 5 min ago when I closed heidi down.
Please login to leave a reply, or register at first.