Page 1 of 1

Possible bug with [LookIn]

Posted: 12 Sep 2019 12:10
by aubrey97
I had a mysterious problem with my machine where a backup hard drive E (which is only accessed once a day) kept spinning up (using power and making a noise) for no reason throughout the day. Clearly something was accessing it for no reason.

Using process monitor I eventually narrowed down on XYPlorer as the only culprit, which was accessing a particular obscure folder for no apparent reason (no relevant open tabs etc).
1.png
1.png (26.58 KiB) Viewed 1929 times
A search of the xyplorer config showed that this folder was listed as item 0 under [LookIn] -- and it was in fact the last used LookIn folder in a search done a very long time ago, and which is not related to anything currently open.
2.png
2.png (39.27 KiB) Viewed 1929 times
This seems to be a minor bug to me. No problem with retaining the list of previous LookIn folders -- but the code should not be accessing the folder in any way unless a request is made.

Am I missing something here.

Re: Possible bug with [LookIn]

Posted: 12 Sep 2019 14:09
by admin
:? Hmm, it's hard to believe that. XYplorer does not do anything in this location. Why should it? It may access the folder once at startup to retrieve the icon, and that's it.

Is this reproducible?

Re: Possible bug with [LookIn]

Posted: 12 Sep 2019 14:44
by aubrey97
Yup 100% reproducible. Every single time Xyplorer is opened Process Monitor (or Process Explorer too) shows an Xyplorer access to this folder. If I change the folder to something else, the access (to that folder) stops.

The problem may be that "access at startup to retrieve the icon" that you mentioned. But it should not do that (the search area is completely closed, not being used, and I don't display native file icons anyway).

I have solved the problem (for me) anyway by shifting the default in the 0 position to another folder on a commonly used drive.

Re: Possible bug with [LookIn]

Posted: 12 Sep 2019 16:09
by admin
The icon cannot be the cause. Startup would hang a while in that case, and then give up.

Is a tab open in that path? Maybe in the second pane? Maybe folder sizes are calculated?

Re: Possible bug with [LookIn]

Posted: 12 Sep 2019 17:18
by aubrey97
Nope.. No tabs open except downloads folder (C drive) in each pane. No folder sizes. Nothing in config ini pointing to that folder except the previous search.

Re: Possible bug with [LookIn]

Posted: 12 Sep 2019 17:33
by admin
Could you post a full screenshot of XYplorer while this is happening?

Re: Possible bug with [LookIn]

Posted: 16 Sep 2019 23:22
by aubrey97
Apologies for the delay.

Not sure what to screenshot -- nothing would be visible within XYPlorer - it is simply a disk access which you can detect using other software (the relevant screenshots are in my first post). It is 100% reproducible so I think it you use a process monitor you should see the same disk access on every loading of XYPlorer (happy to pass some hints as to how to set this up portably and filter out all events that access a particular drive or folder - but that is probably more suitable in a Private Message).

As I said it is not a big deal for me now that I know what is causing the disk access and how to fix it.
Many thanks for all of your work with this great software.

Re: Possible bug with [LookIn]

Posted: 17 Sep 2019 10:31
by admin
I meant a screenshot of XYplorer, not of the process monitor.

Re: Possible bug with [LookIn]

Posted: 17 Sep 2019 22:18
by aubrey97
Not 100% sure what you will see there but here is a screenshot after I open Xyplorer. As I said, the disk access depends on the last used [Lookin] and changes when that changes.
20190917 2114 Blatt 1546.jpg
20190917 2114 Blatt 1546.jpg (133.89 KiB) Viewed 1835 times

Re: Possible bug with [LookIn]

Posted: 17 Sep 2019 22:32
by admin
ver 19.50???

Please upgrade to the latest version. Let's first see if the issue exists in the present, and not only in the past.

Re: Possible bug with [LookIn]

Posted: 18 Sep 2019 15:26
by aubrey97
Will do - will let you know

Re: Possible bug with [LookIn]

Posted: 20 Sep 2019 22:31
by aubrey97
Issue remains in latest version and is easily demonstrated

Here the directory at zero position of [Lookin] is C:\Users\aubrey1\Pictures\ (and there is no other reference to this folder anywhere in the config)
The attachment xyplorer1.jpg is no longer available
I then closed the bottom area (in case its visibility does anything)

I then closed an restarted XYplorer 3 times. On each restart this folder (or at least the one one-up from it was accessed as a process in an apparent attempt to create a file
xyplorer1.jpg
xyplorer1.jpg (89.25 KiB) Viewed 1781 times
I then changed the folder to a different one on a different drive (without actually doing a search)
xyplorer2.jpg
xyplorer2.jpg (42.29 KiB) Viewed 1781 times
I then opened and closed Xyplorer twice - and each time it start a process attempting to access that newly chosen folder and its root
xyplorer3.jpg
xyplorer3.jpg (37.83 KiB) Viewed 1781 times
To reiterate this is not a big deal for me but it should not be accessing as it prevents drives from sleeping

Re: Possible bug with [LookIn]

Posted: 23 Sep 2019 11:31
by admin
Thanks! Might be better in next beta.