New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when trying to select a partially hidden column checkbox in register "Data" #534

Closed
andipfaff opened this Issue Feb 10, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@andipfaff
Copy link

andipfaff commented Feb 10, 2019

bugreport.txt
picture1
picture2

Steps to reproduce this issue

choose a table with many columns (at least 15),
click on the register "Data"
click on "Columns" to select which columns should be displayed in the grid
click on the lowest element which must already be partially invisible (see screenshot)
Heidi crahes. I am using 10.1.0.5478 but this behaviour is old

Best regards
Andi

@ansgarbecker

This comment has been minimized.

Copy link
Collaborator

ansgarbecker commented Feb 10, 2019

Somehow I cannot reproduce that. However, I'll try to fix this blindly, so you will have to check.

Relevant part of the callstack:


exception class    : EStringListError
exception message  : List index out of bounds (-1).

main thread ($2210):
006cf010 heidisql.exe   Vcl.StdCtrls             .TListBoxStrings
7fefd6eb KERNELBASE.dll                          RaiseException
004107cd heidisql.exe   System                   @RaiseAtExcept
0053a45c heidisql.exe   System.Classes           TStrings.Error
0053c9e4 heidisql.exe   System.Classes           TStringList.Delete
00d2ddec heidisql.exe   column_selection 161  +6 TColumnSelectionForm.chklistColumnsClickCheck

@ansgarbecker ansgarbecker added the bug label Feb 10, 2019

@ansgarbecker ansgarbecker added this to the v10.2 milestone Feb 10, 2019

@andipfaff

This comment has been minimized.

Copy link
Author

andipfaff commented Feb 10, 2019

It seems that you first have to disable some fields, than restart Heidi, display the grid again and then deactivate the lowest field.

@andipfaff

This comment has been minimized.

Copy link
Author

andipfaff commented Feb 10, 2019

Found a way to reproduce it: disable ALL fields first, then enable the lowest.

@andipfaff

This comment has been minimized.

Copy link
Author

andipfaff commented Feb 10, 2019

Thank you! This problem is solved but now if you click on this partially hidden checkbox in the list, HeidiSQL will mark the next one instead of the one I have clicked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment