Peter Schilling
  • Posts: 8
  • Joined: 1/2/2020
Hi there,
I found a strange bug that is reproducible in your demo application!

The iGrid control crashes when an editable text cell is selected in the iGrid and you press the ^ key and then any other key!

Steps to reproduce:
- Open the iGridDemo.exe
- Start for example 'Cell Merging Simple Demo'
- Select a cell
- Press the ^ key twice in a row !!


This leads always to the following error:

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei TenTec.Windows.iGridLib.iGrid.StartTextBoxEdit(Int32 rowIndex, Int32 colIndex, String text, Char keyChar)
bei TenTec.Windows.iGridLib.iGrid.RequestEditCellInternal(Int32 rowIndex, Int32 colIndex, Char keyChar, Boolean openDropDown, Boolean doDefault)
bei TenTec.Windows.iGridLib.iGrid.OnKeyPress(KeyPressEventArgs e)
bei System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
bei System.Windows.Forms.Control.WmKeyChar(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei TenTec.Windows.iGridLib.iGrid.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



Please fix it ;)

Greetings, Peter
Igor/10Tec
  • Posts: 1130
  • Joined: 1/17/2011
Do you mean the '^' character (Shift+6) or the Up Arrow key or what? I can't reproduce the bug.

Can you record a screen video demonstrating that?
Peter Schilling
  • Posts: 8
  • Joined: 1/2/2020
I mean the ^ key or the ° key if you preffer this more ;)

You can find it below the ESCAPE-Key or left of the 1 or above the TAB-Key..

And the error dows only occur if you start the edit mode.

There is no error if you are already in edit mode ..
Igor/10Tec
  • Posts: 1130
  • Joined: 1/17/2011
On my keyboard this is the backwards apostrophe or grave accent (`), and pressing it does not lead to the bug you reported.
Peter Schilling
  • Posts: 8
  • Joined: 1/2/2020
Aargh,

you really got a different Keyboard-Layout in Ukraine then?

Can you please install the german or english keyboard-layout and switch to it?

You will be able to reproduce this bug then!

This key is always very special in germany because the first stroke does not produce a readable sign, but the second does ..
Peter Schilling
  • Posts: 8
  • Joined: 1/2/2020
I just reproduced this bug with the english keyboard layout and the same key as well!
Peter Schilling
  • Posts: 8
  • Joined: 1/2/2020
Hello Igor,

I just arrived at home and produced a video for you wich demonstrates this bug..

I hope this helps?!

www.pit71.de/iGrid.mp4 
Igor/10Tec
  • Posts: 1130
  • Joined: 1/17/2011
Oh, I've managed to reproduce that bug. However, on my keyboard it does not occur in the English layout. I needed to install the German keyboard, and the bug appears only when I try to enter a character with an accent by pressing the Above-Tab key first.

Give me some time to investigate this issue. I hope I'll come up with a solution in a day or two.
Igor/10Tec
  • Posts: 1130
  • Joined: 1/17/2011
We investigated this issue. The issue occurred not only with the circumflex mark (^) while using German keyboard layouts, but in similar situations for other locales. For example, for the accent mark in Spanish in which letters like á and é can be entered. The problem was fixed in the v6.0.37 we have just published on the website.

Expand the spoiler below if you are interested in the details of the problem.

Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.