Recent

Author Topic: TDrawGrid/TStringGrid character entry  (Read 2240 times)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1199
  • Former Delphi 1-7, 10.2 User
Re: TDrawGrid/TStringGrid character entry
« Reply #15 on: July 14, 2020, 03:15:42 am »
I downloaded your demo from https://forum.lazarus.freepascal.org/index.php/topic,46787.msg334041.html#msg334041

The problem seems to be worse now with Lazarus & FPC trunks (see signature).

Whichever cell I choose to edit, the first character is focussed, entering a character deletes it. So far this agrees with your issue.

But now I cannot edit any other cell. If I click on another cell, the cell outline is highlighted, but anything I enter turns up in the first cell I edited! It seems that the focus remains stuck on the first cell I edited.
o Lazarus 2.1.0 r64368, FPC 3.3.1 r48100, macOS 10.14.6, Xcode 11.3.1
o Lazarus 2.1.0 r64392, FPC 3.3.1 Jan 13 21:24, macOS 11.1 (aarch64), Xcode 12.3
o Lazarus 2.1.0 r61574, FPC 3.3.1 r42318, FreeBSD 12.1 amd64 (VMware VM)
o Lazarus 2.1.0 r61574, FPC 3.0.4, Ubuntu 20.04 (Parallels VM)

VTwin

  • Hero Member
  • *****
  • Posts: 943
  • Former Turbo Pascal 3 user
Re: TDrawGrid/TStringGrid character entry
« Reply #16 on: July 14, 2020, 03:32:43 am »
Thanks so much trev. This has been making me crazy.

I thought I had a work around, but now I'm jammed in another application.
« Last Edit: July 14, 2020, 03:44:47 am by VTwin »
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.0
macOS 10.13.6: Lazarus 2.0.10 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.10 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.10 (64 bit on VBox)

VTwin

  • Hero Member
  • *****
  • Posts: 943
  • Former Turbo Pascal 3 user
Re: TDrawGrid/TStringGrid character entry
« Reply #17 on: July 14, 2020, 11:19:08 pm »
The bug report I filed was closed and reopened. Dmitry is working on it.

Perhaps it would be useful for you to add a note on this new behavior? 
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.0
macOS 10.13.6: Lazarus 2.0.10 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.10 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.10 (64 bit on VBox)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1199
  • Former Delphi 1-7, 10.2 User
Re: TDrawGrid/TStringGrid character entry
« Reply #18 on: July 15, 2020, 11:51:16 am »
Bug report updated.
o Lazarus 2.1.0 r64368, FPC 3.3.1 r48100, macOS 10.14.6, Xcode 11.3.1
o Lazarus 2.1.0 r64392, FPC 3.3.1 Jan 13 21:24, macOS 11.1 (aarch64), Xcode 12.3
o Lazarus 2.1.0 r61574, FPC 3.3.1 r42318, FreeBSD 12.1 amd64 (VMware VM)
o Lazarus 2.1.0 r61574, FPC 3.0.4, Ubuntu 20.04 (Parallels VM)

bigeno

  • Sr. Member
  • ****
  • Posts: 250
Re: TDrawGrid/TStringGrid character entry
« Reply #19 on: July 15, 2020, 03:49:23 pm »
Thats rev 63541 bug.

 

TinyPortal © 2005-2018