View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001559 | SkyChart | 1-Software | public | 16-10-25 08:23 | 17-11-13 20:30 |
Reporter | Sasa | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux 64-bit | OS | Kubuntu | OS Version | 14.04 |
Target Version | 4.2 | ||||
Summary | 0001559: Mouse wheel functionality disappears | ||||
Description | Mouse wheel functionality was fully implemented by repository 3249 and 3250: http://www.ap-i.net/mantis/view.php?id=1508 However, it seem that latest svn installed libraries with Lazarus 1.6 and fpc 3.0.0 lack of this functionality. Some bug in Lazarus 1.6-dfsg-1 (official ubuntu package)? | ||||
Tags | No tags attached. | ||||
|
Sorry, I have missed this part: "I make a change that implement this feature, at least partially because the mouse must be over the TUpDown buttons, not the TEdit, because there is no easy way to find if an Edit is associated with an UpDown in it's mousewheel event." I will try to fully implement this feature. It is not trivial as you already wrote, however, not to demanding whatsoever. |
|
This is nice if you can make a component with this functionality . |
|
The steps are actually simple: 1. Detect mousewheels event in TEdit component (focused/mouse pointed) 2. Find TUpDown component is associated with (sequential search existed components are TUpDown, comparing associated pointer), collect Increment value and then according limitation and wheel direction correct Position and Text property in TEdit. Sorry, I have no time for this even it is not too demanding. You may close this. Sorry again. |
|
With Lazarus 1.8.0, this is partially solved. After upgrading on Lubuntu 17.10, Lazarus default version from this Linux repo is also upgraded to 1.8.0, however officially 1.6.4 is still "stable" one. When hover cursor over TEdit instance of the component, it will work increasing/decreasing by mouse wheel according TUpDown component parameters. That may be default behavior on Linux, however on Windows the TEdit instance must be focused to allow increasing/decreasing regardless position of the cursor. In any event this may be considered solved. |
|
I can confirm this work now with Lazarus 1.8 and I close this issue. Yes, I see Lazarus 1.8 RC4 is in Ubuntu 17.10. This is the version I use on my dev computer since August. RC5 is now available but I am waiting for the 1.8 final version to upgrade my build server, the beta version will still be build with Lazarus 1.6.4 until then. |
Date Modified | Username | Field | Change |
---|---|---|---|
16-10-25 08:23 | Sasa | New Issue | |
16-10-25 10:33 | Sasa | Note Added: 0003386 | |
16-10-25 10:41 | Sasa | Note Edited: 0003386 | |
16-10-25 11:53 | Patrick Chevalley | Note Added: 0003388 | |
16-10-25 11:53 | Patrick Chevalley | Status | new => acknowledged |
17-01-15 17:56 | Patrick Chevalley | Target Version | => 4.2 |
17-05-23 15:38 | Sasa | Note Added: 0003816 | |
17-05-23 15:44 | Sasa | Note Edited: 0003816 | |
17-05-23 15:53 | Sasa | Note Edited: 0003816 | |
17-05-23 16:02 | Sasa | Note Edited: 0003816 | |
17-05-23 17:21 | Sasa | Note Edited: 0003816 | |
17-05-23 17:22 | Sasa | Note Edited: 0003816 | |
17-05-24 00:00 | Sasa | Note Edited: 0003816 | |
17-11-13 14:58 | Sasa | Note Added: 0004268 | |
17-11-13 20:30 | Patrick Chevalley | Status | acknowledged => resolved |
17-11-13 20:30 | Patrick Chevalley | Resolution | open => fixed |
17-11-13 20:30 | Patrick Chevalley | Note Added: 0004269 |