Page 1 of 1
When Age graphics is enabled, scrolling is little slow and jerky
Posted: 22 Sep 2017 22:03
by EvilVirus
When Age graphics (circle) is enabled, file list scrolling (with scrollbar) is little slow and jerky.
When Size graphics (circle) is enabled (without Age graphics), everything is ok.
In testing file list:
Folders count: 35
Files count: 32
System information:
XYplorer: 18.40.0000
OS: Windows XP Professional (Service Pack 3), 32-bit (5.1)
Themes: Yes
Screen: 2560x1080, 1/1 (Primary), Virtual: (0, 0) - (2560, 1080), Work: (0, 0) - (2560, 1020)
Screen DPI: 96 (100%), twx: 15, stretch: 1
Screen Color Depth: 32
UseDPIAwareIconSizes: No, Yes
Icon Size: Small=16, Large=32
Icon Size Controls: Small=16, Large=32
Icon Size Recommended: Small=16, Large=32
Re: When Age graphics is enabled, scrolling is little slow and jerky
Posted: 23 Sep 2017 12:10
by admin
Interesting and strange. There is nothing slow here going on. Unless maybe you have a very old OS like XP. If the drawing isn't the problem (Size Circles are fast), then it can only be the age detection. But this is all straight number crunching XP-supported API. Cannot see anything slow here.
Or did you define an incredibly high number of age classes?

Re: When Age graphics is enabled, scrolling is little slow and jerky
Posted: 23 Sep 2017 16:24
by EvilVirus
All of the age classes settings is default. When Modified column is visible (without enabled Age Circles), scrolling is fast, everything ok. Does not sound like a problem with age detection and used Win API functions, right?
I could get extended logs using a xyplorer special beta-build, if necessary.
Re: When Age graphics is enabled, scrolling is little slow and jerky
Posted: 23 Sep 2017 18:29
by admin
I think I got. I found out that the SystemTimeToTzSpecificLocalTime function (which in involved in determining the age, and is needed for handling DST) runs very slow in Windows XP SP3 and Windows Server 2003 SP2. So I will either emulate it or skip it for XP and Server 2003.
Re: When Age graphics is enabled, scrolling is little slow and jerky
Posted: 23 Sep 2017 19:54
by EvilVirus
Thank you for continuing to support the old systems like WinXP! After the release of the fix, I will try to test it as soon as possible.
Re: When Age graphics is enabled, scrolling is little slow and jerky
Posted: 23 Sep 2017 23:21
by admin
The fix is released. Beta version v18.40.0101.
Re: When Age graphics is enabled, scrolling is little slow and jerky
Posted: 24 Sep 2017 15:29
by EvilVirus
I did some tests on the old and new build. The speed of drawing the file-list with scrolling (and enabled age graphics) has increased noticeably. Some delay is still present, but it is rather small.
Unfortunately scrolling a large file-list in some cases is not absolutely smooth (I do not know why), so for everyday use I would prefer to disable age graphics.
Re: When Age graphics is enabled, scrolling is little slow and jerky
Posted: 24 Sep 2017 16:01
by EvilVirus
Re: When Age graphics is enabled, scrolling is little slow and jerky
Posted: 24 Sep 2017 19:03
by admin
Then it only can be the drawing itself. Cannot make that any faster, sorry. Well, I could skip the white background for each circle, that would double the speed, but it would not look that cool anymore.
Re: When Age graphics is enabled, scrolling is little slow and jerky
Posted: 24 Sep 2017 20:30
by EvilVirus
I think the changes on the last build are quite enough, because this is not the most important functional.
Also the problem, apparently, only on my computer.
Re: When Age graphics is enabled, scrolling is little slow and jerky
Posted: 13 Oct 2017 11:57
by admin
I think I found another cause of the slowdown you experienced and could fix that. Check out the next beta... (v18.50.0010).
Re: When Age graphics is enabled, scrolling is little slow and jerky
Posted: 13 Oct 2017 15:26
by EvilVirus
I think the problem is solved. The testing was short, but did not see any discomfort when scrolling the file list. Good job, thank you.