Bug 197945 - Error message "URL cannot be listed" is displayed when trying to open a file inserting a HTTP URL
Summary: Error message "URL cannot be listed" is displayed when trying to open a file ...
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-26 11:30 UTC by Luca Carlon
Modified: 2011-08-24 12:17 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Carlon 2009-06-26 11:30:08 UTC
Version:            (using KDE 4.2.90)
OS:                Linux
Installed from:    Ubuntu Packages

Description: when trying to open a file in any application (I tried Kate and Amarok) specifying a complete HTTP URL, I get the error message "URL cannot be listed" and the file is not always opened. Kate shows the error message but opens the txt file, Amarok does not get the file (custom cover for album). Used to work with previous versions of KDE.

How to reproduce: With kate just open a file and provide a complete URL like http://www.site.com/txtfile.txt. The error message is displayed and the file is opened. With Amarok, click on "select custom cover" and insert an image with a full HTTP URL http://www.site.com/jpgfile.jpg. The cover is not applied to the album.

Expected behavior: no error message should appear as a list is not required and the file should be downloaded and passed to the application correctly. This seems not to happen every time.
Comment 1 Todd 2009-10-09 08:37:51 UTC
I can confirm that this happens for me as well.
Comment 2 FiNeX 2009-10-14 13:48:48 UTC
Confirmed in trunk too.
Comment 3 David Faure 2009-10-15 11:40:17 UTC
SVN commit 1035520 by dfaure:

Don't show an error message in KDirOperator::Private::openUrl when the user types a HTTP url;
we just skip listing the directory (but KFileWidget still has to set the url in KDirOperator
since it's used later). Will backport for 4.3.3.
BUG: 197945


 M  +3 -2      kfile/kdiroperator.cpp  
 M  +5 -1      kio/kfile/tests/kfstest.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1035520
Comment 4 FiNeX 2009-11-02 14:09:08 UTC
@David: I've tried with (Version 3.3.73) on KDE 4.3.73 (KDE 4.4 >= 20091026) and the error message is still there.
Comment 5 Mark Kretschmann 2009-11-12 07:50:23 UTC
*** Bug 176899 has been marked as a duplicate of this bug. ***
Comment 6 FiNeX 2011-08-24 12:17:25 UTC
Tested with KDE 4.6. It works :-)