| Summary: | Kate can't open files starting with ':' from the CLI | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Ahmad Samir <a.samirh78> |
| Component: | application | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | Git | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/kate/commit/68dbf03bc7ce86f15ce82300159eb00db335bdeb | Version Fixed/Implemented In: | 21.04 |
| Sentry Crash Report: | |||
|
Description
Ahmad Samir
2020-12-10 13:11:03 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/134 Git commit 68dbf03bc7ce86f15ce82300159eb00db335bdeb by Christoph Cullmann, on behalf of Ahmad Samir. Committed on 02/01/2021 at 12:49. Pushed by cullmann into branch 'master'. UrlInfo: handle filenames starting with ':' QFile/QDir treat file paths starting with ':' as absolute paths (treated as Qt Resource (qrc) paths), which means such a path is always absolute from their POV. Adjust the code to be able to open files starting with ':' when kate is used on a relative path from the CLI. M +39 -26 urlinfo.h https://invent.kde.org/utilities/kate/commit/68dbf03bc7ce86f15ce82300159eb00db335bdeb |