Bug 226070

Summary: krunner v4.4 no longer has cwd = $HOME
Product: [Plasma] krunner Reporter: Frantic <frantic225>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aseigo, echidnaman
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Frantic 2010-02-09 22:02:12 UTC
Version:           4.4 (using KDE 4.4.0)
OS:                Linux
Installed from:    Archlinux Packages

Before KDE 4.4, krunner would have cwd == $HOME.

Assuming I have
HOME=/home/user/
and 
/home/user/runSomething.sh

When using krunner 4.4:
runSomething.sh - doesn't work (used to work in KDE < 4.4)
/home/user/runSomething.sh - works
Comment 1 Aaron J. Seigo 2010-02-09 22:37:12 UTC
this works, but only if krunner is actually started from $HOME, which is of course how $CWD works :)

i suppose we -could- force it to always check relative paths in $HOME ... something to consider.
Comment 2 Frantic 2010-02-09 23:00:44 UTC
My krunner is started by KDE automagically.
In versions < 4.4 it would have $CWD = $HOME, but it seems not anymore.
Was this changed on purpose? If so, this is not a bug.
But if it wasn't, it's a bug.
Comment 3 Aaron J. Seigo 2010-02-09 23:10:30 UTC
it's not an intentional change, but it's also not something that is up to krunner.
Comment 4 Frantic 2010-02-09 23:12:13 UTC
It's up to you guys to decide if it's a bug or not.
It was just nice and I miss it :)
Comment 5 Jonathan Thomas 2011-10-11 12:40:40 UTC

*** This bug has been marked as a duplicate of bug 183534 ***