+Refresh problem
Moderators: Hacker, petermad, Stefan2, white
+Refresh problem
Test on a flash disk (P:\) :
1) TC's left and right panes shows P:\
2) Created a Test.vbs file which includes followings : WScript.CreateObject("Scripting.FileSystemObject").OpenTextFile("P:\Test.txt", 2, True).Write ""
3) Created a button which executes above Test.vbs file
4) When the button is pressed, only one pane is refreshed (Test.txt appears only in the right pane)
Regards
1) TC's left and right panes shows P:\
2) Created a Test.vbs file which includes followings : WScript.CreateObject("Scripting.FileSystemObject").OpenTextFile("P:\Test.txt", 2, True).Write ""
3) Created a button which executes above Test.vbs file
4) When the button is pressed, only one pane is refreshed (Test.txt appears only in the right pane)
Regards
Hmm - it works OK here (tested with 32bit TC 8.5b4 under Windows XP and 64bit under Windows 8 ).
What are your settings for "Configuration" -> "Options..." - > "Refresh" ?
What are your settings for "Configuration" -> "Options..." - > "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
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
Sorry for missing info.
Win7 x64 + TC8.5B4 (same behavior both for x32 & x64)
Only followings are checked in Configuration>Options>Refresh :
1. item (Refresh when files are created ...)
2. item (Also when size, date...)
EDIT > Tested on Windows XP Pro as Virtual machine -> No refresh in both sides
EDIT2 > Tested with TC8.01 with same configuration -> No problem, refresh on both panes.
Win7 x64 + TC8.5B4 (same behavior both for x32 & x64)
Only followings are checked in Configuration>Options>Refresh :
1. item (Refresh when files are created ...)
2. item (Also when size, date...)
EDIT > Tested on Windows XP Pro as Virtual machine -> No refresh in both sides
EDIT2 > Tested with TC8.01 with same configuration -> No problem, refresh on both panes.
I can now confirm the bug with WatchDirs=3 as you use.
If I change to WatchDirs=55 (which I use) or any setting that includes the "Update header (free disk space)" option, both panels are updated.
If I change to WatchDirs=55 (which I use) or any setting that includes the "Update header (free disk space)" option, both panels are updated.
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
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
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, not confirmed on Windows 7. The file appears after about 1 second with WatchDirs=3
Only difference is that I had to use drive g: instead of p: because I don't have a drive p. It's a FAT32-formatted thumb drive.
Only difference is that I had to use drive g: instead of p: because I don't have a drive p. It's a FAT32-formatted thumb drive.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I have now tested some more, all with TC 8.5b4:
32bit version under Windows XP SP3 32bit:
It happens 8 or 9 out of ten times that only the right panel is updated
32bit and 64 bit version under Window 7 SP1 x64:
Both panels are almost always updated, but occasionally only the right panel is updated.
32bit and 64 bit version under Window 8 x64:
It happens 8 or 9 out of ten times that only the right panel is updated.
1. All tests are performed with clean ini files.
2. I enable the two options "Refresh when files are created, deleted and renamed" and "Also when size, date, or attributes change" in the config dialog.
3. Then I paste this button to the otherwise original button bar:
4. Then I open the root of the same (on all 3 computers) USB 4 Gb Memory-stick in both panels, using the dropdown drive combo box.
5 And finally, I click the new button in the button bar.
32bit version under Windows XP SP3 32bit:
It happens 8 or 9 out of ten times that only the right panel is updated
32bit and 64 bit version under Window 7 SP1 x64:
Both panels are almost always updated, but occasionally only the right panel is updated.
32bit and 64 bit version under Window 8 x64:
It happens 8 or 9 out of ten times that only the right panel is updated.
1. All tests are performed with clean ini files.
2. I enable the two options "Refresh when files are created, deleted and renamed" and "Also when size, date, or attributes change" in the config dialog.
3. Then I paste this button to the otherwise original button bar:
Code: Select all
TOTALCMD#BAR#DATA
g:\test.vbs
C:\WC\TOTALCMD.EXE,3
-1
5 And finally, I click the new button in the button bar.
Last edited by petermad on 2013-10-02, 21:10 UTC, edited 1 time in total.
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
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
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, I missed the part that you have the same directory in both panels. I can reproduce it now: The refresh of the other side is optimized away by accident (TC gets the same refresh message twice in a row and assumes that it's a duplicate).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Strange, I'm using the exact same functions on XP and 7. Did you try the 32-bit version on Windows 7? Maybe it's a 32-bit problem? But here it works with 32-bit too...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Are they true network folders, or these special Virtual PC "Shared folders"? It's possible that the latter don't support notifications at all.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
You are right.
Special VirtualPC "Shared folders" don't support autorefreshing, neither with Test.vbs, nor when filesystem on host PC has changed.
Network drive mapped in normal way supports refreshing with both Test.vbs and host filesystem change. Both panels refresh properly.
Above was tested with VirtualPC 2004.
Special VirtualPC "Shared folders" don't support autorefreshing, neither with Test.vbs, nor when filesystem on host PC has changed.
Network drive mapped in normal way supports refreshing with both Test.vbs and host filesystem change. Both panels refresh properly.
Above was tested with VirtualPC 2004.
I testet TC8.5B5
Under Windows XP and Window 7 x64 both panels are now updated at the same time - BUT if TC is freshly started when I do the test, NONE of the file panels are updated at all. This applies to both 32- and 64 bit version of TC
If I Refresh the panels manually and delete the test.txt file and test again there are no problems.
It happens both with WatchDirs=3 and with WatchDirs=55
Under Windows 8 x64 it works OK.
Since there are differences betwen my OS'es I guess it is some kind of timing problem. My XP machine has the fastest processor and my Windows 8 the slowest
So I dont' think this bug is fully fixed
Under Windows XP and Window 7 x64 both panels are now updated at the same time - BUT if TC is freshly started when I do the test, NONE of the file panels are updated at all. This applies to both 32- and 64 bit version of TC
If I Refresh the panels manually and delete the test.txt file and test again there are no problems.
It happens both with WatchDirs=3 and with WatchDirs=55
Under Windows 8 x64 it works OK.
Since there are differences betwen my OS'es I guess it is some kind of timing problem. My XP machine has the fastest processor and my Windows 8 the slowest
So I dont' think this bug is fully fixed
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
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
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately I cannot reproduce that - I tested on Windows 7 and 8 by clicking on thevbs button just after starting TC with a fresh ini - no problem.
Can anyone else reproduce the problem?
Can anyone else reproduce the problem?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com