View Issue Details

IDProjectCategoryView StatusLast Update
0001559SkyChart1-Softwarepublic17-11-13 20:30
ReporterSasa Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinux 64-bitOSKubuntuOS Version14.04
Target Version4.2 
Summary0001559: Mouse wheel functionality disappears
DescriptionMouse 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)?
TagsNo tags attached.

Activities

Sasa

16-10-25 10:33

reporter   ~0003386

Last edited: 16-10-25 10:41

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.

Patrick Chevalley

16-10-25 11:53

administrator   ~0003388

This is nice if you can make a component with this functionality .

Sasa

17-05-23 15:38

reporter   ~0003816

Last edited: 17-05-24 00:00

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.

Sasa

17-11-13 14:58

reporter   ~0004268

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.

Patrick Chevalley

17-11-13 20:30

administrator   ~0004269

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.

 

Issue History

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