[8.x-9.x] Every second right click does nothing
Moderators: Hacker, petermad, Stefan2, white
[8.x-9.x] Every second right click does nothing
1. open a dir with some files in it
2. quickly right click a file with mouse to select it (selection with right click must be enabled in the settings)
3. right click the same file more times - the delay between the repeated right clicks must be low - the bug is not present if you wait more.
Current behavior:
First click selects a file (red color)
Second click does nothing
Third click deselects the file (black color)
Fourth click does nothing
And so on ...
Expected behavior:
Every single right click should switch the selection on/off.
---
Windows 7 32 bit.
2. quickly right click a file with mouse to select it (selection with right click must be enabled in the settings)
3. right click the same file more times - the delay between the repeated right clicks must be low - the bug is not present if you wait more.
Current behavior:
First click selects a file (red color)
Second click does nothing
Third click deselects the file (black color)
Fourth click does nothing
And so on ...
Expected behavior:
Every single right click should switch the selection on/off.
---
Windows 7 32 bit.
Last edited by redfox on 2016-09-30, 20:19 UTC, edited 7 times in total.
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
That's actually not a bug - TC receives a "right mouse button double click" event, which it ignores. Some users always double click instead of single clicking, so it's probably a good idea to keep it this way.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I think that right clicks use mostly professionals, who need to work as quickly as possible. If I click a mouse button, I presume that the appropriate action has been performed. I don't have time to wait about 1 sec to deselect a file again and verify, whether the action eventually failed. You could consider it too geeky, but everyone is different..
If an inexperienced user really uses double clicks for right mouse button actions too, nothing could get wrong - the second click would simply deselect the file again and the user will learn how to use his OS and the mouse a bit better.
Well, please, make a change in the code to not ignore any (repeated) clicks, or make it optional in the settings.
Thank you.
If an inexperienced user really uses double clicks for right mouse button actions too, nothing could get wrong - the second click would simply deselect the file again and the user will learn how to use his OS and the mouse a bit better.
Well, please, make a change in the code to not ignore any (repeated) clicks, or make it optional in the settings.
Thank you.
HolgerK: We are not talking about modifying DblClk speed in Windows at all.
It is about catching right button DblClk events in TC, which is a different thing.
It is about catching right button DblClk events in TC, which is a different thing.
Last edited by redfox on 2016-09-15, 08:31 UTC, edited 1 time in total.
Holger: The right doubleclick is rarely used in applications. I've been a SW dev for over 25 years, but I never needed to assign a special function to this event. What should it do in TC as a "future enhancement"? Even now, the right click handles 2 different kind of actions ((de)selecting file(folder)/context menu), there is no space for anything else.
Besides, the mouse (double) click latency settings in Windows what you mentioned is the same for both left and right mouse buttons. There is no standard way to set a different value for the left mouse button and another (lower) value for the right one there.
I think that adding it as an optional feature in TC (as I wrote before) would be a good thing for most of all. It requires only a minimal change in the code.
It's up to Mr. Ghisler. Take it or leave it, as usual
Besides, the mouse (double) click latency settings in Windows what you mentioned is the same for both left and right mouse buttons. There is no standard way to set a different value for the left mouse button and another (lower) value for the right one there.
I think that adding it as an optional feature in TC (as I wrote before) would be a good thing for most of all. It requires only a minimal change in the code.
It's up to Mr. Ghisler. Take it or leave it, as usual

Last edited by redfox on 2016-09-14, 20:59 UTC, edited 1 time in total.
It is a fact that every frequent second click Windows treats as a doubleclick, and all programs should live with it because Windows works this way.
Anyway, it seems that no one have asked why does redfox need to do such frequent right clicks... I'm using PC for years and have never had any need in such clicking. So I will try to ask...
redfox,
What are you want to achieve with such frequent rightclicking? Which TC function requires such clicking? What is your real usage scenario? Is there any real need in deselecting a file within few milliseconds after selecting it?
Anyway, it seems that no one have asked why does redfox need to do such frequent right clicks... I'm using PC for years and have never had any need in such clicking. So I will try to ask...
redfox,
What are you want to achieve with such frequent rightclicking? Which TC function requires such clicking? What is your real usage scenario? Is there any real need in deselecting a file within few milliseconds after selecting it?
MVV: Situation: I right click a nearby file by accident and want to deselect it again and select the correct one instead.
In a program code, it is also simple to handle right doubleclicks as repeated single right clicks.
If TC always reacts to the first right click (selects a file), so it should react to the other one too and not to ignore it.
In a program code, it is also simple to handle right doubleclicks as repeated single right clicks.
If TC always reacts to the first right click (selects a file), so it should react to the other one too and not to ignore it.
redfox wrote:If TC always reacts to the first right click (selects a file), so it should react to the other one too and not to ignore it.
TC do that, if you don't perform that right clicking too fast, read above Christians response:
TC receives, not it detects in his own code.ghisler(Author) wrote:... TC receives a "right mouse button double click" event, which it ignores.
Just wait for an moment before you do the second click.