Bug 289510 - Autocompletion shows URLencoded characters for SFTP autocompletion
Summary: Autocompletion shows URLencoded characters for SFTP autocompletion
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: bars: location (show other bugs)
Version: 1.99
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-21 16:14 UTC by Elias Probst
Modified: 2013-07-17 23:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2011-12-21 16:14:18 UTC
Version:           1.99 (using Devel) 
OS:                Linux

When using the autompletion for entering an SFTP (probably other remote KIOs, too) address, non-ASCII chars etc. are URLencoded in the suggestion list, such as %20 for whitespace.
When picking an item from the completion list, the actual address is written without URLencoded characters.

Please remove URLencoded characters from the autocompletion list for visual consistency and to prevent confusing inexperienced users.

Another related problem: When copying an URL from the address field, it should contain URL encoded values then, as when pasting it then into an instant messaging window or email, the URL might become invalid.

Reproducible: Always

Steps to Reproduce:
1. Open Dolphin
2. Enter SFTP address which contains whitespace

See also YouTube screencast for a short demo: http://www.youtube.com/watch?v=CIq-ev_BoSk

Actual Results:  
The autocompletion list contains %20 instead of whitespace.

Expected Results:  
The autocompletion list should not contain URLencoded characters but simply use the same represenation as in the address field itself.

KDE 4.7.90 (4.8.0 beta2)
Qt 4.7.4
Comment 1 Elias Probst 2011-12-25 21:15:32 UTC
This might be also caused by the SFTP KIO itself, somewhere in sftpProtocol::listDir(), see also: https://projects.kde.org/projects/kde/kde-runtime/repository/revisions/master/entry/kioslave/sftp/kio_sftp.cpp

Not re-assigning it to KIO → SFTP yet, as I'm not 100% sure yet, whether it could be also caused by Dolphin.

For information on debugging KIO SFTP, see also: http://techbase.kde.org/Development/Tutorials/Debugging/Debugging_IOSlaves/Debugging_kio_sftp
Comment 2 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:22:28 UTC
Resetting assignee to default as per bug #305719
Comment 3 Frank Reininghaus 2013-07-17 14:10:29 UTC
I cannot reproduce the problem. If you can still reproduce the problem in KDE 4.10.5 or later, please reopen and reassign (It's most likely not a Dolphin issue - the location bar is provided by KUrlNavigator from kdelibs. It might be a Dolphin issue only if you can still see the bug in Dolphin and not in the "File Open" dialog.)

Thanks for your help!
Comment 4 Elias Probst 2013-07-17 23:03:54 UTC
Yes, looks like this was fixed in the meanwhile. Can't reproduce any of the listed issues.