Directory-Refresh missing after copying a file

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
tom_ch
Junior Member
Junior Member
Posts: 5
Joined: 2003-04-08, 07:14 UTC
Location: Bern

Directory-Refresh missing after copying a file

Post by *tom_ch »

In PB5, after copying a file with CTRL+C and CTRL+V no refresh of the corresponding directory is made.

The file is there, but you don't see it (need to refresh the screen manually).

In PB4 everything works fine.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2tom_ch
Not confirmed.

What do you have checked in Configuration -> Refresh -> Auto-refresh…?
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
tom_ch
Junior Member
Junior Member
Posts: 5
Joined: 2003-04-08, 07:14 UTC
Location: Bern

Post by *tom_ch »

I didn't use this configuration-option until now. So it seems that something has changed. After investing some time, it seems like the following:

Windows XP:
- option "auto-refresh" checked (PB5): Refresh
- option "auto-refresh" not checked (PB5): No Refresh
- option "auto-refresh" not checked (before PB5): Refresh

Windows VISTA:
- option "auto-refresh" checked (PB5): Refresh
- option "auto-refresh" not checked (PB5): Refresh
- option "auto-refresh" not checked (before PB5): Refresh
Last edited by tom_ch on 2009-06-12, 20:32 UTC, edited 1 time in total.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2tom_ch
You're right. I can confirm described behaviour on WinXP now.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
Tomyboy
Junior Member
Junior Member
Posts: 58
Joined: 2006-01-28, 17:54 UTC

Post by *Tomyboy »

Yes, I can also confirm this behaviour.

After pasting a file or directory with Ctrl+V, you'll have to refresh manually.

TC 7.04a and 7.5pb4 are working correctly.

(System: Windows XP Pro SP3)
User avatar
petermad
Power Member
Power Member
Posts: 16009
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can confirm that using copy and paste in TC 7.50pb5 (with Ctrl+C/V or context menu) does not update the file panel - moving TC out and in of focus, updates the panel though.

This is regardless of the setting of auto-refresh.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, guys.

As T.C. 7.50 pb5 is a public beta, I think I may mention that there is a similar thread inside the beta forum, TC 7.50 pb5: No refresh of files/dirs even with watchdirs=3 (thread=4498).

With respect to the explorer copy method (ctrl-c, ctrl-v), Christian explained that, unlike previous T.C. versions, T.C. 7.50 pb5 started the paste operation in a background thread, because Windows Vista did not correctly handle such foreground operations.

Maybe this fact is related to the auto refresh behaviour which you notice.

Kind regards,
Karl
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I can reproduce the problem with watchdirs=0, thanks. Unfortunately I cannot reproduce it with watchdirs=3, but I will try to make a refresh from the background thread which should fix that problem too.
Author of Total Commander
https://www.ghisler.com
Tomyboy
Junior Member
Junior Member
Posts: 58
Joined: 2006-01-28, 17:54 UTC

Post by *Tomyboy »

Refreshing after pasting a file or directory (CRTL+V) is now working again in TC 7.5 beta 6. Thank you.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

TC7.5pb6: seems to be fixed!
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Seems to be fixed.
I wonder what the reason was.
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

Seems to be fixed in TC7.5PB6.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Great, thanks! The reason was that "paste" is now perfomed in a background thread, mainly for Vista where "paste" isn't handling the progress dialog correctly when called in the main thread. The advantage is that it's now really multi-tasking, so you can do other things in TC during a "paste" operation.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16009
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed fixed in TC7.50pb6 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply