File and Directory List Error - One Solution

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

: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: Use Your Profile Or Signature
We strongly 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, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Trasd
Posts: 147
Joined: 19 Oct 2011 15:45

File and Directory List Error - One Solution

Post by Trasd »

I have seen many File and or Tree Panel list display errors reported. Not long after I started using XYplorer, I began to have the same problem.

The symptoms are as follows:
  • The File Panel file list is, at times, only partially complete (files are missing from the panel's file list)
  • The Tree Panel list sometimes has the same problem (not all directories are shown - the problem appears only for subdirectories)
These errors seemed to be random. Sometimes, though rarely, both panels exhibit this error at the same time. Refreshing the lists did not help; the only solution was to exit XYplorer and restart it.

Starting about version 10, refresh corrects the lists' display (for this particular problem). I was completely stumped and could discover no pattern to the error.

The other day the problem appeared again, but this time I noticed something I had done which turned out to be causing the error on my system. I have since verified the steps necessary to reproduce the problem, but it can still be hit or miss. Though the same symptoms have been reported by others, I cannot guarantee we share the same cause or that this solution will work for you.

In my case, the problem was user error. I came from a File Manager that required me to double-click on a directory to expand it (or click on the + (plus), which I never liked because of its size). In XYplorer I enabled the option to allow single clicks on a directory to expand it. Because my old method is so well intrenched in my mind, I would double-click a directory name without realizing it. Most of the time there were no adverse affects, but occasionally the errors mentioned above would appear.

My solution is to not double-click a directory to expand it (when I remember). I don't want to disable this option because I like this feature and it eventually should become habit.

If I may suggest to Don, though, you may want to think about putting a "trap" in to catch accidental double-clicks. Also, this same problem can happen in the File Panel if 'Single click on icon opens list items' is selected. I don't think an accidental double-click catch is strictly needed from a support stand-point, but it may help reduce the number of erroneous bug reports (for those with the same problem).

I hope this helps someone!



BTW, I have not given up on my "From the Beginning (a running review)" series of articles, but again, I have been busy with many other things. In truth, I am learning less and less about XYplorer. I hesitate to say I know the program because of its extensive functionality, but I feel I have discovered and learned most of the abilities I use on a regular basis. I'm sure there is plenty more I can exploit, but now I have to dig a bit to find something that interest me and, I have not had time for that.
Trasd

"Any sufficiently advanced technology is indistinguishable from magic." A.C.C.

"I'll tell you this, no eternal reward will forgive us now for wasting the dawn." J. M.

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

Re: File and Directory List Error - One Solution

Post by admin »

Thanks for the report.

The question is: What is an accidental double-click? I'd rather assume my users mean a double-click when they make one.

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: File and Directory List Error - One Solution

Post by PeterH »

admin wrote:Thanks for the report.

The question is: What is an accidental double-click? I'd rather assume my users mean a double-click when they make one.
Does a double click in these situations make sense? I.e. a double click on a folder, when "expand on single click" is selected? (I don't know - I don't use it...)
If it makes no sense, you could assume the user didn't mean it...

eil
Posts: 1931
Joined: 13 Jan 2011 19:44

Re: File and Directory List Error - One Solution

Post by eil »

sideway example: some users make too slow double-clicks which become 2 singles clicks -but they surely mean double-click. :) the only meaning of accidental click i see is clicking in wrong place by missing the right spot. all the other are intentions or habbits.
with "expand on single click" enabled, and double-click happening, i'd assume user makes fast expand+collapse.
Win 7 SP1 x64 100% 1366x768|1900x1080

Trasd
Posts: 147
Joined: 19 Oct 2011 15:45

Re: File and Directory List Error - One Solution

Post by Trasd »

admin wrote:The question is: What is an accidental double-click? I'd rather assume my users mean a double-click when they make one.
I think everyone else pretty much hit on it, but I want to put my two cents in...

My suggestion would be to do something like the following: When you get a double-click message on a name in either pane, check to see (depending on the panel generating the message) if the 'Single click on icon opens list items' or 'Expand tree nodes on single click' option is checked. If it is checked, then either dismiss this as an accidental double-click or process it as a single-click. If you process or determine your own double-clicks, then the time would have to be shorter than the time allotted for a double-click in Windows' settings.

Explorer has this option (I don't remember if it is a hidden option or not). I am not telling you this as a comparison, but in case you want to look up the details.

You could always add the option to detect accidental double-clicks and let the user decide. I am totally against "protecting users from themselves," but I see this as a convenience, not an attempt at controlling a user's actions.
Trasd

"Any sufficiently advanced technology is indistinguishable from magic." A.C.C.

"I'll tell you this, no eternal reward will forgive us now for wasting the dawn." J. M.

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

Re: File and Directory List Error - One Solution

Post by admin »

Distinguishing a dbl-click from 2 clicks is only possible at the price of waiting the system-wide configured dbl-click time. You can witness the feeling when single-clicking the statusbar. It feels slow, sticky, buggy.

Let's leave the user errors with the user this time.

Trasd
Posts: 147
Joined: 19 Oct 2011 15:45

Re: File and Directory List Error - One Solution

Post by Trasd »

admin wrote:Distinguishing a dbl-click from 2 clicks is only possible at the price of waiting the system-wide configured dbl-click time. You can witness the feeling when single-clicking the statusbar. It feels slow, sticky, buggy.

Let's leave the user errors with the user this time.
Not a problem Don, that should help me remember anyway - like a hand slap when I do it, especially now that I have identified the problem.
Trasd

"Any sufficiently advanced technology is indistinguishable from magic." A.C.C.

"I'll tell you this, no eternal reward will forgive us now for wasting the dawn." J. M.

Post Reply