| Summary: | custom command for file paths does not correctly parse COLUMN for Node.js stack traces | ||
|---|---|---|---|
| Product: | [Applications] konsole | Reporter: | Jan <spam10083> |
| Component: | general | Assignee: | Konsole Bugs <konsole-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | morisset.hugues |
| Priority: | NOR | ||
| Version First Reported In: | 23.08.5 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/konsole/-/commit/f8036be74564e544716506689cb96a4aa582263c | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/1086 *** Bug 502077 has been marked as a duplicate of this bug. *** Git commit f8036be74564e544716506689cb96a4aa582263c by Christoph Cullmann. Committed on 12/04/2025 at 20:59. Pushed by cullmann into branch 'master'. allow /path/to/file.cpp:123:123 paths allow that no trailing : is behind the column M +2 -2 src/filterHotSpots/FileFilterHotspot.cpp https://invent.kde.org/utilities/konsole/-/commit/f8036be74564e544716506689cb96a4aa582263c |
SUMMARY I'm on Ubuntu and cannot easily test the latest version of Konsole, but I did have a look at the code (github dot com/KDE/konsole/blob/dc93ba3fa5c262509058b817d72cd9d89266920d/src/filterHotSpots/FileFilterHotspot.cpp#L82) and it appears that this is still what I'd consider to be a bug, or perhaps a feature request? Konsole will not parse file paths in this form: some/file.js:LINE:COLUMN This is the format that Node.js spews stack traces, making web dev a bit tedious when using Konsole. Instead, this verison of Konsole supports: some/file.cpp:LINE:COLUMN: // note trailing colon The code handling this is here: github.com/KDE/konsole/blob/dc93ba3fa5c262509058b817d72cd9d89266920d/src/filterHotSpots/FileFilterHotspot.cpp#L82 There's a thread with all repro steps and further detail here: https://discuss.kde.org/t/konsole-click-to-open-file-uses-default-rather-than-custom-text-editor-command/29848/2 Thank you.