-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fast vertical scrolling will make the list stuttering while drawing #1070
Comments
We are intensely using the Virtual TreeView control in our applications like TreeSize Professional and never saw this behavior. Your screenshot seems to be taken from a modified sample project. Can you please attach the full source code of this project? I was unable to replicate the issue here. |
Hello @joachimmarder It's the same sample as in Here's a GIF shows that When testing with a background the stuttering is gone but with the normal one without it, it has it. |
I am indeed seeing temporary scroll artifacts when using the scroll bar instead of the mousewheel (which I usually use when scrolling) in a themed VCL application. I don't see them when the system style is active. Since you have seen those scroll artifacts in a TListView as well, I suspect a problem in the VCL theme code, which has some known issue in repaint / erase-background code. I have no idea how I could fix this and since it occurs only as a short and temporary problem when not using the mouse wheel, I see it as low priority. |
I have also observed the same issue with a Scrollbox in ChatLLM. It scrolls very smoothly with the System style, but artifacts similar to those above appear with other styles when scrolling with the mouse. There are various issues with the styled scrollbars. See for instance https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-2252. |
… Follow-up commit for issue #1070
Hello guys
I was doing some testes with
TVirtualStringTree
and I found out that when I scroll fast this stuttering happen.At first I thought that it's from my code or some options I changes but when I tested it with the already shipped examples it's the same.
This is noticed if I use the scroll bar with touch scrolling on a laptop or using the mouse to drag the bar down fast.
Here's a screenshot of the problem
I tested the same scenario with normal Delphi
TListView
withDouble Buffering
Enabled and it's very smooth. (without theDouble Buffering
It will have the same problem but not as bad asTVirtualStringTree
)I tested it with Delphi 11 on Windows 10 And Windows 11 (Latest update for both).
Thanks.
The text was updated successfully, but these errors were encountered: