Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.

Reload issue with query tabs

kalvaro's profile image kalvaro posted 9 years ago in General Permalink
I've found a weird issue with the query tabs (latest snapshot on Windows XP). I did the following:

1. Start HeidiSQL and connect to a database
2. Type a SQL query in the default query tab and save the tab as "left.sql"
3. Open a new query tab, type some SQL and save the tab as "right.sql"

I was editing both tabs and saving changes every time. I was getting prompted now and then whether I wanted to reload the file because it had been modified externally but I always cancelled since I was pretty sure that neither files had been edited outside HeidiSQL. However, the last time I focused "left.sql" and got the prompt I hit "OK". However, I got "right.sql" (not "left.sql") loaded into the tab, so I ended up with two "right.sql" tabs and "left.sql" was gone from HeidiSQL.

I think those were the exact steps. In any case I've tried again and it appears to be reproducible, you just need to keep HeidiSQL open for a while.

:-?
ansgar's profile image ansgar posted 9 years ago Permalink
Hehe, sounds funny. Obviously caused by some wrong expectation in the code which detects external file changes. Will look at that.
kalvaro's profile image kalvaro posted 9 years ago Permalink
Should I open a bug report so you don't need to fix it right now? The issue tracker features a pretty scary warning...

(BTW, the link in the Issue tracker green tab points to the main project hosting page, not the issue tracker.)
Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.
ansgar's profile image ansgar posted 9 years ago Permalink
Ah yes good idea, please do that. I'm currently noticing my tendency to forget things which are just here in the forum. The issue tracker does not have this problem.
kalvaro's profile image kalvaro posted 9 years ago Permalink
Reported as http://bugs.heidisql.com/2274
kalvaro's profile image kalvaro posted 9 years ago Permalink
Reported as 2274.

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