Bug 226070 - krunner v4.4 no longer has cwd = $HOME
Summary: krunner v4.4 no longer has cwd = $HOME
Status: RESOLVED DUPLICATE of bug 183534
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-09 22:02 UTC by Frantic
Modified: 2011-10-11 12:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***