Double Click Close Bug

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

: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: 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: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
pissant
Posts: 179
Joined: 05 Nov 2005 22:45

Double Click Close Bug

Post by pissant »

If a tab isn't focused, and I double click it to close that tab, it does not close if the tab has a root directory selected. The tab does close if it has some subdirectory selected instead.

For example, if I open a tab and select C:\, then give another tab focus, I can't close the background tab with a double click.

If I do the same, except have C:\Temp selected in the background tab, the double click does close it.

Gandolf

Post by Gandolf »

I cannot reproduce it on Windows XP. With tabs C:\, C:\Temp & C:\Documents open - focus on C:\Documents. Double clicking on the C:\ tab closes it. Perhaps there are some other conditions that you have that I haven't.

pissant
Posts: 179
Joined: 05 Nov 2005 22:45

Post by pissant »

I have C:\Temp, D:\Downloads, and C:\ opened. C:\Temp and D:\Downloads are locked tabs.

With either C:\Temp or D:\Downloads focused, C:\ does not close if I double click it.

If C:\ is already focused, a double click does close it.

I'm running beta build 76 on Windows XP.

I'm not sure what else to mention.

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

Post by admin »

Like Gandolf: Cannot reproduce. :?

pissant
Posts: 179
Joined: 05 Nov 2005 22:45

Post by pissant »

It might also matter that I am "double clicking" with my middle mouse button. This means that the double click is instantaneous. I found that if I double click the usual (pain in the ass) way, using the left mouse button, and purposely do it slower, the tab does close. This seems to be because the tab first takes focus, and then closes.

But even double clicking manually, if I do it very quickly, the tab won't close.

I think Don also uses the middle mouse button to double click, so this may not be of any help...

Damn. Frustrating.

Gandolf

Post by Gandolf »

I re-assigned the middle button to double-click and no problem (Logitech cordless mouse). Can't reproduce with clicking fast either, but perhaps I've got slower fingers than you. Let's wait and see what Donald has to say.

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

Post by admin »

Gandolf wrote:I re-assigned the middle button to double-click and no problem (Logitech cordless mouse). Can't reproduce with clicking fast either, but perhaps I've got slower fingers than you. Let's wait and see what Donald has to say.
Donald says: same here. Hm.

pissant
Posts: 179
Joined: 05 Nov 2005 22:45

Post by pissant »

I hate it when I have a good thought, then forget all about it. I did it with the middle mouse button thing (when I forgot to mention it in the first place). I did it again with this...

If I disable the Show folder sizes in file list option, this problem goes away! Re-enable that option, and it comes back. The extra processing that TV3 is doing each time the tab takes focus, to calculate/show the folder sizes, is causing the second click to be missed.

That's why slower (manual) double clicking works; the time between clicks is enough for the folder size stuff to finish doing its thing.

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

Post by admin »

Ah, very good! So it's not being a root folder but being a very large folder that's makes the difference.
As in a previous topic, I'd argue that this is not a bug but a natural consequence of interfering functionalities. I wouldn't know what to change here.

Gandolf

Post by Gandolf »

Yes, confirmed. Any folder that has a lot of sub-folders does it. I suspect there may be other odd effects with "Show folder sizes in file list" because XYplorer is busy.

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

Post by admin »

Gandolf wrote:Yes, confirmed. Any folder that has a lot of sub-folders does it. I suspect there may be other odd effects with "Show folder sizes in file list" because XYplorer is busy.
Well, I hope not too odd! :wink:

I made it like this. There's a kind of operation hierarchy:

- higher
- "Show folder sizes in file list"
- lower

Lower operations (like closing a tab) will not happen while "Show folder sizes in file list" is in progress. Higher operations (like browsing to a new tree location) will interrupt "Show folder sizes in file list" and then happen.

pissant
Posts: 179
Joined: 05 Nov 2005 22:45

Post by pissant »

Maybe you could add a couple-millisecond delay after a tab gains focus, before the folder size calculations begin. Just a thought, don't kill me. :)

Post Reply