Bug in KURL handling(?)

Waldo Bastian bastian at kde.org
Wed Dec 15 21:22:05 GMT 2004


On Wednesday 15 December 2004 21:58, Ingo Klöcker wrote:
> FWIW, I just tried to following (Reminder: I'm using KDE_3_3_BRANCH): I
> created a file called 'a#b' in $HOME. Then I opened Konqueror and
> started to type "~/a" into the location bar. The auto-completion offers
> ~/a#b. I select it and press Enter. "The file or folder ~/a#b does not
> exist."
> Huh? WTF? First Konqueror offers me the file via auto-completion and
> then it tells me the file doesn't exist? (Deja-vu? I have the uncertain
> feeling that I already brought exactly this example before.)
>
> IMO this whole situation is completely broken. A path which is entered
> in Konqueror should be interpreted as path. Interpreting it as file URL
> with omitted "file://" is just wrong. No user will understand that he
> has to enter "~/a%23b" to open the file ~/a#b (even if auto-completion
> is fixed so that it offers ~/a%23b instead of ~/a#b).
>
> The only sensible solution for this whole usability mess is that
> anything without protocol is interpreted as path. And, of course, file
> URLs which are not just simple path must not be crippled because
> otherwise Konqueror won't understand them anymore correctly.
>
> Somehow this reminds me of the special handling of IDNs, with the
> difference that for IDNs it's done correctly (i.e. the user never has
> to enter xn--foo as domain name) while for path it's done wrongly
> (because the user has to know the hex code of '#').

I agree. David, attached patch fixes prettyURL, will you fix Konqueror?

Cheers,
Waldo
-- 
bastian at kde.org   |   Free Novell Linux Desktop 9 Evaluation Download
bastian at suse.com  |   http://www.novell.com/products/desktop/eval.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kurl.strip.patch
Type: text/x-diff
Size: 777 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20041215/2b356716/attachment.patch>
-------------- 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/20041215/2b356716/attachment.sig>


More information about the kde-core-devel mailing list