One "Enter" to much after wrong URL with ThreadFin

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
ricobautsch
Member
Member
Posts: 103
Joined: 2005-06-21, 00:42 UTC

One "Enter" to much after wrong URL with ThreadFin

Post by *ricobautsch »

TC automatically starts the File, which is currently under the cursor, or changes to the directory, which is currently under the cursor.
This only happens, if "ThreadFindFirst" is activated, and if i enter in the address-bar above the File-list an URL that does not exist.

This behavior is already confirmed, see here.

The steps to reproduce in detail:

1.
Change to Edit-mode in the adress-bar above the file-list (click with the mouse to the path in this field)

2.
Enter the following in the edit-box: \\doesnotexist\c$
and confirm with pressing the enter key.

3.
From now, i don't touch the keyboard or the mouse. The following happens:
- some seconds Hourglass-cursor
- after that a longer time the dialog "Connect" with the cancel button
- after that, the dialog "Connect" hides and TC starts whatever is currently under the cursor

TC 7 rc1
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Confirm too.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, I could reproduce it now.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Hm... In RC2 TC just does not react to the pressing of Enter. Nothing happens, the title remains editable...
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Flint wrote:Hm... In RC2 TC just does not react to the pressing of Enter. Nothing happens, the title remains editable...
As far as I can tell this only happens if you enter an invalid UNC path:

(1) Typed in a valid \\machine\D$\, pressed the enter key => immediately switched to the machine and D:\

(2) Typed in an invalid \\notthere\C$\, pressed enter key => heard "plong", editbox stayed in edit mode.

(T.C 7rc2 on WinXp Prof)

I assume this is the intended behaviour now.

Karl
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, it should happen exactly like this when Windows reports quickly enough that the path is invalid! However, when it takes more than 3 seconds to respond, you will get the ThreadFindFirst error dialog.
Author of Total Commander
https://www.ghisler.com
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

ghisler(Author) wrote:However, when it takes more than 3 seconds to respond, you will get the ThreadFindFirst error dialog.
Right, this happened after half a dozen tries. - Our network is simply too fast (as a rule). - But somehow I was lucky, found 1 slow connection and got the Abort-Dialogue for a few seconds.

So ThreadFindFirst=1 still does its job in cases where establishing a connection takes more than 3 seconds. :)

Karl
ricobautsch
Member
Member
Posts: 103
Joined: 2005-06-21, 00:42 UTC

Post by *ricobautsch »

TC does NOT start the file under cursor automatically anymore.
So i can confirm this bug as fixed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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