https://bugs.kde.org/show_bug.cgi?id=416320

            Bug ID: 416320
           Summary: External tool needs "Working directory" set to
                    something to work
           Product: kate
           Version: 19.12.0
          Platform: MS Windows
                OS: MS Windows
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: maciej.lib...@fastmail.com
  Target Milestone: ---

SUMMARY
Running external tool has no effect if "Working directory" field is empty in
"External Tools"/"Edit Tool" dialog.

STEPS TO REPRODUCE
1. Go to Tools -> External Tools -> Configure...
2. Select "Insert UUID" tool, click "Edit..."
3. Note, that "Working directory" field is empty
4. Change "Executable" to: cmd
5. Change "Arguments" to: /c echo %{UUID}
6. Confirm
7. Try to use the tool

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
The UUID is inserted at cursor position

WORKAROUND
1. Edit tool again
2. Put something in "Working directory" field, I tried '%{Document:Path}' and a
dot '.', both worked

SOFTWARE/OS VERSIONS
Windows: 10, 19H1 (1903), build 18362
Kate: apart from 19.12.0 I also tried Nightly, 20.03.70, build 698 from
https://binary-factory.kde.org/job/Kate_Nightly_win64/


ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to