0.84: Manual refresh doesn't refresh folder tree

Moderators: cday, XnTriq, helmut, xnview, Dreamer

User avatar
helmut
Posts: 8116
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

0.84: Manual refresh doesn't refresh folder tree

Postby helmut » Thu Mar 09, 2017 8:22 am

XnView: MP 0.84
OS: All Windows platforms

This bug report is about the manual refresh: A manual refresh triggered via View » Refresh (F5 key) should update both folder tree and file list. Refresh problems are mentioned in several bug reports. Sometimes, XnView doesn't automatically refresh folder tree and/or file list. This is not too bad as long as a manual works properly.

Effect: Unexpected behaviour. Can make work cumbersome.

Priority: High (If manual refresh worked properly, the relevance of the bugs in the automatic update would become much lower.)


To reproduce (most steps are copied from vertigo's bug report below):
1. Browse to folder in network
2. In Explorer, add or modify a folder in the folder from step 1
3. Go back to XnView and notice directory tree (left pane) does not reflect the change
4. Also notice that it is updated in the right pane
5. Press F5 (Manual refresh)

Actual behaviour (bug): File list is updated. Folder tree is not updated. :bug:

Expected behaviour: Both file list and folder tree are updated.

Note:
- In case a combined update of both folder tree and file list is not feasible for performance or other reasons, there could be two menu entries for triggering a manual refresh and one triggered with F5 and one with Ctrl+F5 (forced Refresh). From user perspective a combined manual refresh, i.e one menu entry "Refresh" (F5) (both folder tree and file list) is by far the better choice.

Related topic:
- 0.84: Network folders don't update in tree when changed

CameronD
Posts: 286
Joined: Wed Aug 01, 2007 1:28 pm
Location: Australia

Re: 0.84: Manual refresh doesn't refresh folder tree

Postby CameronD » Thu Mar 09, 2017 12:12 pm

Currently the only workaround is exit and restart XnViewMP.

One difficulty might be knowing what to refresh. It seems the code (maybe the QT library) keeps a cache of all opened folders, and never seems to refresh it, unless triggered by the unreliable OS. This remains even if the folder is collapsed and expanded again.

At a minimum it would be good if the tree view was updated to match what was present in the current working dir window. It does seem ridiculous having two conflicting lists side by side with no way to make them agree.

User avatar
xnview
Author of XnView
Posts: 27589
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Manual refresh doesn't refresh folder tree

Postby xnview » Sat Jun 17, 2017 4:58 pm

O.k., thank you, I can also reproduce the problem. Issue 1248 is fixed in next version.
Pierre.

User avatar
xnview
Author of XnView
Posts: 27589
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Manual refresh doesn't refresh folder tree

Postby xnview » Sat Jul 08, 2017 12:58 pm

This problem is supposed to be fixed in XnView MP 0.87. Please check and confirm the bug fix here.
Pierre.

CameronD
Posts: 286
Joined: Wed Aug 01, 2007 1:28 pm
Location: Australia

Re: 0.84: Manual refresh doesn't refresh folder tree

Postby CameronD » Mon Jul 10, 2017 2:24 pm

working very well now, even network mapped drives where windows explorer sometimes had trouble.


Return to “0.87 Testing – Fixed/Resolved”

Who is online

Users browsing this forum: No registered users and 1 guest