(sort of resolved but the request remains): Show hourglass when loading Configuration

Features wanted...
JLoftus
Posts: 595
Joined: 22 Jan 2014 14:58

(sort of resolved but the request remains): Show hourglass when loading Configuration

Post by JLoftus »

Loading the Configuration Dialog takes a long time, even on my VERY fast machine, and, despite the fact that XY is running from RAMDisk.

This is an overlcocked Ryzen 3950X, with 128GB RAM, and I have XY running entirely from RAMDisk, yet, the loading of the Configuration Dialog takes more than 30 seconds (and after doing it a couple of times for the screen capture, it actually appears to take even longer each time, after three loads, the time was nearly one minute!
2022-03-09_09-56-10.gif
During the load, XY is blocked, you cannot click anything, yet, the pointer does not change to an hourglass. If you click within XY while it is being blocked by the loading, it will cause Windows to hang the app, potentially presenting the standard "wait/close" dialog.

First, the request: Please consider showing an hourglass while the Configuration Dialog is loading.
Second, the inquiry: WHY is this loading taking so long, on a very fast machine, running entirely from RAM?
Third, another inquiry: Why would the loading appear to take longer on each subsequent load request?
To see the attached files, you need to log into the forum.
Last edited by JLoftus on 09 Mar 2022 22:24, edited 1 time in total.

Filehero
Posts: 2731
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Request: Show hourglass when loading Configuration

Post by Filehero »

What's the size of your XYplorer.ini?

Here on my machine (Windows Pro 10, latest production build) with a "slow" R5 2600x, no RAM Disk, but running from SSD opening the Configuration Windows
- takes a good 2 seconds
- doesn't get slower with subsequent openings

JLoftus
Posts: 595
Joined: 22 Jan 2014 14:58

Re: Request: Show hourglass when loading Configuration

Post by JLoftus »

xyplorer.ini is 138KB. I tried renaming that file, causing trial mode, and still the config dialog took >15 seconds to load.
I then copied the folder to an M.2 nVME SSD, and reproduced steps, both with and without my ini file, and no change, still the config dialog takes a long time.
I then closed all the tabs but one in each pane, making sure both panes had only a local folder open (not mapped drive letter) and still, the delay.

I haven't yet been able to identify anything to improve the load time. Regardless of my config (I always seem to find weird things), this does illustrate the need for the hourglass while the dialog is loading, because some cases may be long (like mine) or short (like yours). Better to have and not need, than to need and not have.

Filehero
Posts: 2731
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Request: Show hourglass when loading Configuration

Post by Filehero »

JLoftus wrote: 09 Mar 2022 18:26 xyplorer.ini is 138KB.
My one is 172KB.

From the Missing column sizing indicator thread I know you're now on Win 11. Did you experience the same long opening times on Win 10 before?

JLoftus
Posts: 595
Joined: 22 Jan 2014 14:58

Re: Request: Show hourglass when loading Configuration

Post by JLoftus »

yes, configuration has always taken a while to open, even back on 10, but seems like it is getting longer

xy123
Posts: 215
Joined: 17 Sep 2017 11:46
Location: Win10 64-bit, @100%

Re: Request: Show hourglass when loading Configuration

Post by xy123 »

JLoftus wrote: 09 Mar 2022 18:26 xyplorer.ini is 138KB. I tried renaming that file, causing trial mode, and still the config dialog took >15 seconds to load.
Did you try XYplorer.exe /fresh

JLoftus
Posts: 595
Joined: 22 Jan 2014 14:58

Re: Request: Show hourglass when loading Configuration

Post by JLoftus »

yup, same behavior, config dialog takes 10-15 seconds to load, even on a fresh instance (/fresh and ::fresh) and regardless of from RAMDisk or SSD

Filehero
Posts: 2731
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Request: Show hourglass when loading Configuration

Post by Filehero »

Takes opening some of the lists under Tools also (significantly) longer than expected?

For example, over here opening the list editors for Recent Locations or Custom File Icons (where either contents are read from XYplorer.ini) is instant.

JLoftus
Posts: 595
Joined: 22 Jan 2014 14:58

Re: Request: Show hourglass when loading Configuration

Post by JLoftus »

yes, those all open nearly instantly, maybe 1-2 seconds. Configuration took 43 seconds (after clean reboot)

Filehero
Posts: 2731
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Request: Show hourglass when loading Configuration

Post by Filehero »

JLoftus wrote: 09 Mar 2022 19:09 maybe 1-2 seconds.
I have no delay, with 128 entries in [mruBrowse] the editor just pops up.

What Windows security features do you have active/set?

JLoftus
Posts: 595
Joined: 22 Jan 2014 14:58

Re: Request: Show hourglass when loading Configuration

Post by JLoftus »

Malwarebytes (with exclusions that include the XY folder's path) and Defender, also excluding XY's path.

Filehero
Posts: 2731
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Request: Show hourglass when loading Configuration

Post by Filehero »

Can you disable them both temporarily just to check? I don't think they're the culprit.

You don't have a second machine by chance? ;)

JLoftus
Posts: 595
Joined: 22 Jan 2014 14:58

Re: Request: Show hourglass when loading Configuration

Post by JLoftus »

yea, I've tried disabling both (even though they have exclusions), no change. I do have another machine, I'll have to power it on and look at that one

EDIT: OK I opened up my i9 laptop, and sure enough the configuration opens instantly. I know for sure it's something on this machine, just can't figure out what.

JLoftus
Posts: 595
Joined: 22 Jan 2014 14:58

Re: Request: Show hourglass when loading Configuration

Post by JLoftus »

I just downloaded a new copy of the installer, and installed it to a fresh instance, the configuration dialog still took 16 seconds to open.

Therefore, it logically must be something about this machine, such as the number or configuration of drives, or the number or configuration of network adapters, etc. (this machine has many adapters due to having both Hyper-V and a commercial VPN solution installed). I have a number of adapters listed. It would be helpful if we could get a debug type listing of everything the Configuration Dialog is doing as it is attempting to load up.

JLoftus
Posts: 595
Joined: 22 Jan 2014 14:58

Re: Request: Show hourglass when loading Configuration

Post by JLoftus »

Another sanity check, I copied my XY folder to my laptop, and the Configuration dialog opens nearly instantly, so yea, for sure it's something about this machine. Something maybe about installed runtimes, or the number of drives (I have a lot of them) or NICs (I have a lot of them) etc.

Post Reply