Recent

Author Topic: [SOLVED] Adjusting scroll speed on IDE editor  (Read 4191 times)

Frogfather

  • New Member
  • *
  • Posts: 34
[SOLVED] Adjusting scroll speed on IDE editor
« on: November 28, 2021, 11:09:01 am »
Hi all,

I'm seeing the following minor but annoying issue on MacOS (11.6 Big Sur but also on Catalina) - the scroll rate on the editor is extremely high such that a tiny input on the trackpad scrolls a very large distance on the editor file.

This has been the case since upgrading to v2.0.12, however the same Lazarus version on Linux (Fedora 35) does not behave in this way.

I've looked through the options menu and can't see a scroll rate setting but if there is one, or another workaround/fix it'd be good to know about.

I  realise I could adjust the scroll rate in system settings, but am reluctant to do this as Lazarus is the only application that shows this behaviour.

Thanks in advance for any help!

Cheers

John
« Last Edit: November 28, 2021, 01:08:52 pm by Frogfather »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 7684
  • Debugger - SynEdit - and more
    • wiki
Re: Adjusting scroll speed on IDE editor
« Reply #1 on: November 28, 2021, 11:37:09 am »
If it differs between 2 Lazarus, on the exact same system (both using the same WidgetSet), and the new version is "way to fast", then there may have been a bug introduced. => What was the previous version, before you upgraded to 2.0.12? (Is this Cocoa, or still Carbon?).

In any case, Tools > Options > Editor > Mouse.
=> Go to the "Wheel" tab.
You can choose between the speed "System" or "Single Line".

Depending on what causes your issue, that may help...



Frogfather

  • New Member
  • *
  • Posts: 34
Re: Adjusting scroll speed on IDE editor
« Reply #2 on: November 28, 2021, 01:08:34 pm »
Hi Martin,

Thanks for the quick reply. Switching to Single Line fixed it. Many thanks!

This is Cocoa - previously was on (I think) 2.0.11 but can't be certain.

Cheers

John

Frogfather

  • New Member
  • *
  • Posts: 34
Re: [SOLVED] Adjusting scroll speed on IDE editor
« Reply #3 on: November 30, 2021, 10:16:46 am »
A little additional information on this:

On my other Mac which is still running Mojave 10.14.6, using the system speed for mouse wheel doesn't result in excessive scroll speed.
This machine is using Lazarus/fpc 2.0.12/3.2.2 svn revision 64642 2021-10-24 installed using fpcupdeluxe.

The Mac which did exhibit excessive scroll speed is currently using 2.0.12/3.2.0 downloaded from the Lazarus site but it was previously using 2.0.12/3.2.2 and the excessive scrolling issue was still present.

Which is a rather convoluted way of saying that I think the issue is something to do with the MacOS version rather than the Lazarus/fpc version and it was introduced somewhere between MacOS 10.14.6 and MacOS 11.6.

Hope that's of use

Cheers

John C

Zoë

  • New Member
  • *
  • Posts: 20
Re: [SOLVED] Adjusting scroll speed on IDE editor
« Reply #4 on: December 01, 2021, 06:56:21 pm »
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39477

The issue above isn't directly related, but I posted a patch in the comments of the issue that addresses the excessive scrolling speed in addition to the reported issue.  Aside from not working on OS X 10.6, it should be safe for anyone to apply.



 

TinyPortal © 2005-2018