Version: unspecified OS: Linux Hello, my wish is when open executable, it change dir as current directory (konqueror or dolphin) for if file creation is "toto.log" (no absolute path) is created into the current directory and not home folder. Same wish for normal file, like toto.exe open with wine do all file "toto.log" (no absolute path) in the .exe directory instead of home directory. Thanks. I have search this bug without found it. Reproducible: Always
Do you use the KDE "Save/Save As..." file dialog to "create" the file?
no (because it can by controled by KDE), example: QFile logFile("toto.log"); logFile.open(QIODevice::ReadWrite|QIODevice::Truncate|QIODevice::Unbuffered); logFile.close(); To do the application: test (xrw------) When I double click into konqueror on "test" or I open file X.Y with my application "test", it will create the toto.log into /home/user. When I open konsole by F4 and I put ./test, it will create the toto.log into the current directory (then ./toto.log) (I search that's but when I doucle click on the application)
Thanks for the update. It looks like the application process launcher does not copy the working directory of the parent process, but I am not sure if this is done on purpose. Reassigning.
Hi, kdelibs (version 4 and earlier) is no longer maintained since a few years. KDE Frameworks 5 or 6 might already have implemented this wish. If not, please re-open against the matching framework if feasible or against the application that shows the issue. We then can still dispatch it to the right Bugzilla product or component. Greetings Christoph Cullmann