View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0036111 | Lazarus | Widgetset | public | 2019-09-28 16:11 | 2020-07-15 15:46 |
Reporter | Frederick | Assigned To | Dmitry Boyarintsev | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | reopened | ||
Platform | Mac | OS | macOS | ||
Product Version | 2.0 | ||||
Summary | 0036111: StringGrid/DrawGrid selects and deletes text entry | ||||
Description | When entering data into a TStringGrid or TDrawGrid cell, the first keystroke enters the character, but also selects it. The second keystroke therefore deletes the first character. | ||||
Steps To Reproduce | Put a TStringGrid on a form, run, and try to enter 2 characters of text in a cell. The first character is selected, and the second character deletes it. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 62161 | ||||
LazTarget | - | ||||
Widgetset | Cocoa | ||||
Attached Files |
|
|
|
|
please test and close if ok |
|
r62180 reverts the fix |
|
I downloaded the demo from https://forum.lazarus.freepascal.org/index.php/topic,46787.msg334041.html#msg334041. I'm using Lazarus v2.1.0 r63549, FPC v3.3.1 r45778, macOS 10.14.6 (with sup update), Xcode 11.3.1. The problem is worse than originally described. Whichever cell I choose to edit which already contains content, the first character is focussed, entering a character deletes it. In addition, I cannot edit any other cell. If I double click on another cell, the red cell outline is appears, 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. See attached pic. |
|
The problem started after 63541. https://bugs.freepascal.org/view.php?id=37202 |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-09-28 16:11 | Frederick | New Issue | |
2019-09-28 16:11 | Frederick | File Added: StringGrid.zip | |
2019-11-03 01:27 | Dmitry Boyarintsev | Assigned To | => Dmitry Boyarintsev |
2019-11-03 01:27 | Dmitry Boyarintsev | Status | new => resolved |
2019-11-03 01:27 | Dmitry Boyarintsev | Resolution | open => fixed |
2019-11-03 01:27 | Dmitry Boyarintsev | Fixed in Revision | => 62161 |
2019-11-03 01:27 | Dmitry Boyarintsev | LazTarget | => - |
2019-11-03 01:27 | Dmitry Boyarintsev | Widgetset | Cocoa => Cocoa |
2019-11-03 01:27 | Dmitry Boyarintsev | Note Added: 0118998 | |
2019-11-03 22:13 | Dmitry Boyarintsev | Status | resolved => assigned |
2019-11-03 22:13 | Dmitry Boyarintsev | Resolution | fixed => reopened |
2019-11-03 22:13 | Dmitry Boyarintsev | Note Added: 0119023 | |
2020-07-15 11:50 | Trevor Roydhouse | Note Added: 0124035 | |
2020-07-15 11:50 | Trevor Roydhouse | File Added: Screen Shot 2020-07-15 at 7.46.46 pm.png | |
2020-07-15 15:46 | bortok | Note Added: 0124042 |