[Konsole-devel] [Bug 187754] New: Konsole does not set initial working directory from cwd

Johnny Levai digistyl3 at gmail.com
Sat Mar 21 00:23:20 UTC 2009


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

           Summary: Konsole does not set initial working directory from
                    cwd
           Product: konsole
           Version: 2.2.2
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: digistyl3 at gmail.com


Version:           2.2.2 (using 4.2.1 (KDE 4.2.1) "release 104",
KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.19-3.2-pae

I have KDE 3.5.10 installed alongside KDE 4.2.1, so I could verify if the
problem is truly with the new Konsole.
I use NetBeans 6.5 for developing C++ applications. When I run an application,
NetBeans starts a local emulator and passes the compiled application's relative
path and name. The problem is, that Konsole 2.2.2 always starts with ~ as an
initial working directory and I get a File not found error.
If I log into KDE 3.5.10, running my C++ applications from NetBeans works just
fine.
The problem can be reproduced even without NetBeans. 
Open your KDE4 Konsole and "cd Desktop". Start the KDE3 Konsole from there.
Notice that the cwd will be set to ~/Desktop, as expected.
Now open your KDE3 Konsole and "cd Desktop". Then start the KDE4 Konsole from
there. Notice that the cwd will still be set to ~. That's what makes NetBeans
6.5 C++ unusable under KDE 4.2. 
I payed some attention to the KDE3 Konsole and I could find things like:

KURL Konsole::baseURL() const
{
   KURL url;
   url.setPath(se->getCwd()+"/");
   return url;
}

I could really find cwd related settings in the KDE4 Konsole's source code. 
Is this a missing feature or a bug?

-- 
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