(*** This bug was imported into bugs.kde.org ***)
Version: 2.0.1 (using KDE 2.2.2 )
Installed from: SuSE
Compiler: gcc version 2.95.3 20010315 (SuSE)
OS: Linux (i686) release 2.4.10-4GB
When you use scripting in the "Actions configurations" tool and then start a script the script sees the user's home directory as working directory but obviously it should see the project directory as working directory.
I consider this a bug and not a wishlist item because if you create files with scripting the files will go into the homedirectory and will be overwritten when you start the script from another project.
(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
CVS commit by amantia:
Use the project base directory as the working directory for script actions.
Fixes #36415. Wondering, why I haven't fixed it before...
M +2 -1 tagaction.cpp 1.44
--- quanta/quanta/toolbar/tagaction.cpp #1.43:1.44
@@ -139,5 +139,6 @@ void TagAction::insertTag(bool inputFrom
KProcess *proc = new KProcess();
- proc ->clearArguments();
QDomElement script = tag.namedItem("script").toElement();