I notice that the mouse scrolls in the opposite direction on the latest version 5.13 for Windows. Tested with a Logitech and Perixx mouse on Windows 10 1607.
Rolling the wheel one notch scrolls like dozen lines at a time in 5.13, while the previous version respecting the setting made in "Control Panel -> Mouse Properties" in Windows 10 1709.
----- Update ----
Seems like the number of scrolled lines is the number set in windows squared. (i.e.: set by 3 lines at a time scrolls 9 lines at a time. 5 lines in setting scrolls 25 lines etc.)
did not notice the wrong or opposite direction scrolling
but did notice the number of lines scrolled is not consistent with windows mouse settings.
fresh new windows 10 v1709 installed last weekend
I recently updated from an older version and noticed this change as well, now the mouse scroll wheel scrolls a full page view of lines instead of a few lines at a time. I looked in the ini settings to see if there was a settings to adjust this back, but didnt see any.
Introduced in 5.13, this issue persists in 5.14.
Still not fixed in 5.15.2 . It still scrolls by a page regardless of the control panel setting as well.
Can't reproduce this issue.
Tested 5.13 & 5.15.2 in W7 and W10 and the mouse wheel scroll normal (Logitech Trackball)
Can you test the file I upload in #1101 (post number 12) ?
The reason I want to you test that file is what was compiled with Lazarus 1.6.
The official release is compiled with Lazarus 1.8.
With the one provided, scrolling without problem. (Except this one can't load "libeay32.dll")
In my case, the one compiled with Lazarus 1.8 scroll the number of lines -- specified in windows mouse setting -- squared. e.g. 3 lines in setting became 9 lines while 5 lines became 25 lines.
Scrolling works properly in that build, antekgla.
i've had this issue since a couple versions too
I have reading Lazarus forums and I dont find a isssue with this and I tested myself in W10 and the issue is not present in my setup.
Maybe some related with HighDPI settings?
To the people what have this problems:
... what is your Screen Resolution/DPI Settings?
1920x1080 96dpi
@antekgla
Tested on 2 PC and 1 Laptop, same problem.
On the laptop, if using the touchpad gesture to scroll, it's fine and respect the setting (how many lines should be scrolled), but not if using a mouse.
Have you tested it using a mouse instead of the trackball?
Fix this with https://github.com/transmission-remote-gui/transgui/commit/ab033d9e8359ef1c632f0d2e7c49f816abcf6277
Apparently original author make a fix for better scroll in TVarGrid. That fix works great until Lazarus 1.6 but in 1.8 the number of lines scrolled are incorrect.
Now the fix is conditional to Lazarus 1.6 or lower.
If anyone want to test this before release, please download this test build (only windows) compiled with Lazarus 1.8
That build works properly when you have the mouse control panel set to scroll at x lines per notch but when you set it to scroll at one page at a time, it scolls one line per notch in the wrong direction.
I tried your build @antekgla and its much better.
Thx @antekgla.
It's working properly now.
Still doesn't work when setting scroll to one page at a time.
I (hope) definitely fix this with https://github.com/transmission-remote-gui/transgui/commit/4983a0f6d4ae1a7ca484f7ee1a8d7139c18bfe39
Test build before release (only Windows) here:
This was hard... Lazarus 1.8 has completely rewritten the TCustomDrawGrid.GridMouseWheel procedure and is incompatible with 1.6.
This one scrolls properly in full page or multiline mode. Thanks antekgla.
Most helpful comment
I (hope) definitely fix this with https://github.com/transmission-remote-gui/transgui/commit/4983a0f6d4ae1a7ca484f7ee1a8d7139c18bfe39
Test build before release (only Windows) here:
transgui.zip
This was hard... Lazarus 1.8 has completely rewritten the TCustomDrawGrid.GridMouseWheel procedure and is incompatible with 1.6.