Originally created by: woutervannifterick
What exact steps will reproduce the problem?
1. Start editing a query. Type "select " for example
2. Open the session manager
3. Change to another window
4. Switch back to HeidiSQL
What was the expected output?
Expected: HeidiSQL in the same state as I left it
What happened instead?
The auto-complete dropdown is shown (and focused).
Usually not really a big problem, because pressing escape fixes it.
However, when you repeat the above sequence while you're editing a stored procedure for example, you still get the previous dropdown, plus an Access Violation.
In certain situations pressing escape then creates another access violation, and the autocomplete menu shows up again, so you'll enter a loop that you can only escape by ending the program (and thereby loosing all queries in tabs).
Suggested fix (optional)?
There seems to be some code that gets triggered upon activation or deactivation of the form. Perhaps that should be moved to another event, or some extra checks need to be added (?)
Version used?
HeidiSQL revision: latest
MySQL Server version: n/a
Operating system: win7, 32b, eng
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: a...@anse.de
Sounds like issue #2640
Mergedinto: 2640
Status: Duplicate
Related
Tickets:
#2640