Page 1 of 1

Help file slow

Posted: 07 Jan 2016 23:03
by rpnfan
F1 → help

search for "flat folder"

clicking on one of the ranked display topics .... taaaaaaaaaaaaaaaaaaaaaakes many seconds to just load the related documentation page. It's not the RAM being filled up or other problems. All other programs except XY respond like you'd expect them...

Re: Help file slow

Posted: 08 Jan 2016 02:47
by highend
Instant for me and I guess for 99,9% of the userbase as well (because I see no significant amout of bug reports for "slow" help file processing).
What happens when you close XYplorer + it's .chm file, and use the Windows Explorer to navigate to it + open it and do the same, still slow?

Re: Help file slow

Posted: 08 Jan 2016 09:44
by rpnfan
Thanks. A good test. Yes, still the same. How long does it take with your PC to load

Scripting Commands Reference

or other large help pages? It takes about 5 or 6 seconds here. I find that a long time just to load some text. Sure I know that it has to be formatted, but hey we are in 2016 and I do expect a computer to do such a task instantly... Am I wrong?

Re: Help file slow

Posted: 08 Jan 2016 10:33
by PeterH
Just tested:

XY / Help / Help on Scripting Commands

:arrow: lasts just a short fraction of 1 second.
I'd call it immediate :D

Re: Help file slow

Posted: 08 Jan 2016 11:11
by highend
About 0.5 seconds for Scripting Commands Reference

Re: Help file slow

Posted: 09 Jan 2016 09:52
by rpnfan
Thanks for your tests. That helps.

I found out when / where the help file is slow. It is _not_ always on large help pages, but it is slow (in XY and also when called from the .chm file itself -- that makes no difference I found!) when you are loading a help file from the

[Search]

When I search for 'script' and then load the scripting commands reference it will take ~ 5 seconds, which I find way to long. If I browse the contents and then load the same page from there it is almost instantly displayed like you also tried.

So my summary is that XY has no fault here directly, because I guess Donald is using the built-in predefined libraries which "just" call the system functions and therefore will show no difference in speed when called from XY or directly from the win help browser for .chm files.

This is still annoying, but harder to fix I guess. One would have to patch that or change to a different help system. Either a non-chm based one or find a faster chm browser...

I did a quick search and found:

http://www.experts-exchange.com/questio ... tware.html

This might be something to look into to improve the situation. Do not know if this approach is also possoble for a VB program?

Re: Help file slow

Posted: 09 Jan 2016 10:24
by highend
XY is not involved here. Maybe the software that creates the .chm file is...

No time to test this this weekend.

One possible solution (which is not a search but a faster way to access the help file entries):

http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=9248

Re: Help file slow

Posted: 09 Jan 2016 11:29
by rpnfan
highend wrote: One possible solution (which is not a search but a faster way to access the help file entries):

http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=9248
Thanks, nice script for your usecase. For general usage the search is needed for me :-)