"Put added files at the END" does not work

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

User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

"Put added files at the END" does not work

Post by *fenix_productions »

Hi all.

Steps to reproduce:
1. open Configuration window,
2. go to Operation -> Refresh -> Auto-Refresh when…
3. switch ON "Put added files at the END…" option,
4. play a little bit with creating new files.

All new files are sorted like they were before change but accoriding to Help file they should not!

wincmd.ini parameter for it is:
WatchDirs=
4: put newly added files at the END of the file list (default: sorted)
Notes:
Last version with this feature working is 6.55.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

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

Post by *ghisler(Author) »

Cannot comfirm. Here is what I tried:
1. Start notepad, TC runs in background
2. Save file in a dir which is shown in TC - do not close TC!
-> File is inserted at the end

Note that when you switch back to TC, the list will be reloaded, so the file will be sorted to the position to which it belongs.

Second test:
1. Select multiple large files (several MB)
2. Press F5 - F2 to copy them via background transfer manager
-> they appear at the end of the list while copying is in progress. Once it finishes, the list will again be reloaded, so the files will be sorted to the position to which they belong.
Author of Total Commander
https://www.ghisler.com
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2ghisler(Author)
First way described by you is how it works in 6.55 (new at the end).

In 7.04a and 7.5 new file is always at the position it belongs (acording to sorting). I've tried many different settings for "Auto-Refresh" and I simply can't have file at the end: neither for Shift+F4 or F5.

About refresh: in 6.55 even if I go outside (or deep into other folder) and come back, "new" file is always at the end.

TC > 7.04a behaves different for sure here.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

In my case it's how Christian described it.
For me files that exist for 0.1 second are new, so I thought it should behave differently.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2ghisler(Author)
Few more tries…
ghisler(Author) wrote:Cannot confirm. Here is what I tried:
1. Start notepad, TC runs in background
2. Save file in a dir which is shown in TC - do not close TC!
-> File is inserted at the end

Note that when you switch back to TC, the list will be reloaded, so the file will be sorted to the position to which it belongs.
It does not appear until I switch the focus to TC. When I do that, it gets sorted.
ghisler(Author) wrote: Second test:
1. Select multiple large files (several MB)
2. Press F5 - F2 to copy them via background transfer manager
-> they appear at the end of the list while copying is in progress. Once it finishes, the list will again be reloaded, so the files will be sorted to the position to which they belong.
Copied files appear on the list one after another but with proper sorting. None of them are placed at the end.

There could be two reasons for such behaviour: either some other Auto-Refresh option is intercepting that one or there is something wrong with my system.

I think that is rather the second case because I can't get it work in 6.55 now.

Well, even if it could work as you described I find it not really usable for me. I thought files will be at the end as long I am inside the same dir as they are. If they are gone on refresh, than there might be no chance to see any changes when every WatchDirs option is ON.

Thank you for listening, after all :)
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

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

Post by *ghisler(Author) »

It does not appear until I switch the focus to TC. When I do that, it gets sorted.
Apparently you have the option checked to not update the list while TC is in the background. It comes directly after the option to add new files to the end of the list.
Copied files appear on the list one after another but with proper sorting. None of them are placed at the end.
If you copy them one by one in the foreground, you will see them appear only when the operation ends - TC then refreshes the list, which causes a re-sorting.

The option to put them at the end is just for files which are created while TC does nothing in the foreground, so it could disturb the user in his work when files appear. For example, when you download many files in the background with some kind of download manager, they would constantly appear in the download directory, making it hard to work there.
Author of Total Commander
https://www.ghisler.com
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2ghisler(Author)
ghisler(Author) wrote:Apparently you have the option checked to not update the list while TC is in the background. It comes directly after the option to add new files to the end of the list.
Geeez. I had to be blind. Now it works as described in your previous post.
ghisler(Author) wrote:The option to put them at the end is just for files which are created while TC does nothing in the foreground, so it could disturb the user in his work when files appear. For example, when you download many files in the background with some kind of download manager, they would constantly appear in the download directory, making it hard to work there.
I understand it now. I was mistaken from the beginning, because I though new files will be placed at the end without automatic scrolling to their positions so work flow wouldn't be interrupted somehow.

Thank you for patience.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

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

Post by *ghisler(Author) »

OK, so where should I move the thread now? The English forum?
Author of Total Commander
https://www.ghisler.com
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2ghisler(Author)
English or "Behaviour which will not be changed" IMHO.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
friedman
Junior Member
Junior Member
Posts: 4
Joined: 2009-07-07, 19:24 UTC

Post by *friedman »

I don't get it... I thought that 'add copied files to the end of the list' will somehow "emulate" the windows explorer behavior. This is the only major drawback I'm experimenting with Total Commander, and I'm not the only one... It' very, VERY, annoying to move some files and then trying to find them, to figure out what are those files. I tried everything related to WatchDirs option and I couldn't make it. I just want auto sort off, and a hot key (F5 equivalent) and I can't imagine why this isn't possible... or is it? If it is, PLEASE tell me how... If it's not... too bad... it just spoils this great program.
Thanks
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50861
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This option is only about files which are created outside of Total Commander while TC is in the foreground. Such files will be added to the end of the list so they don't disturb you when you work with other files in that directory. However, when you switch away from TC and back, or start some file operation, the file list will be re-read and sorted correctly.
Author of Total Commander
https://www.ghisler.com
friedman
Junior Member
Junior Member
Posts: 4
Joined: 2009-07-07, 19:24 UTC

Post by *friedman »

Yes, I understand what you're saying, but do you understand that the windows explorer behavior type would be desirable? I mean, I'm in TC, I move some from left to right, and guess what... I'm lost! I don't know what files I've just transfered! Maybe I want to rename them, maybe I want to open them, there are many real-world scenarios I can think about and that I encounter on a daily basis that would require to have my newly moved files placed at the end of the list UNTIL I EXPLICITLY REFRESH the destination panel or I leave it and re-enter it. Am I the only one who thinks this would be a great option to have in TC? I don't know anything else I could ask more from TC, but this is something that makes me use TC AND Windows Explorer in parallel many times, and this is very uncomfortable.
Thanks for listening and understanding! I guess this wouldn't be very difficult to implement so I'm looking forward using TC 100% in the near future!
Great program! I like it better than Salamander and FreeCommander.
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1052
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

A workaround would be to create an extra column with [=tc.accessdate] and sort by that date. Just make it a few pixels wide so it doesn't cost much screen estate.
User avatar
dindog
Senior Member
Senior Member
Posts: 316
Joined: 2010-10-18, 07:41 UTC

Post by *dindog »

friedman wrote:Yes, I understand what you're saying, but do you understand that the windows explorer behavior type would be desirable? I mean, I'm in TC, I move some from left to right, and guess what... I'm lost! I don't know what files I've just transfered! Maybe I want to rename them, maybe I want to open them, there are many real-world scenarios I can think about and that I encounter on a daily basis that would require to have my newly moved files placed at the end of the list UNTIL I EXPLICITLY REFRESH the destination panel or I leave it and re-enter it. Am I the only one who thinks this would be a great option to have in TC? I don't know anything else I could ask more from TC, but this is something that makes me use TC AND Windows Explorer in parallel many times, and this is very uncomfortable.
Thanks for listening and understanding! I guess this wouldn't be very difficult to implement so I'm looking forward using TC 100% in the near future!
Great program! I like it better than Salamander and FreeCommander.
you are not the only... in fact, I once thought that option work as you describe, not Ghisler's...
Post Reply