View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026767 | Lazarus | Widgetset | public | 2014-09-23 23:05 | 2014-09-24 16:55 |
Reporter | Bart Broersma | Assigned To | Zeljan Rikalo | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | i386 | OS | Linux | OS Version | Fedora Core 18 |
Product Version | 1.3 (SVN) | Product Build | r46265 | ||
Target Version | 1.2.6 | Fixed in Version | 1.3 (SVN) | ||
Summary | 0026767: TListView..GetItemAt(X, Y) returns wrong item, if ListView is scrolled (Linux GTK2). | ||||
Description | When you have a listview with scrollbars, and you scroll e.g. 1 row down, then GetItemAt(X,Y) returns the item as if no scrolling had occurred. | ||||
Steps To Reproduce | Open attached sample project in Lazarus. Make sure buil-mode (ProjectOptions) is set to GTK2. Build and run. Hover the mouse over the first row and see that the form's caption indicates the right item. Now scroll down the listview 1 row. Again hover the mouse over the first row. The caption now shows that GetItemAt() still returns the items as if the ListView had never scrolled. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 46307 | ||||
LazTarget | 1.2.6 | ||||
Widgetset | GTK 2 | ||||
Attached Files |
|
|
lv.zip (3,348 bytes) |
|
Please test and close if ok. Now offset of scrollbars is applied and getItemAt() returns correct value. |
|
Fixed,thanks. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-09-23 23:05 | Bart Broersma | New Issue | |
2014-09-23 23:05 | Bart Broersma | File Added: lv.zip | |
2014-09-23 23:11 | Bart Broersma | Summary | TListView..GetItemAt(X, Y) returns wrong item, if ListView is scrolled. => TListView..GetItemAt(X, Y) returns wrong item, if ListView is scrolled (Linux GTK2). |
2014-09-24 07:21 | Zeljan Rikalo | Assigned To | => Zeljan Rikalo |
2014-09-24 07:21 | Zeljan Rikalo | Status | new => assigned |
2014-09-24 08:16 | Zeljan Rikalo | Fixed in Revision | => 46307 |
2014-09-24 08:16 | Zeljan Rikalo | LazTarget | - => 1.2.6 |
2014-09-24 08:16 | Zeljan Rikalo | Note Added: 0077578 | |
2014-09-24 08:16 | Zeljan Rikalo | Status | assigned => resolved |
2014-09-24 08:16 | Zeljan Rikalo | Fixed in Version | => 1.3 (SVN) |
2014-09-24 08:16 | Zeljan Rikalo | Resolution | open => fixed |
2014-09-24 08:16 | Zeljan Rikalo | Target Version | => 1.2.6 |
2014-09-24 16:55 | Bart Broersma | Note Added: 0077591 | |
2014-09-24 16:55 | Bart Broersma | Status | resolved => closed |