[TC 8.0b7 x64] Triple-click in Lister is too fast

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
ltm
Junior Member
Junior Member
Posts: 5
Joined: 2011-09-19, 20:21 UTC

[TC 8.0b7 x64] Triple-click in Lister is too fast

Post by *ltm »

The timing of the triple-click in Lister (to select the entire line) seems to have changed in the 8.0 beta compared to 7.56a. You now have to triple-click a lot faster to select a line. In fact, if you have the double-click speed configured to the fastest setting in the Windows Control Panel (under Hardware and Sound > Mouse), it makes it almost impossible to use the triple-click in Lister. The issue was observed in TC 8.0b7 x64 on Windows 7 Home Premium.
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Interesting, but trying to reproduce this I discovered that triple-click does not work at all here: the line is selected on the 4th click, not on the 3rd!

Win7 Pro SP1, x64.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
ltm
Junior Member
Junior Member
Posts: 5
Joined: 2011-09-19, 20:21 UTC

Post by *ltm »

Flint, you're absolutely right. I didn't even notice, but it does require four clicks to select a line. The four clicks still have to be a lot faster compared to a double-click though.
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

I don't notice it here. I tried to click left button continuously, click after click, at the constant speed, and either I got double-click (selected word) AND quadruple-click (selected line) at the speed I chose, or I did not get the double-click reaction at all if the speed was too low (and, of course, no line selection as well). So I cannot confirm your report about higher speed of triple/quadruple clicks, sorry.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can confirm Flints obsevation that you need 4 clicks to select a line. Maybe I have to click a little bit faster than in the 32bit version, but it is hard to say because of the extra click I have to do.

I have my double click speed set at approximately 60% and am using Windows standard mouse driver for HID-compatible mouse (a Logitech M215).
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
ltm
Junior Member
Junior Member
Posts: 5
Joined: 2011-09-19, 20:21 UTC

Post by *ltm »

Flint wrote:I don't notice it here. I tried to click left button continuously, click after click, at the constant speed, and either I got double-click (selected word) AND quadruple-click (selected line) at the speed I chose, or I did not get the double-click reaction at all if the speed was too low (and, of course, no line selection as well). So I cannot confirm your report about higher speed of triple/quadruple clicks, sorry.
That's interesting - I used the same technique (i.e. clicking continuously at a constant speed) when trying to understand the issue, which is also why I didn't notice that a quadruple-click is required. However, when I click at a constant speed it switches between having a single word selected and having nothing selected. I have to increase the speed significantly to get it to switch between having a single word selected and having the entire line selected.

To get more accurate data I did some experiments with a AutoHotkey_L script like this:

Code: Select all

$F2::
Click
Sleep 425
Click
return

$F3::
Click
Sleep 425
Click
Sleep 425
Click
return

$F4::
Click
Sleep 205
Click
Sleep 205
Click
Sleep 205
Click
return
The script maps a double-click, triple-click, and quadruple-click to the F2, F3, and F4 keys respectively with a short delay between each click. For the double-click I was able to increase the delay to approximately 425 ms between the clicks - i.e. this will select a single word in both 7.56a and 8.0b7. For the triple-click I was also able to increase the delay to approximately 425 ms between the clicks (so 850 ms between the first and the third click) and still be able to select an entire line in 7.56a. For the quadruple-click, however, I was only able to increase the delay to approximately 205 ms (i.e. 615 ms between the first and the fourth click) to be able to select an entire line in 8.0b7. I would have expected to be able to have a delay of 425 ms between each click for a total of 1275 ms between the first and fourth click.

Like Peter, I'm using a Logitech mouse (M705) with the default HID-compatible mouse driver and the double-click speed set to 60%.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I can confirm that it needs 4 clicks, thanks.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This should be fixed in beta 8, please test! The problem was the different mouse handling in Delphi and Lazarus. When you triple click in Delphi, you get these events:
Single click, Single click, Double click, Single click
while in Lazarus you just get
Single click, Double click, Single click

The second single click is not signaled, just the combined double click event.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed fixed in TC 8.0b8 x 64 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Biozynotiker
Member
Member
Posts: 164
Joined: 2011-03-22, 09:57 UTC
Location: Germany

Post by *Biozynotiker »

Can confirm it also in TC 8.0b8 (x86+x64).
#92832
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply