[BUG] autocomplete after .\

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

[BUG] autocomplete after .\

Post by *roentgen »

Typing .\ breaks autocomplete. Steps to reproduce:

In C:\
  • 1. If I type win in command line autocomplete comes in with WINDOWS as suggested path.
    2. If I type .\ autocomplete works again, but for the next commands is broken
    3. Typing win again: autocomplete does not offer suggestions.
    4. Typing paths with \ (ex: windows\) still works though.
TC for Linux please!
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

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

Post by *ghisler(Author) »

This is a known restriction of the Microsoft auto-complete interfaces: They only refresh their content when a backslash is typed. So to get files from other locations, you must enter that location, e.g. c:\
Author of Total Commander
https://www.ghisler.com
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

I don't know about refreshing autocomplete content but the thing is that typing win (note: without any \) is working just fine until something like .\ or ..\ is used in command line. After that autocomplete does react only after a \.

This can't really be tested on Microsoft products as they (explorer) don't seem to understand .\ (they treat it like a web address actually).
TC for Linux please!
stuntstein
Junior Member
Junior Member
Posts: 14
Joined: 2006-12-01, 07:44 UTC
Contact:

Post by *stuntstein »

Ghisler are you using MS auto-complete interfaces for you implementation?
Just be aware that the the key for autocompletion is defined in the reg database (but you probably already know).

Auto complete doesn't work if you type any dos cmd first.
ex: "cd windows"
No suggestion for windows is popping up.
I use cmd line alot and it would be nice with auto complete for files and folders.

Thanks for keep up the good work.

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

Post by *ghisler(Author) »

Auto-complete will be improved in beta 3 - I found a new interface (CLSID_ACLMulti) which allows to combine name suggestions from multiple sources!
Auto complete doesn't work if you type any dos cmd first.
ex: "cd windows"
Actually it does, but only if you use complete paths, e.g.
cd c:\windows

This is a limitation of autocomplete - it asks for new name suggestions only when the user types a backslash or forward slash.
Author of Total Commander
https://www.ghisler.com
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

Seems fixed in beta 3. Thank you.
TC for Linux please!
Post Reply