-New directories not shown in second window

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

JFierce7
Senior Member
Senior Member
Posts: 214
Joined: 2005-07-17, 10:47 UTC

-New directories not shown in second window

Post by *JFierce7 »

If both TC windows show the same folder and one creates a new subdir on the one side, it is not shown on the other side. This is kind of confusing.
Strange, but I never noticed that before.
User avatar
white
Power Member
Power Member
Posts: 5815
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: New directories not shown in second window

Post by *white »

JFierce7 wrote:If both TC windows show the same folder and one creates a new subdir on the one side, it is not shown on the other side.
I can not confirm (TC8.51 32bit).
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW »

Maybe it is a drive, that doesn't support change notifications? What kind of drive is it?

Regards
JFierce7
Senior Member
Senior Member
Posts: 214
Joined: 2005-07-17, 10:47 UTC

Post by *JFierce7 »

Thanks - it seems like the default configuration is not set up to refresh on changes! After I checked that option, the newly created folder appears, although a bit delayed.

Besides the question whether this option could be set by default, it seems to me that this very option shouldn't be necessary at all for internal operations if both windows show the same folder. For instance, as soon as I remove a folder, this folder vanishes from both windows even if "Refresh" is disabled.
User avatar
white
Power Member
Power Member
Posts: 5815
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

JFierce7 wrote:Besides the question whether this option could be set by default, it seems to me that this very option shouldn't be necessary at all for internal operations if both windows show the same folder. For instance, as soon as I remove a folder, this folder vanishes from both windows even if "Refresh" is disabled.
As soon as I create a folder the folder appears on both sides (auto-refresh on system change disabled). What operation did you do? What TC version did you use?
JFierce7
Senior Member
Senior Member
Posts: 214
Joined: 2005-07-17, 10:47 UTC

Post by *JFierce7 »

Initially I had used 8.50 (both 32 and 64bit), but I tried it with 8.51b1 as well. No change.

The drive is NTFS, but it shouldn't matter.

I create the new folder with F7.
User avatar
white
Power Member
Power Member
Posts: 5815
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

2JFierce7
Works fine here.
User avatar
Ovg
Power Member
Power Member
Posts: 755
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

white wrote:
As soon as I create a folder the folder appears on both sides (auto-refresh on system change disabled).
Confirm. And files too. TC 8.50 x64
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
JFierce7
Senior Member
Senior Member
Posts: 214
Joined: 2005-07-17, 10:47 UTC

Post by *JFierce7 »

Well, that's too strange.

Say, I had c:\temp on both sides. It didn't work. I navigated through some folders on one side and then pressed on c: in the button bar so TC synchronized both windows to c:\temp again. Now I tried to create a folder and it suddenly started to work. However, when I return to the "previous" c:\temp through history TC fails again to show a new folder on both sides.

If it mismatches the "current" folder, why does it work for removing folders?

And how could I possibly determine where the difference between those "c:\temp" is?

Edit: This is from my wincmd.ini

Code: Select all

[RightHistory]
0=C:\temp\m7\
1=c:\temp\
2=c:\temp\v1\
3=C:\
[LeftHistory]
0=C:\temp\m7\
1=C:\temp\
2=C:\temp\t2\
I have no idea how this could happen, but it seems like somehow I got paths with capital 'C' and small 'c'. Nevertheless, TC always showed "c:\temp" (small 'C') above the files list.

Now it seems if you manage to get the same folder with differing case in the path name in both windows, TC doesn't update the second window after creating a folder, but does when deleting. So, the check if folder is the same, compares case-independent only when files/folders are deleted.
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3379
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

cant confirm that either and in my [*History] the drive is allway a capital letter so the question is how you manage to get "different"
letters?
Hoecker sie sind raus!
JFierce7
Senior Member
Senior Member
Posts: 214
Joined: 2005-07-17, 10:47 UTC

Post by *JFierce7 »

Sir_SiLvA wrote:so the question is how you manage to get "different"
letters?
Really, I have no idea how this happened. I haven't edited the history myself, but to reproduce the problem you could do just that.
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Sir_SiLvA
the question is how you manage to get "different"
Maybe JFierce7 hasn't set DrivesShowUpcase=0 in wincmd.ini as you apparanty have ;-) - or he has it set to -1 (equals not having it set) or 1...

Besides of that, when I create a new directory having %temp% folder shown in both panels, then the new directory appears immediately in both panels - even when using a clean ini-file (no refresh settings) - so I cannot confirm JFierce7's report. Tested with Windows XP 32bit, Windows 7 64bit and Windows 8.1 64bit. Meybe there is a slight delay (1/10 of a second) when using TC 64bit compared to using TC 32bit
Last edited by petermad on 2014-03-01, 19: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
User avatar
Gral
Power Member
Power Member
Posts: 1600
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

There is inconsistency with uppercase/lowercase handling for drives, if DrivesShowUpcase=0.
Dropdown menu (ALT+F1 or ALT+F2) show drives lowercase while "Computer (drive overview) [cm_OpenDrives] always show drives uppercase.
To ilustrate this behaviour try this:
1. set DrivesShowUpcase=0
2. enter to root of any drive from dropdown menu - in history drive letter is printed with lowercase.
3 goto "Drives" and enter to root of the same drive - drive letter is now uppercase.

Probably this may be considered as a (minor) bug.
Last edited by Gral on 2014-03-01, 19:15 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

The content you get with cm_OpenDrives is a virtual folder which is handled by Windows Explorer - hence the capital letters
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
JFierce7
Senior Member
Senior Member
Posts: 214
Joined: 2005-07-17, 10:47 UTC

Post by *JFierce7 »

Let's summarize: TC should compare path names case independently when it needs to decide whether an operation should be visualized immediately in both navigation windows. It behaves like that when a folder is deleted, but doesn't when a new folder is created.
Post Reply