Access Violation. See attached bugreport.txt
Resort the table
HeidiSQL version:
10.1.0.5471
Database system and version:
Percona 5.6.26
Operating system:
Win 10 x64
Are you talking about "Sorting" dropdown on Data tab?
I played with the sorting dropdown but was not able to re-produce the issue. Works fine. Sorting by clicking on headers works fine as well.
Yes, it happened on the sorting dropdown in the data tab.
Very same issue on version 10.1.0.5481
I can continue using the application and if I click "OK" the sorting option is removed from the sorting dropdown. I have also attached a bugreport.
edit: If it press "Reset sorting" I don't get an access violation. It only happens when I try to remove a single sorting option.
Your both bug reports have a similar but unequal callstack. The one crashed here:
006a86ca heidisql.exe Vcl.Controls TWinControl.WndProc
... while the other one did it here:
0040e853 heidisql.exe System GetDynaMethod
... which is 6 steps further.
But I guess @jweultjes already clicked on the "continue" button several times.
However, that crash lies deep within the VCL sources, which makes it nearly impossible for me to fix.
Is there at least some way to reliably reproduce the crash?
I was able to re-produce the issue when I changed theme from Windows to Turquose Gray and started to play with the Sorting dropdown (I opened the dropdown a few times and each time made some changes by adding/removing columns). Got the crash.
The issue gone when I switched back to Windows theme.
Hope this help.
P.S. I believe Reset & Add Col buttons in the dropdown should be on top. Otherwise it is hard to add multiple columns as while you just clicked Add Col button it went down and you have to move mouse to target it again. Not a big deal as I never use the dropdown in real life.
Ok, so this is one more theme related bug. Sigh...
Sorry for that. I'm just a messenger :)
Ah yes, I was working on the material theme. On the Windows theme it hasn't crashed so far.
The crash happens regardless of the theme. It is not a theme issue.
To reproduce, you have to remove ALL of the sort filters by clicking the Xs in the dropdown menu. You will see the crash only when you remove the final sort filter. All the other filters will not cause problems. It's only the last one that has trouble. This will reliably reproduce the issue.
I suppose its worth mentioning that removing the filters by clicking the headers works fine.
Will this issue ever be fixed?
I can confirm that this issue has nothing to do with themes (as far as i can see).
It is consistently happening when you remove all sorting filters.
Extremely inconvenient. I have finally started to remember this, but when it is fixed i have to learn that its OK to remove all again..
For me this only crashes if I selected a theme other than the default "Windows" theme. So this is still relevant.