Commandline's Autocomplete activating despite AutoComplete=0 in inifile

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

Moderators: white, Hacker, petermad, Stefan2

User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Commandline's Autocomplete activating despite AutoComplete=0 in inifile

Post by *byblo »

Even with AutoComplete=0 set to the ini file, after accessing the commandline history once, it starts to offer to autocomplete the matching files from the current folder.

Image: https://i.postimg.cc/8cHsQN3V/Auto-Complete-0-Failing-since-tc1100x32.jpg

Bug was found on TC 11.00x32, TC 11.02x32, TC 11.03x32 RC2
This bug does not happens with TC 10.52x32 or older versions.

Steps to reproduce the bug:
---------------------------------------
1. Edit ini file and set AutoComplete=0 at [Configuration] section then start TC.
2. CTRL+DOWN to get the commandline focus.
3. CTRL+DOWN again to get the commandline history. (even if it is empty, does not matter)
4. ESCAPE to close the commandline history.
5. CTRL+DOWN to get again the commandline focus.
6. Press a single key, like the 'A' key, and the Autocomplete popup should show up like shown in the above picture.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Commandline's Autocomplete activating despite AutoComplete=0 in inifile

Post by *petermad »

Not confirmed (tested on Windows 7 and 10 with TC 11.03rc2 32bit and 64bit).

Are you sure you don't have another AutoComplete=0 in your wincmd.ini file

BTW instead of performing step 2-4 here above it is easier just to press Shift+RightArrow or Shift+LeftArrow (you dont even need to press shift if you are not using Brief View or SpecialCursorMovement in wincmd.ini) - or just click with the mouse on the command line.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Re: Commandline's Autocomplete activating despite AutoComplete=0 in inifile

Post by *byblo »

petermad wrote: 2024-01-29, 08:08 UTC Are you sure you don't have another AutoComplete=0 in your wincmd.ini file
To ensure the bug, I also did the test with fresh TC installs.

Anyway, it wont change the bug behavior.

With AutoComplete=0, the Command line's Autocomplete is supposed to never trigger.

Unlike TC 11.x, the older versions (TC 10.52 and olders) are working correctly with the same ini settings.
User avatar
AntonyD
Power Member
Power Member
Posts: 1249
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Commandline's Autocomplete activating despite AutoComplete=0 in inifile

Post by *AntonyD »

To ensure the bug, I also did the test with fresh TC installs.
Me too. And also I did use GUI options which were made exactly for such a quick turn on/off cases.
Not fully understand WHY you decided to use directly INI options...
https://ibb.co/Nyr9Sf9
So IF you will uncheck both checkmarks - you will get the desirable behavior. Tested on 11.03RC2
#146217 personal license
User avatar
byblo
Senior Member
Senior Member
Posts: 270
Joined: 2005-02-20, 21:13 UTC
Contact:

Re: Commandline's Autocomplete activating despite AutoComplete=0 in inifile

Post by *byblo »

AntonyD wrote: 2024-01-29, 09:20 UTC
To ensure the bug, I also did the test with fresh TC installs.
Me too. And also I did use GUI options which were made exactly for such a quick turn on/off cases.
Not fully understand WHY you decided to use directly INI options...
https://ibb.co/Nyr9Sf9
So IF you will uncheck both checkmarks - you will get the desirable behavior. Tested on 11.03RC2
Just to be sure, I just tested by unchecking the checkmarks, instead of editing the ini file directly, with the same result...
Obviously the bug ALSO happens that way...

No offense, but do you guys even understand the bug i am reporting here ?

EDIT: Also, the steps I give on the first post is just a way to reproduce the bug, not a tutorial explaining how to use TC the best way.
No offense again, but this is a bug reporting forum, so please stop with your advices as they do not helps at all.
I am reporting a bug, not asking for help !
Thank you.
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Commandline's Autocomplete activating despite AutoComplete=0 in inifile

Post by *Hacker »

Can confirm with a fresh ini, but only in TC 11.03RC2 32-bit, not 64-bit.
W10x64.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Commandline's Autocomplete activating despite AutoComplete=0 in inifile

Post by *petermad »

2byblo
No offense, but do you guys even understand the bug i am reporting here ?
I should think so. You are claming that the autocomplete function of path names is active also when AutoComplete=0 in wincmd.ini even though it shouldn't be. And here on my computers I can say that the autocomplete function indeed is disabled when AutoComplete=0 and is active when AutoComplete!=0.

But there is a bug - If I change AutoComplete=0 manually in wincm.ini (as described in the initial report) and restart TC, then autocomplete is correctly disabled
But if I use th GUI and disable "Auto-complete path"and "Auto-append suggested name" then autocomplete is NOT disabled - I have to restart TC for that to happen. And only in 32bit TC as Hacker also points out.

Also I have to have had the command line history dropdown activated for the bug to happen (that is why I mentioned the other ways of focusing the command line, to make sure that the described way is the only way of reproducing the bug).
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Commandline's Autocomplete activating despite AutoComplete=0 in inifile

Post by *ghisler(Author) »

Confirmed. TC is turning off Auto-Complete when opening the history to prevent interference between history and auto-complete, and re-enables it when closing the history. It shouldn't try re-enable it with AutoComplete=0.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Commandline's Autocomplete activating despite AutoComplete=0 in inifile

Post by *petermad »

2ghisler(Author)
can you also confirm that the bug does NOT occur if TC has been restarted after disabling "Auto-complete path"and "Auto-append suggested name" via the GUI?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Commandline's Autocomplete activating despite AutoComplete=0 in inifile

Post by *ghisler(Author) »

Here it also occurs after restarting TC.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Commandline's Autocomplete activating despite AutoComplete=0 in inifile

Post by *petermad »

Hmm, Here under Windows 7 and 10 I can only reproduce it after disabling "Auto-complete path"and "Auto-append suggested name" via GUI UNTIL i have restarted TC - thereafter autocomplete=0 is respected.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Commandline's Autocomplete activating despite AutoComplete=0 in inifile

Post by *ghisler(Author) »

We will see whether my modification fixes your problem or not.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Commandline's Autocomplete activating despite AutoComplete=0 in inifile

Post by *ghisler(Author) »

This should be fixed in RC3, please test it![/mod]
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Commandline's Autocomplete activating despite AutoComplete=0 in inifile

Post by *petermad »

history.txt wrote:29.01.24 Fixed: Command line: Auto-complete would get enabled when opening command line history even with AutoComplete=0 (32)
Confirmed fixed in TV 11.03rc3 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Commandline's Autocomplete activating despite AutoComplete=0 in inifile

Post by *Hacker »

Bug as described by OP fixed.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply