Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#49391 - [kate] kate does not open correct file if opened with mouse click
Attached to Project:
Arch Linux
Opened by Hawky (p90) - Wednesday, 18 May 2016, 20:39 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 29 May 2016, 16:25 GMT
Opened by Hawky (p90) - Wednesday, 18 May 2016, 20:39 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 29 May 2016, 16:25 GMT
|
DetailsDescription:
Clicking any file connected to kate will open kate but not with the correct file. So i.e. you try to open a file named "Test A.txt" but kate will try to open "Test%20A.txt" instead I tracked the error down to the file usr/share/applications/org.kde.kate.desktop If instead of Exec=kate -b %U this is used: Exec=kate %F (%U is for Urls, %F is for files) it works correctly again. This happened for quite some time on my old system (did not write a bug report as I thought I just hard borged my system) as well as on a newly installed one (hence, the bug report) Steps to reproduce: Click on a file associated with kate |
This task depends upon
Closed by Antonio Rojas (arojas)
Sunday, 29 May 2016, 16:25 GMT
Reason for closing: Fixed
Additional comments about closing: kate 16.04.1-2
Sunday, 29 May 2016, 16:25 GMT
Reason for closing: Fixed
Additional comments about closing: kate 16.04.1-2
This isn't a bug in kate but with the filemanager/desktop you're opening the files with. It should pass URLs, not relative paths.
I am running lxqt, so the filemanager would be PcManFM-Qt.
Are you sure that this is a problem with the file manager?
As I said in my example, files with a spacehave theirspace replacedwith a %20 which is AFAIK the
correct way to handle the url.
If I try this on the console:
sudo touch /foo\ bar.test
kate file:///foo%20bar.test
I have the same problem.
And in this case, there is no file manager involved, is it?