HeidiSQL
HeidiSQL copied to clipboard
When you load a sql file not empty, select all, delete : it lost the filename and the file handle
Preconditions
- HeidiSQL version: 12.5.0.6677
- Database type and version: SQL Server 2005 9.00.3042.00
- OS: Windows 7 SP1 32 bits
Describe the bug
When you load a sql file not empty, select all, delete : it lost the filename (and the file handle )
To Reproduce
- Go to menu "File / Load" a
myquery.sql(not empty)- see
- the filename in the tab :
myquery.sql
- the filename in the tab :
- see
- select all (ctrl-A)
- delete all
- see
- the filename in the tab :
Query # 8(where # 8 is the 8 th tab for example) - the menu "File / Save" is grayed
- the menu "File / Save As" is grayed
- the filename in the tab :
- when you undo (ctrl-Z), the old query is back but not the filename nor the file handle
- see
Remarks Explanation of my usage
When I create a sql file whith a version, myquery_20231016_1.sql, and make a new version, myquery_20231016_2.sql because it's a logical suite, sometimes I erase all the file to continue the same study of my query.
General usage
Even it's not during this sort of versioning, it's strange and unusual in an editor to lost the filename and the file handle when you delete all the characters of the file.
Screenshots or Crash reports