https://bugs.kde.org/show_bug.cgi?id=413306
Bug ID: 413306 Summary: Build Plugin: wrong effective working directory if kate working dir is not path of .kateproject file Product: kate Version: Git Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: i...@markus-pister.de Target Milestone: --- SUMMARY When using target settings imported from the kate project specification, the kate working directory seems to be used instead of the one specified in the project specification. In my setup, the make file is located in the same folder as the .kateproject file. Thus I specified "directory": "." in the build section of the kate project file. Trying to build fails because the make file is not found. Patching the build command to print $PWD shows that kate's working dir is used. STEPS TO REPRODUCE 1. Prepare kate build directory as described in https://kate-editor.org/build-it/ 2. Open kate such that its working dir is not the git clone's top-level dir (e.g. using krunner or the main KDE menu) 3. Open an arbitrary file from the kate git clone 4. Try to build using build plugin OBSERVED RESULT The build fails and the build output window shows the following content: > make: *** No targets specified and no makefile found. Stop. EXPECTED RESULT The build process starts and succeeds. SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed 20190814 KDE Plasma Version: KDE Frameworks Version: 5.60.0 Qt Version: Qt 5.13.0 (built against 5.13.0) -- You are receiving this mail because: You are watching all bug changes.