Page 1 of 1

0.84: Manual refresh doesn't refresh folder tree

Posted: Thu Mar 09, 2017 8:22 am
by helmut
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

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

Posted: Thu Mar 09, 2017 12:12 pm
by CameronD
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.

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

Posted: Sat Jun 17, 2017 4:58 pm
by xnview
O.k., thank you, I can also reproduce the problem. Issue 1248 is fixed in next version.

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

Posted: Sat Jul 08, 2017 12:58 pm
by xnview
This problem is supposed to be fixed in XnView MP 0.87. Please check and confirm the bug fix here.

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

Posted: Mon Jul 10, 2017 2:24 pm
by CameronD
working very well now, even network mapped drives where windows explorer sometimes had trouble.