BUG [5.5.3] Tree pane does not refresh

Advertisement

braykov
Joined:
Posts:
94

BUG [5.5.3] Tree pane does not refresh

Hi,
I cannot get to refresh the tree windows of the local pane.
Neither does it refresh automatically, nor via explicit Refresh.
Try changing a directory name outside WinSCP and go back to refresh it.
It only works if I browse in the file pane - going up the tree and then back down.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

Re: BUG [5.5.3] Tree pane does not refresh

What specifically does not refresh? Like that you add a new folder and it does not show up in the tree?

Reply with quote

braykov

Everything - rename a directory, newly created sibling directory, deleted sibling directory.
Refresh works on the bottom (file) pane, but the tree pane remains the same.

Reply with quote

braykov
Joined:
Posts:
94

Log sent via mail.
BTW I think the following might help you:
I noticed that when locally I work on C: drive there are no problems.
However I have opened drive O: (you will see it in the log) which is mapped shared drive from a file server.
I think there the problem lies.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

braykov wrote:

Log sent via mail.
BTW I think the following might help you:
I noticed that when locally I work on C: drive there are no problems.
However I have opened drive O: (you will see it in the log) which is mapped shared drive from a file server.
I think there the problem lies.
Thanks. It helped.

This bug has been added to the tracker:
https://winscp.net/tracker/1180

I'm sending you a dev version for testing.

Reply with quote

braykov

I just noticed this bug is again present in 5.7.3.
I added a sibling directory outside WinSCP. I went back to WinSCP and while I was focused on a sibling directory in the tree pane, I clicked CTRL+R.
The new dir did not show up. Again I needed to go up a tree, only then it refreshes.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

braykov wrote:

I just noticed this bug is again present in 5.7.3.
I added a sibling directory outside WinSCP. I went back to WinSCP and while I was focused on a sibling directory in the tree pane, I clicked CTRL+R.
The new dir did not show up. Again I needed to go up a tree, only then it refreshes.
Can you reproduce it? I have sent you an email with a debug version.

Reply with quote

Advertisement

braykov
Joined:
Posts:
94

I just sent you the log.
Here's a short description of what I did:

- I opened WinSCP and clicked on a local directory in the tree view.
- I created outside WinSCP a directory next to the one I have under focus - a sibling directory.
- I went back to WinSCP - the directory is not shown automatically.
- I pressed CTRL+R several times - the new directory is still not seen in the tree view pane.
- I exited Winscp.

Again, pls, note the local directories are actually on a mapped drive to a Windows file server.

Reply with quote

martin
Site Admin
martin avatar

WinSCP does not monitor network drives (except for the current working directory). Even the Ctrl+R refreshes just the current working directory.

Reply with quote

braykov
Joined:
Posts:
94

Well, it seems that it IS monitoring them.
I tried the following:
- Focus on a directory in the local tree pane
- Create a sub-directory of the focused one outside WinSCP
And WinSCP immediately showed it in the tree pane.
Maybe it is treating it as non-network, because it is mapped but it seems it is monitoring it.

But even if it does not monitor, that is why the explicit reload key combination exists, right? To be able to force reload. No?

But OK, if you don't consider this a bug, would you accept it as an enhancement request?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

braykov wrote:

Well, it seems that it IS monitoring them.
I tried the following:
- Focus on a directory in the local tree pane
- Create a sub-directory of the focused one outside WinSCP
And WinSCP immediately showed it in the tree pane.
As I wrote, "except for the current working directory". It is monitored.

But even if it does not monitor, that is why the explicit reload key combination exists, right? To be able to force reload. No?
The Refresh reloads the current working directory, not the parent directory.

But OK, if you don't consider this a bug, would you accept it as an enhancement request?
What exactly? To optionally monitor network drives? Or a command to refresh all folders opened in the directory tree?

Reply with quote

Advertisement

braykov
Joined:
Posts:
94

Ok, I think now I understand the issue.
So WinSCP does monitor directories outside the current working directory (the focused one), except for network drives. This seems reasonable, because of speed issues.
Then the request would be, indeed to forcefully refresh all folders opened in the directory tree with CTRL+R.

Reply with quote

Advertisement

You can post new topics in this forum