3.5 branch kfmclient/KRun problem with local HTML files and anchors

Kevin Krammer kevin.krammer at gmx.at
Sun Aug 13 00:50:04 BST 2006


A Portland xdg-utils tester reported a problem when launching a file URL with 
anchor: https://bugs.freedesktop.org/show_bug.cgi?id=7863

Summary:
kfmclient exec http://host/path#anchor works
kfmclient exec file:/path#anchor does not work (anchor gets lost)

I tracked it down to
krun.cpp method KRunMX2::subst

educated guess:

ret << (url.isLocalFile() ? url.path() : url.url());

strips the anchor since isLocalFile() returns true

Is this a bug or intentional?

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060813/14ee209c/attachment.sig>


More information about the kde-core-devel mailing list