Bug 162183

Summary: Start Menu - "run in terminal" option causes not setting "work path" value
Product: [Unmaintained] kdelibs Reporter: robermann <robermann>
Component: generalAssignee: Alex Merry <alex.merry>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description robermann 2008-05-16 21:56:23 UTC
Version:            (using KDE 4.0.3)
Installed from:    SuSE RPMs
OS:                Linux

When setting a menu entry to start in terminal mode, the started process does
not run into the directory chosen by the "work path" option.

The same is true when editing manually .desktop files: if Terminal=true, Path
variable is not used. 

You can quickly reproduce this behaviour by creating a script:
echo `pwd` >> /tmp/touched

And then creating a menu entry for it, setting a "work path" value. Run it
first without selecting "run in terminal", the checking it.

I'm using opensuse 11 Live cd kde4 20080430 i386.
Comment 1 robermann 2008-05-16 21:57:42 UTC
Filed also in https://bugzilla.novell.com/show_bug.cgi?id=384171
Comment 2 Alex Merry 2008-08-06 20:12:57 UTC
This is a KRun issue.

I've sent a patch to k-c-d for review, so hopefully this will be fixed in 4.2, and possibly 4.1.1.
Comment 3 Alex Merry 2008-08-11 17:04:40 UTC
Fixed in  r845368 (trunk) and r845369 (4.1).