12.0.0.6512 version bug

xxxxxx2's profile image xxxxxx2 posted 2 years ago in General Permalink

Hi. There is a problem with the tabs in the program. If you accidentally close a tab, it cannot be reopened in any way, the menu does not provide for this. You can add a menu item to reopen the just closed tab, for example in the browser Chrome for this is the key combination Ctrl+Shift+T. The contents of the tabs are stored in the absolute path. If you move the program to another folder and run it, it will start without the tabs. Can you make the tabs paths relative rather than absolute in the settings, so that the tabs will remain when you move the program to another folder. Thank you.

xxxxxx2's profile image xxxxxx2 posted 2 years ago Permalink

And another problem. If you run a query on one tab and then switch to another tab, the query running cannot be aborted. The "Cancel current ESC operation" button becomes inaccessible on all tabs. When trying to close the program, it says - you can't close the program, wait for the end of the query. Make it so that the current requests are interrupted forcibly when closing the program. Now I have to remove the task via Task Manager.

ansgar's profile image ansgar posted 2 years ago Permalink

Closing a tab which was not saved to a file before leaves no way to restore it. Probably you should enable the confirmation again:

Description

I could also modify the code so HeidiSQL deletes tab files to the recycle bin, instead of permanently deleting it.

Restoring a closed and deleted file requires an additional backup of it somewhere. I don't think that's the right approach.

Code modification/commit 9ec40f0 from Ansgar Becker <anse@heidisql.com>, 2 years ago, revision 12.0.0.6515
When deleting tab backup file, delete it to recycle bin, for cases where the user did that by accident. Same for snippet file and overwritten export/zip file. See https://www.heidisql.com/forum.php?t=39355
xxxxxx2's profile image xxxxxx2 posted 2 years ago Permalink

Okay. I noticed another problem. An error in the program when working with MySQL. In the table, the field s is the primary key. If you run a query like this: SELECT FROM 218c WHERE s='1' The result will be a single row. If you put the cursor on it and click the delete button on the panel, the program will delete the record. If the query will be in this form: SELECT FROM 218c a WHERE a.s='1' It will give the same result, but now you cannot delete the selected record - the program gives an error saying that such table was not found, reload the tree.

ansgar's profile image ansgar posted 2 years ago Permalink

I cannot follow what you were exactly doing there. Please post a screenshot with that error message.

borjadm's profile image borjadm posted 2 years ago Permalink

Is it possible to deactivated the option to don't send this tabs to the recycle bin? In settings or else.

ansgar's profile image ansgar posted 2 years ago Permalink

No, that is not optional.

Please login to leave a reply, or register at first.