HeidiSQL closes query tab on left click

[expired user #5249]'s profile image [expired user #5249] posted 13 years ago in General Permalink
error:
heidi closes the entire query tab (deletes its content if its the only tab) after rightclicking it and then leftclicking on it in order to hide the popup menu.

reproduction:
this error only occurs when you right click on the SELECTED query tab and afterwards left click on the tab for hiding the popup menu.

solution:
as one can close a query tab by double click and maybe the sequential combination of right click/left click on the selected query tab fires two single clicks i would suppose removing this double-cick-for-closing-function and only using the provided [X] button or catching this second click.

hopefully i wrote an insightful error report so you can track it, anse smile
[expired user #5249]'s profile image [expired user #5249] posted 13 years ago Permalink
forgot to mention i got the latest revesion, meaning r3582 wink
Code modification/commit from ansgar.becker, 13 years ago, revision 5.1.0.3583
Right click on query tab starts doubleclick timer when context menu closes. So, right click + left click is detected as double click and closes the selected query tab. Fixed hereby by ignoring right clicks. See http://www.heidisql.com/forum.php?t=6803
ansgar's profile image ansgar posted 13 years ago Permalink
Ignoring right clicks in r3583 - should be fixed.
[expired user #5249]'s profile image [expired user #5249] posted 13 years ago Permalink
well done, doesn't occur anymore smile

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