This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Open http URLs

Tags: None
(comma "," separated)
Luc4
Registered Member
Posts
6
Karma
0

Open http URLs

Wed Jun 24, 2009 7:05 am
Hi! I noticed something bothering. I'm using KDE 4.3 beta 2 and if I try to open some file writing a http URL instead of a local URL, I get the response "URL cannot be listed". Is this the expected behavior? I used to do this without problems with KDE 3.5.
Thanks!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: Open http URLs

Wed Jun 24, 2009 8:23 am
Does using Konqueror to open websites work? Which application are you using that is affected?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Luc4
Registered Member
Posts
6
Karma
0

RE: Open http URLs

Wed Jun 24, 2009 8:37 am
If you mean that it simply shows the web page when inserting the URL in the location bar, then yes. Konqueror seems to work correctly. Any application I tried is affected.

I used to open http URLs with Amarok (I used the set custom cover function and I used to insert the http URL of the cover), and it is not working now. I tried to open a txt file with kate inserting the http URL of the txt file and the error message appears as well. The same with Konqueror if I try to "Open File...". I suppose its not related to the specific application but to the... I don't know how it's called... file picker? I suppose that is the same code for every applications, am I right? Anyway, I just noticed that waiting a little bit, it seems the txt file is opened, but Amarok doesn't pick the cover.
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

RE: Open http URLs

Wed Jun 24, 2009 12:08 pm
HTTP does not support listing, but the question is why does the application attempt listing if you point it to a file.

Could be a bug somewhere in KIO

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
Luc4
Registered Member
Posts
6
Karma
0

RE: Open http URLs

Wed Jun 24, 2009 12:56 pm
Should I report this?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: Open http URLs

Thu Jun 25, 2009 5:03 am
No, since HTTP does not support performing file listings ( WebDAV does however )
If you supply a full URL to a file then it should work without problems.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Luc4
Registered Member
Posts
6
Karma
0

RE: Open http URLs

Thu Jun 25, 2009 7:10 am
I know that, but I get that message when a URL to a file is inserted. For instance, I get that message while opening something like http://www.site.com/text.txt with Kate.
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

RE: Open http URLs

Thu Jun 25, 2009 2:05 pm
Can you try if it works from commandline, e.g.
Code: Select all
kate http://www.site.com/text.txt


Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
Luc4
Registered Member
Posts
6
Karma
0

RE: Open http URLs

Thu Jun 25, 2009 2:19 pm
Yes, this works correctly.
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

Re: Open http URLs

Sun Jun 28, 2009 4:08 pm
Then it is most likely a bug in the file dialog.

Maybe it tries to list the directory even if it gets an URL pointing to a file and then fails if the protocol doesn't support listing.

Cheers,
_


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]