[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    3.5 branch kfmclient/KRun problem with local HTML files and anchors
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2006-08-12 23:50:04
Message-ID: 200608130150.10010.kevin.krammer () gmx ! at
[Download RAW message or body]


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@gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic