Summary: | kfmclient exec with anchor URL discards anchor | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | Martin Koller <kollix> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | krammer, lecit |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Martin Koller
2006-03-03 11:56:01 UTC
I can confirm this, 3.5 r512077. I tracked it down to KRunMX2::subst where it treats URLs of local files differently in the case of %u being specified in the application's .desktop file Stephan Kulow thinks it might be an overoptimization. Something like this could help: Index: krun.cpp =================================================================== --- krun.cpp (Revision 572496) +++ krun.cpp (Arbeitskopie) @@ -296,7 +296,7 @@ { switch( option ) { case 'u': - ret << (url.isLocalFile() ? url.path() : url.url()); + ret << url.url(); break; case 'd': ret << url.directory(); I am reassing it to kdelibs, maybe someone with more knowledge about KIO can have a look at it Fixed with pathOrUrl() to avoid confusing apps with file urls in the common case (no query & no ref). |