[Konsole-devel] [konsole] [Bug 327720] New: Konsole should remember it was following symlinks on session restore, new tab

Chintalagiri Shashank shashank at chintal.in
Sun Nov 17 14:05:40 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=327720

            Bug ID: 327720
           Summary: Konsole should remember it was following symlinks on
                    session restore, new tab
    Classification: Unclassified
           Product: konsole
           Version: 2.11.2
          Platform: Kubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: shashank at chintal.in

When following symlinks, Konsole follows the symlink as expected (listing the
link instead of the target in pwd / terminal prompt) within the original tab.
However, opening a new tab or during KDE session restore post Logout/Login or
restart, it 'forgets' that it was following a symlink and expands to symlink to
the target path in pwd and the terminal prompt.

chintal at longclaw:~$ ls -l code
lrwxrwxrwx 1 chintal chintal 18 Nov 17 13:29 code -> /media/ldata/code/

chintal at longclaw:~$ cd code
chintal at longclaw:~/code$ pwd
/home/chintal/code

New tab created now, I expect it to remain in /home/chintal/code.

chintal at longclaw:/media/ldata/code$ pwd
/media/ldata/code




Reproducible: Always

Steps to Reproduce:
1. Create a symlink to a folder somewhere
2. cd to the symlink, navigate inside the target folder if you like, or just
stay at the symlink itself
3. Run pwd and look at terminal prompt to confirm it's working fine
4a. Create a new tab by double clicking on the empty space in the tab bar
4b. Instead of 4a, you could also at this point logout and login or reboot, for
KDE session restore to invoke.
5. Look at prompt in the new konsole. Run pwd to confirm.
Actual Results:  
pwd changes to reflect target instead of symlink

Expected Results:  
pwd (or konsoles new tab creation code) should remember that it was following a
symlink, and continue to do what it was doing originally, ie, in the first tab.
Leaving it as it is makes for a rather inconsistent experience.

Bug 242114 seems to be related.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list