distal-attribute
distal-attribute
distal-attribute
distal-attribute

Reload issue with query tabs

User, date Message
Written by kalvaro
4 years ago
Category: General
587 posts since Thu, 29 Nov 07
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.

:-?
Written by ansgar
4 years ago
4940 posts since Fri, 07 Apr 06
Hehe, sounds funny. Obviously caused by some wrong expectation in the code which detects external file changes. Will look at that.
Written by kalvaro
4 years ago
587 posts since Thu, 29 Nov 07
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.)
Written by ansgar
4 years ago
4940 posts since Fri, 07 Apr 06
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.
Written by kalvaro
4 years ago
587 posts since Thu, 29 Nov 07
Reported as http://bugs.heidisql.com/2274
Written by kalvaro
4 years ago
587 posts since Thu, 29 Nov 07
Reported as 2274.
 

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