One "Enter" to much after wrong URL with ThreadFin
Moderators: Hacker, petermad, Stefan2, white
-
- Member
- Posts: 103
- Joined: 2005-06-21, 00:42 UTC
One "Enter" to much after wrong URL with ThreadFin
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
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
Confirm too.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
As far as I can tell this only happens if you enter an invalid UNC path:Flint wrote:Hm... In RC2 TC just does not react to the pressing of Enter. Nothing happens, the title remains editable...
(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
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
https://www.ghisler.com
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.ghisler(Author) wrote:However, when it takes more than 3 seconds to respond, you will get the ThreadFindFirst error dialog.
So ThreadFindFirst=1 still does its job in cases where establishing a connection takes more than 3 seconds.

Karl
-
- Member
- Posts: 103
- Joined: 2005-06-21, 00:42 UTC
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: