6

Recently I made a fresh install of Windows 10 and Delphi 2007.

On Windows mouse settings, I configured the vertical mouse wheel to scroll 5 lines.

Everything is working fine EXCEPT for the fact that when I'm in IDE editor, the mouse scroll wheel will behave in a unexpected way. It works OK when I scroll up, but when I scroll down, it will scroll very fast to the end of the file.

It may look like a trivial problem, but actually it is very annoying, because I use the mouse scroll wheel a lot to navigate in the editor, especially down, to find parts of the code, and instead of scrolling 5 lines, it scrolls a lot more, maybe 50...

The problem happens ONLY on the Delphi's IDE. If I open a file in Notepad, for instance, the scrolling works fine in both directions.

Is there any known bug related to this issue? Any fixes?

2
  • 1
    You might take a look at this, even if it is about Parallels, also thewindowsclub.com/change-mouse-scroll-speed-windows Commented Dec 3, 2019 at 18:48
  • I have this issue in Delphi 11.1 on Windows 11 (native PC; no Parallels etc). Scrolling up works as expected, scrolling down is way too fast. Only happens in the Delphi IDE, not in other editors (VS, VS Code, Notepad, Notepad++). Commented Nov 4, 2024 at 12:45

4 Answers 4

4

Well, there is evidently an issue with the mouse wheel which manifests itself when running under Parallels - see here

talking to the very helpful Parallels support, the problem is with 'smooth scrolling' implemented. When this is turned off, the editor in Delphi works fine. This apparently does happen with some programs and seems to be a Delphi problem rather than Parallels.

Also, for adjusting scroll-wheel sensitivity generally in Win10 see https://www.thewindowsclub.com/change-mouse-scroll-speed-windows

which says to go to Settings | Devices | Mouse & Touchpad and there are controls to set whether the mouse wheel scrolls a page at a time or multiple lines and another, a slider, to choose how many lines to scroll.

Sign up to request clarification or add additional context in comments.

1 Comment

Recently i've upgraded to Delphi 10.4 and this issue is back, even setting Parallels correctly... any ideas please ?
3

What works for me is adding a boot flag to the VM configuration -> Boot order -> Advanced settings -> Boot flags. Add this line to this box:

devices.usb.mouse=0

Works for me with Delphi 14.2 on Windows 10 in Parallels 16.5.0

4 Comments

Wow, you made my day ! I've been plagued by this issue for months and now it's fixed !! A million thanks :-D
Looks like the recent update 17 of Parallels does not need this anymore. In fact, if you use this flag, the mouse will run VERY fast on Windows machine. I disabled this flag and fixed the mouse speed issue and the scrolling on Delphi worked as it should
@delphirules Just installed v17 and I can only confirm this, brilliant! Parallels seems have finally fixed it. But there is more: I also had devices.pen=0 set to get my Wacom tablet behaving more or less normal, and that is also not needed anymore and very much improved. Now you have made my day!
What is Delphi 14.2? Delphi 2010?
0

Successful in Editor of IDE Delphi 14.2 on Windows 11:

  • Windows, System / advanced settings / advanced / visual effects/settings / visual effects / user defined
  • uncheck "optimized scrolling..."

2 Comments

Welcome to Stack Overflow! All content on Stack Overflow must be written in English—that includes questions, answers, comments, and even chat messages. Please see Can I ask a question in a language other than English? for more details. Please translate your post to English or delete it. Thank you!
I understand that you are trying to help by providing the UI wording that would be found under a German user's system, but if we had users doing that for every language for every question here, we'd simply be overwhelmed with duplicate answers. And it would be difficult to impossible to find, for example, German spam potentially hiding in answers.
-1

For me this helped:
System → Advanced System Settings → Advanced → Performance Settings → unselect Smooth‑scroll list boxes.

1 Comment

In Windows 11 you can find the Advanced System Settings by running "sysdm.cpl" via start menu. But this solution did not help me.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.