Loading icon overlays in tree

Things you’d like to miss in the future...
RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Loading icon overlays in tree

Post by RalphM »

Just upgraded from 22.40.0223 to .0231 and startup took about the same time as usual but then I had the busy cursor for another 30s while the status bar showed "Loading icon overlays in tree". I haven't changed any settings in that area recently, so why does this suddenly take so much time?
Maxi Tree with 750 folders, 140 expanded.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

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

Re: Loading icon overlays in tree

Post by admin »

Didn't change anything here. I would think it's a minor Windows hiccup that won't repeat itself anytime soon.

RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Loading icon overlays in tree

Post by RalphM »

Restarted PC, reactivated "Refresh, Icons, History/Load icon overlays and In tree as well", then upgraded to .0232 and sure enough it took 30s again to load the icon overlays in tree.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

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

Re: Loading icon overlays in tree

Post by admin »

And this does not happen with this version?
https://www.xyplorer.com/freezer.php?ver=22.40.0200

RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Loading icon overlays in tree

Post by RalphM »

Yes, it happens with .0200 as well.
While certainly possible, I doubt that I would not have noticed that earlier if it has been around for that long?
I usually only restart XY after upgrades but 30s is a very long time.
Want me to test with any older versions?
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

jupe
Posts: 2757
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Loading icon overlays in tree

Post by jupe »

@RalphM: Set this tweak TreeIconsEarlyLoad=1 to temporarily mitigate the issue.

@Don: I can confirm I get a delay of a few (~5s not 30s) without setting that tweak, but theoretically it should be faster in its default state ie. without that tweak set, so it seems it warrants investigating.

1,078 ms: 4,876 ms - Tree Refresh Icon Overlays

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

Re: Loading icon overlays in tree

Post by admin »

Could this be caused by a recent Win10 update? I don't see anything like this in Win8.1, and the associated XY code hasn't changed in months.

jupe
Posts: 2757
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Loading icon overlays in tree

Post by jupe »

Possible but seems unlikely though. Sorry to ask but are you definetly testing with both the show icon overlays, and the in tree as well options enabled? I always have those options disabled but enabled them just to test so I cant say how long the issue has been present.

RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Loading icon overlays in tree

Post by RalphM »

The only W10 update recently installed is KB5007186 on Nov 15 but it doesn't list anything suspicious in this regard.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

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

Re: Loading icon overlays in tree

Post by admin »

I tested it and yes, something is not alright. Going to work... :twisted:

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

Re: Loading icon overlays in tree

Post by admin »

No, that was just a forgotten CEA script that slowed everything down. (I'll add something to notify you when a CEA script loads.)

So: Cannot see any slowdown here. Compared it with version 21.80.0000: Same speed. :|

The good news: I found a way to make the startup even faster (than in all previous versions) when "Configuration | General | Refresh, Icons, History | Icons | In tree as well" is ticked. (But this cannot be related to your slowdown.)

jupe
Posts: 2757
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Loading icon overlays in tree

Post by jupe »

I will just post my results from the new beta below but first I will show them from v22.40.006 (which I had kicking around) which had the issue present, so it definitely wasn't a new issue as RalphM initially suggested.

Basically virgin config (baseline):

Code: Select all

XY ver: 	XYplorer 22.40.0006
OS:     	Windows 10 Professional, 64-bit, Release 2009, Build 19044.1348
Loaded: 	2021-11-19 08:12:11 in 942 ms
Threshold: 	10 ms

     0 ms:     224 ms - Start Load
   233 ms:      51 ms - Load Language
   284 ms:      10 ms - Load Settings
   301 ms:      27 ms - Init Controls
   328 ms:     161 ms - Init Graphics
   489 ms:      32 ms - Init Tabs
   521 ms:      52 ms - Create Info Panel
   573 ms:     102 ms - Set Interface Font
   675 ms:      28 ms - Init Panes
   724 ms:      25 ms - Go Start Path Expanded: This PC
   773 ms:      18 ms - Layout Bars
   791 ms:      87 ms - Layout Tabs
   885 ms:      54 ms - --- Show Window ---
   942 ms:            - Load Done

MaxiTree: Rows=12, Nodes=13, Expanded=2
Tree Check Subfolders Exist: Yes
Icon Overlays (List, Tree, Network): Yes, No, No
Pane 1: Items=6/4, Pane 2: Items=7/21, Catalog: Items=1
With overlays in tree enabled:

Code: Select all

XY ver: 	XYplorer 22.40.0006
OS:     	Windows 10 Professional, 64-bit, Release 2009, Build 19044.1348
Loaded: 	2021-11-19 08:14:21 in 5,618 ms
Threshold: 	10 ms

     0 ms:     182 ms - Start Load
   191 ms:      59 ms - Load Language
   250 ms:      11 ms - Load Settings
   266 ms:      29 ms - Init Controls
   295 ms:     151 ms - Init Graphics
   446 ms:      26 ms - Init Tabs
   472 ms:      53 ms - Create Info Panel
   525 ms:     105 ms - Set Interface Font
   630 ms:      29 ms - Init Panes
   679 ms:      18 ms - Go Start Path Expanded: This PC
   720 ms:      11 ms - Layout Bars
   731 ms:      59 ms - Layout Tabs
   796 ms:      53 ms - --- Show Window ---
   852 ms:   4,766 ms - Tree Refresh Icon Overlays
 5,618 ms:            - Load Done

MaxiTree: Rows=12, Nodes=34, Expanded=2
Tree Check Subfolders Exist: Yes
Icon Overlays (List, Tree, Network): Yes, Yes, No
Pane 1: Items=6/4, Pane 2: Items=7/21, Catalog: Items=1
With tweak set and overlays in tree enabled:

Code: Select all

XY ver: 	XYplorer 22.40.0006
OS:     	Windows 10 Professional, 64-bit, Release 2009, Build 19044.1348
Loaded: 	2021-11-19 08:15:22 in 1,028 ms
Threshold: 	10 ms

     0 ms:     207 ms - Start Load
   216 ms:      63 ms - Load Language
   279 ms:      12 ms - Load Settings
   291 ms:      14 ms - Init Custom File Icons
   305 ms:     101 ms - Init Controls
   406 ms:     195 ms - Init Graphics
   601 ms:      29 ms - Init Tabs
   630 ms:      49 ms - Create Info Panel
   679 ms:     106 ms - Set Interface Font
   785 ms:      29 ms - Init Panes
   823 ms:      37 ms - Add Drive C:\
   870 ms:      13 ms - Go Start Path Expanded: This PC
   906 ms:      10 ms - Layout Bars
   916 ms:      33 ms - Layout Tabs
   949 ms:      16 ms - Layout Status Bar
   965 ms:      60 ms - --- Show Window ---
 1,028 ms:            - Load Done

MaxiTree: Rows=12, Nodes=13, Expanded=2
Tree Check Subfolders Exist: Yes
Tree Icons Early Load: Yes
Icon Overlays (List, Tree, Network): Yes, Yes, No
Pane 1: Items=6/4, Pane 2: Items=7/21, Catalog: Items=1

New beta, (tree overlays enabled, no tweak):

Code: Select all

XY ver: 	XYplorer 22.40.0234 - upgraded from v22.40.0006
OS:     	Windows 10 Professional, 64-bit, Release 2009, Build 19044.1348
Loaded: 	2021-11-19 08:26:58 in 939 ms
Threshold: 	10 ms

     0 ms:     194 ms - Start Load
   194 ms:      10 ms - Init Language
   204 ms:      49 ms - Load Language
   253 ms:      11 ms - Load Settings
   270 ms:      28 ms - Init Controls
   298 ms:     153 ms - Init Graphics
   451 ms:      26 ms - Init Tabs
   477 ms:      51 ms - Create Info Panel
   528 ms:     103 ms - Set Interface Font
   631 ms:      29 ms - Init Panes
   681 ms:      64 ms - Go Start Path Expanded: This PC
   771 ms:      15 ms - Layout Bars
   786 ms:      80 ms - Layout Tabs
   872 ms:      52 ms - --- Show Window ---
   928 ms:      11 ms - Tree Refresh Icon Overlays
   939 ms:            - Load Done

MaxiTree: Rows=12, Nodes=13, Expanded=2
Tree Check Subfolders Exist: Yes
Icon Overlays (List, Tree, Network): Yes, Yes, No
Pane 1: Items=6/4, Pane 2: Items=7/21, Catalog: Items=1

As you can see, the issue seems resolved by whatever recent changes you made. :tup:

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

Re: Loading icon overlays in tree

Post by admin »

Astonishing! I did not expect such an effect.

RalphM
Posts: 1932
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Loading icon overlays in tree

Post by RalphM »

Just to show my numbers, which actually seem to have gotten worse.

No tweak:

Code: Select all

XY ver: 	XYplorer 22.40.0235
OS:     	Windows 10 Windows 10, 64-bit, Release 2009, Build 19043.1348
Loaded: 	2021-11-19 10:20:58 in 55,710 ms
Threshold: 	10 ms

     0 ms:     890 ms - Start Load
   890 ms:      39 ms - Init Language
   929 ms:     179 ms - Load Language
 1,108 ms:     187 ms - Load Settings
 1,295 ms:      75 ms - Init Custom File Icons
 1,370 ms:     123 ms - Init Controls
 1,493 ms:     642 ms - Init Graphics
 2,135 ms:     103 ms - Init Tabs
 2,238 ms:     207 ms - Create Info Panel
 2,445 ms:     391 ms - Set Interface Font
 2,836 ms:     144 ms - Init Panes
 2,991 ms:      17 ms - Drives To Array
 3,008 ms:      27 ms - Add Drive C:\
 3,045 ms:      70 ms - Add Drive G:\
 3,128 ms:      45 ms - Add Portable Devices
 3,175 ms:      41 ms - Tab Icons
 3,216 ms:      29 ms - Load Catalog
 3,249 ms:   1,217 ms - Load Maxi Tree
 4,466 ms:     134 ms - Go Start Path Expanded: D:\Daten\Privat\Squash\Team Builder\THUMS\2021-2\
 4,600 ms:     131 ms - Init Custom Toolbar Buttons
 4,731 ms:      27 ms - Init UDC and KS
 4,758 ms:      25 ms - Load This Pane
 4,787 ms:      42 ms - List Browse: D:\Daten\Privat\Squash\Team Builder\THUMS\2021-2\
 4,837 ms:      23 ms - List Browse: D:\Daten\Setups\XYplorer\
 4,864 ms:      57 ms - Layout Bars
 4,921 ms:     570 ms - Layout Catalog
 5,491 ms:     813 ms - Layout List
 6,304 ms:     252 ms - Layout Status Bar
 6,556 ms:     477 ms - --- Show Window ---
 7,061 ms:  48,649 ms - Tree Refresh Icon Overlays
55,710 ms:            - Load Done

MaxiTree: Rows=825, Nodes=826, Expanded=146, Mapped Drives=3
Tree Remember State: Yes (92 stored paths)
Tree Check Subfolders Exist: Yes
Icon Overlays (List, Tree, Network): Yes, Yes, No
Pane 1: Items=5/193, Pane 2: Items=19/19, Catalog: Items=110
With TreeIconsEarlyLoad = 1 (which I found just waits to show the window until everything is done but doesn't speed things up):

Code: Select all

XY ver: 	XYplorer 22.40.0235
OS:     	Windows 10 Windows 10, 64-bit, Release 2009, Build 19043.1348
Loaded: 	2021-11-19 10:25:01 in 58,890 ms
Threshold: 	10 ms

     0 ms:     895 ms - Start Load
   895 ms:      39 ms - Init Language
   934 ms:     177 ms - Load Language
 1,111 ms:     202 ms - Load Settings
 1,313 ms:      72 ms - Init Custom File Icons
 1,385 ms:     140 ms - Init Controls
 1,525 ms:     657 ms - Init Graphics
 2,182 ms:     110 ms - Init Tabs
 2,292 ms:     233 ms - Create Info Panel
 2,525 ms:     423 ms - Set Interface Font
 2,948 ms:     153 ms - Init Panes
 3,115 ms:      11 ms - Drives To Array
 3,126 ms:     586 ms - Add Drive C:\
 3,712 ms:      73 ms - Add Drive D:\
 3,785 ms:      64 ms - Add Drive E:\
 3,849 ms:      32 ms - Add Drive G:\
 3,894 ms:      31 ms - Add Portable Devices
 3,926 ms:      39 ms - Tab Icons
 3,965 ms:      23 ms - Load Catalog
 3,992 ms:  52,826 ms - Load Maxi Tree
56,818 ms:     101 ms - Go Start Path Expanded: D:\Daten\Privat\Squash\Team Builder\THUMS\2021-2\
56,919 ms:      89 ms - Init Custom Toolbar Buttons
57,008 ms:      25 ms - Init UDC and KS
57,033 ms:      15 ms - Load This Pane
57,051 ms:      27 ms - List Browse: D:\Daten\Privat\Squash\Team Builder\THUMS\2021-2\
57,087 ms:      24 ms - List Browse: D:\Daten\Setups\XYplorer\
57,117 ms:      55 ms - Layout Bars
57,172 ms:     553 ms - Layout Catalog
57,725 ms:     196 ms - Layout List
57,921 ms:     257 ms - Layout Status Bar
58,178 ms:     676 ms - --- Show Window ---
58,862 ms:      11 ms - Fav Menus
58,890 ms:            - Load Done

MaxiTree: Rows=825, Nodes=826, Expanded=146, Mapped Drives=3
Tree Remember State: Yes (92 stored paths)
Tree Check Subfolders Exist: Yes
Tree Icons Early Load: Yes
Icon Overlays (List, Tree, Network): Yes, Yes, No
Pane 1: Items=5/193, Pane 2: Items=19/19, Catalog: Items=110
With "ShowIconOverlayFilter=C:\*,D:\*" (Btw, did I get the syntax right for more than one drive?):

Code: Select all

XY ver: 	XYplorer 22.40.0235
OS:     	Windows 10 Windows 10, 64-bit, Release 2009, Build 19043.1348
Loaded: 	2021-11-19 10:35:12 in 6,626 ms
Threshold: 	10 ms

     0 ms:     898 ms - Start Load
   898 ms:      36 ms - Init Language
   934 ms:     214 ms - Load Language
 1,148 ms:     263 ms - Load Settings
 1,411 ms:      73 ms - Init Custom File Icons
 1,484 ms:     139 ms - Init Controls
 1,623 ms:     713 ms - Init Graphics
 2,336 ms:     119 ms - Init Tabs
 2,455 ms:     250 ms - Create Info Panel
 2,705 ms:     492 ms - Set Interface Font
 3,197 ms:     152 ms - Init Panes
 3,364 ms:      10 ms - Drives To Array
 3,374 ms:      15 ms - Add Drive C:\
 3,396 ms:      28 ms - Add Drive G:\
 3,439 ms:      27 ms - Add Portable Devices
 3,468 ms:      37 ms - Tab Icons
 3,505 ms:      22 ms - Load Catalog
 3,531 ms:   1,133 ms - Load Maxi Tree
 4,664 ms:     106 ms - Go Start Path Expanded: D:\Daten\Privat\Squash\Team Builder\THUMS\2021-2\
 4,770 ms:      93 ms - Init Custom Toolbar Buttons
 4,863 ms:      25 ms - Init UDC and KS
 4,888 ms:      17 ms - Load This Pane
 4,908 ms:      29 ms - List Browse: D:\Daten\Privat\Squash\Team Builder\THUMS\2021-2\
 4,945 ms:      22 ms - List Browse: D:\Daten\Setups\XYplorer\
 4,972 ms:      53 ms - Layout Bars
 5,025 ms:     536 ms - Layout Catalog
 5,561 ms:     142 ms - Layout List
 5,703 ms:     289 ms - Layout Status Bar
 5,992 ms:     545 ms - --- Show Window ---
 6,566 ms:      60 ms - Tree Refresh Icon Overlays
 6,626 ms:            - Load Done

MaxiTree: Rows=825, Nodes=826, Expanded=146, Mapped Drives=3
Tree Remember State: Yes (92 stored paths)
Tree Check Subfolders Exist: Yes
Icon Overlays (List, Tree, Network): Yes, Yes, No
Pane 1: Items=5/193, Pane 2: Items=19/19, Catalog: Items=110
This seems to be a normal startup time again for my configuration.
However, the mystery remains why the mapped drives on my NAS would suddenly create such huge delays in XY's startup times.
There have been no changes to the NAS setup and just some minor W10 update as mentioned above.
Last edited by RalphM on 19 Nov 2021 01:53, edited 1 time in total.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

jupe
Posts: 2757
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Loading icon overlays in tree

Post by jupe »

Try disabling this:

Configuration | General | Tree and List | Tree | Remember state of tree

edit: Just replying to your edit, yes the tweak only changed the load speed (at least for me) in older versions, not since .234, that's why I suggested it yesterday when your feedback may have been helpful, and then today I only posted results of the difference it made in the older version.

Post Reply