[Konsole-devel] [Bug 242114] Konsole resolves symlinks for initial path, should mimic CD/PWD behavior

Danny Daemonic DannyDaemonic at gmail.com
Mon Sep 19 02:19:12 UTC 2011


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





--- Comment #14 from Danny Daemonic <DannyDaemonic gmail com>  2011-09-19 02:19:12 ---
I wrote and test a patch (and attached it without comment). It fixes the
profile directory not matching the symlink and it also fixes the Dolphin "open
here" problem I spoke of earlier without any changes needed in Dolphin.

It doesn't use 'addEnvironmentVariables' because I would be taking "PWD",
appending "=", and then the path to it. Then splitting it into a list, and then
passing it in to be broken back down.  Using 'setenv' was much more readable. 
KProcess has a 'setEnv' which uses QStrings, but I didn't look into since
'addEnvironmentVariables' does it with 'setenv'.

It doesn't fix the tab at the bottom, or the title, which both still show the
raw working directory.  Nonetheless, this is much better than before.  What are
the regressions you are worried about?  I didn't notice any new bugs, but I was
just testing what came to mind.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list