When Age graphics is enabled, scrolling is little slow and jerky

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
EvilVirus
Posts: 9
Joined: 16 Jan 2013 11:33

When Age graphics is enabled, scrolling is little slow and jerky

Post 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
Attachments
my_file_list_view_style.png
my_file_list_view_style.png (39.33 KiB) Viewed 1805 times

admin
Site Admin
Posts: 65200
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: When Age graphics is enabled, scrolling is little slow and jerky

Post 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? :eh:

EvilVirus
Posts: 9
Joined: 16 Jan 2013 11:33

Re: When Age graphics is enabled, scrolling is little slow and jerky

Post 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.

admin
Site Admin
Posts: 65200
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: When Age graphics is enabled, scrolling is little slow and jerky

Post 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.

EvilVirus
Posts: 9
Joined: 16 Jan 2013 11:33

Re: When Age graphics is enabled, scrolling is little slow and jerky

Post 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.

admin
Site Admin
Posts: 65200
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: When Age graphics is enabled, scrolling is little slow and jerky

Post by admin »

The fix is released. Beta version v18.40.0101.

EvilVirus
Posts: 9
Joined: 16 Jan 2013 11:33

Re: When Age graphics is enabled, scrolling is little slow and jerky

Post 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.


admin
Site Admin
Posts: 65200
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: When Age graphics is enabled, scrolling is little slow and jerky

Post 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.

EvilVirus
Posts: 9
Joined: 16 Jan 2013 11:33

Re: When Age graphics is enabled, scrolling is little slow and jerky

Post 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.

admin
Site Admin
Posts: 65200
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: When Age graphics is enabled, scrolling is little slow and jerky

Post 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).

EvilVirus
Posts: 9
Joined: 16 Jan 2013 11:33

Re: When Age graphics is enabled, scrolling is little slow and jerky

Post 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.

Post Reply