| Anonymous | Login | Signup for a new account | 2013-05-24 19:46 CEST | ![]() |
| All Projects | FPC | Lazarus: Packages, Patches | Lazarus CCR | Mantis | fpGUI | fpcprojects: fpprofiler |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0021944 | Lazarus CCR | Virtual Treeview | public | 2012-05-05 16:56 | 2012-05-08 20:19 | ||||
| Reporter | cobines | ||||||||
| Assigned To | Luiz Americo | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | Win32 | OS | Windows XP | OS Version | SP3 | ||||
| Summary | 0021944: Header is not taken into account when auto scrolling | ||||||||
| Description | When auto scrolling in some cases mouse cursor position is compared against Client bounds but ClientRect does not contain header and header height is not substracted from mouse position. I have added my own scrolling, when mouse is moved to the border of the ClientRect the tree should scroll. To reproduce: 1. Run project. 2. Move mouse to the most bottom node. Scrolling should start but it does not. 3. Move mouse a little bit up, to the second or third from bottom node. Scrolling starts. Same thing at the top of the control. Scrolling is not performed when mouse is on the most top node, but it is performed when mouse is on the header. Patch against trunk attached. | ||||||||
| Tags | No tags attached. | ||||||||
| Widgetset | |||||||||
| Attached Files | |||||||||
Relationships |
|||||||
|
|||||||
Notes |
|
|
(0059327) Luiz Americo (developer) 2012-05-07 03:51 |
Fixed in 4.8 branch |
|
(0059347) cobines (reporter) 2012-05-07 11:27 |
Thanks. Although it still also scrolls when mouse is over the header. Is that the intention that in DoTimerScroll InRect is True if mouse is over header? Then in DetermineScrollDirections if mouse is over header Y is negative but it is compared against node height: if (Y < Integer(FDefaultNodeHeight)) Can this be changed? |
|
(0059359) Luiz Americo (developer) 2012-05-07 18:38 |
Done |
|
(0059414) cobines (reporter) 2012-05-08 20:19 |
Thanks. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-05-05 16:56 | cobines | New Issue | |
| 2012-05-05 16:56 | cobines | File Added: autoscroll_with_header.diff | |
| 2012-05-05 17:00 | cobines | File Added: vtv_scroll.zip | |
| 2012-05-06 02:35 | Luiz Americo | Status | new => assigned |
| 2012-05-06 02:35 | Luiz Americo | Assigned To | => Luiz Americo |
| 2012-05-07 03:51 | Luiz Americo | Relationship added | duplicate of 0002418 |
| 2012-05-07 03:51 | Luiz Americo | Duplicate ID | 0 => 2418 |
| 2012-05-07 03:51 | Luiz Americo | Status | assigned => resolved |
| 2012-05-07 03:51 | Luiz Americo | Resolution | open => fixed |
| 2012-05-07 03:51 | Luiz Americo | Note Added: 0059327 | |
| 2012-05-07 11:27 | cobines | Status | resolved => feedback |
| 2012-05-07 11:27 | cobines | Resolution | fixed => reopened |
| 2012-05-07 11:27 | cobines | Note Added: 0059347 | |
| 2012-05-07 18:38 | Luiz Americo | Status | feedback => resolved |
| 2012-05-07 18:38 | Luiz Americo | Resolution | reopened => fixed |
| 2012-05-07 18:38 | Luiz Americo | Note Added: 0059359 | |
| 2012-05-07 18:38 | Luiz Americo | Duplicate ID | 2418 => 0 |
| 2012-05-08 20:19 | cobines | Status | resolved => closed |
| 2012-05-08 20:19 | cobines | Note Added: 0059414 | |
| Main | My View | View Issues | Change Log | Roadmap |



