TC8b10: copy/move - inline suggestion list bugs

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
mastabog
Junior Member
Junior Member
Posts: 72
Joined: 2004-03-07, 21:36 UTC

TC8b10: copy/move - inline suggestion list bugs

Post by *mastabog »

Hi,

When copying/moving a file or a set of files, typing in the destination will show an incremental list of matches as you type. This existed in v7.5 but in v8 betas, matching directories now have a backslash "\" appended to avoid the confirmation dialog of accidental renaming (neat).

There are now two bugs in my opinion:

1.

With the backslash, a matching folder appears after a matching file instead of before. Here's an example. Suppose I have this folder structure in some folder x:

[folder] bad
[folder] good
[file] good.ash
[file] foo.txt
[file] bar.txt

If i press F6 on "foo.txt" and then I start typing "good" then the inline list of matches shows

good.ash
good\

It would be much better to have the matching directories first and then files, like so:

good\
good.ash

This is because I got very much used to pressing F5/F6, then typing a few characters of a known directory and then press "down" once and then "Enter". Now if I do this, it will try to rename the file since the first match is NOT the directory. I do this quite a lot and it used to work fine in v7.5 but now with the "\" for dirs it doesn't ... it's a bit annoying (I wouldn't take the time to post this otherwise). Please do change this :).

2.

When marking/selecting multiple files and then pressing F5/F6 for copy/move and then typing some characters in the destination text box, it matches both files and directories. For example, if I select both foo.txt and bar.txt and then press F5, then type in "good", the match list will show

good.ash
good\

It would make more sense and be more efficient to show only matching directories since you can't copy/move multiple files to a single file anyway. So the above should really show only:

good\


That's about it. I like the new v8 features otherwise.

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

Post by *ghisler(Author) »

I can try to put the folders in front of the files. But I can't remove the files, at lease when copying just one file...
Author of Total Commander
https://www.ghisler.com
mastabog
Junior Member
Junior Member
Posts: 72
Joined: 2004-03-07, 21:36 UTC

Post by *mastabog »

ghisler(Author) wrote:I can try to put the folders in front of the files. But I can't remove the files, at lease when copying just one file...
Putting folders in front of files is exactly what i was suggesting for the first issue, thanks!

For the second, indeed, I was suggesting to remove the files from the suggestion list only when copying 2 or more files (you get an error anyway if you copy to a file instead of a dir). If copying only 1 file then sure, dirs as well as files can appear in the suggestion list.

Many thanks!

Edit: it appears you already implemented those in b11. Also, files are not shown at all in the suggestion list even when copying/moving 1 file (I don't mind actually).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Putting folders in front of files is exactly what i was suggesting for the first issue, thanks!
Unfortunately this is impossible. Although I sort them myself correctly, auto-complete ignores it and sorts the files in front of the folders. :(

See the other thread:
http://ghisler.ch/board/viewtopic.php?p=236317
Author of Total Commander
https://www.ghisler.com
mastabog
Junior Member
Junior Member
Posts: 72
Joined: 2004-03-07, 21:36 UTC

Post by *mastabog »

ghisler(Author) wrote:
Putting folders in front of files is exactly what i was suggesting for the first issue, thanks!
Unfortunately this is impossible. Although I sort them myself correctly, auto-complete ignores it and sorts the files in front of the folders. :(

See the other thread:
http://ghisler.ch/board/viewtopic.php?p=236317
Oh no ... b12 now is back to showing files before dirs in the auto-complete :(

I've already lost some files because of overwriting instead of moving into dir as I was used to (I was used to pressing enter twice for v7.56 as it was asking for confirmation to move a single file to a dir).

I really dislike this new behavior. Could you please give us the choice and allow switching off the listing of files in the autocomplete list through a config/ini option?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

So what solution of my suggestions do you prefer?
Author of Total Commander
https://www.ghisler.com
mastabog
Junior Member
Junior Member
Posts: 72
Joined: 2004-03-07, 21:36 UTC

Post by *mastabog »

ghisler(Author) wrote:So what solution of my suggestions do you prefer?
If you're talking about this then I'm not sure as the first two are not too appealing. I'm ok with no files in the autocomplete list but obviously there are people who want that.

I would suggest either extending the AutoComplete ini option or adding a new option to allow switching off file names. That would please both crowds and you can have its default value set to whatever the majority wants (I don't mind setting it manually to what I need if I'm in the minority).
mastabog
Junior Member
Junior Member
Posts: 72
Joined: 2004-03-07, 21:36 UTC

Post by *mastabog »

I see that b13 does not contain any changes regarding this issue. It's quite annoying in my case ... would you please introduce an option (see above)?
Post Reply