Thunar doesn't navigate correctly to the root directory on "back"/"previous"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Thunar File Manager |
Confirmed
|
Medium
|
|||
thunar (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Thunar 1.6.15 on Bionic 18.04, kernel 4.15.0-23-generic x86_64. Behaviour seen on earlier Xubuntu versions as well.
To reproduce:
1. Open a Thunar file manager window at a directory containing sub-directories (e.g. a home folder)
2. Open one of the sub-directories in a new tab (right click or middle button) (e.g. ~/sub1)
3. Switch to that tab
4. Navigate to any next-level directory (e.g. ~/sub1/sub2) in that second tab
5. Click the back/previous button (not "up")
What should happen:
You end up back in sub1, which is the root directory of that new tab
What does happen:
You end up back in ~, which is the root directory of the *parent* tab in that window - and you skip over sub1 completely. Any subsequent child tabs will exhibit the same behaviour, i.e. opening another tab on ~/sub1/sub2/sub3, go down one more level and back and you'll end up back at ~.
This appears to be limited to the "previous" function, so it's something stack-related - probably, taking the value off the parent stack instead of a tab-specific stack, if I had to guess. "Up" works as intended.
---
$ lsb_release -rd
Description: Ubuntu 18.04 LTS
Release: 18.04
$ apt-cache policy thunar
thunar:
Installed: 1.6.15-0ubuntu1
Candidate: 1.6.15-0ubuntu1
Version table:
*** 1.6.15-0ubuntu1 500
500 http://
100 /var/lib/
description: | updated |
Changed in thunar: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
When opening a directory in a new tab, the history of the previous tab is copied into the new one, but the newly opened directory is not stored in the history.
For example:
* Navigate to root ('File System')
* Navigate to the 'usr' directory
* Navigate to the 'share' directory
The top two entries should now say 'usr' and 'File System'.
* Right click the xfce4 directory and click on 'Open in New Tab'
Note that this new tab has the same history as the old one.
* Navigate to the 'applications' directory
Note that the 'share' directory has now been added to the history, but the 'xfce4' directory has not. When you use the back button at this point, you will indeed end up in /usr/share and not in /usr/share/xfce4.
This odd behaviour does not occur when opening a directory in a new *window*.
Expected behaviour:
* Opening a directory in a new tab should give the new tab a fresh history, as in web browsers with tabs.
* The directory that is opened in the new tab should be recorded in the history of that new tab.
Version info:
I am using version 1.6.10-2 on amd64, as provided by packages of Debian Stretch.