Steps : mkdir -p /tmp/folder1/folder2 open thunar, go in /tmp/folder1 go into a /tmp/folder1/folder2 change view type: detailed view -> icon view try to go back with Go/Back menu expected behaviour : going back in folder1 (or if changing view invalidate history, to have Go/Back to be greyed, inactivated) current behaviour : we stay in folder2 $ apt-cache show thunar | grep -i version Version: 1.6.10-2ubuntu1 $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04 LTS Release: 16.04 Codename: xenial
Created attachment 6855 thunar-history-after-view-change-fix.patch Attached is a fix. It deletes the extra history copying in thunar_window_action_view_changed function, which apparently caused the problem. The history already gets copied in thunar_window_notebook_insert function.
Fixed in https://git.xfce.org/xfce/thunar/commit/?id=9578e0dec5cee473222cb813b43de31067c604e2 According to my tests, this should work and not introduce any regressions. I just hope I haven't missed something.