Bug 122036

Summary: Kate sometime doesn't load remote files (w/ sessions)
Product: [Applications] kate Reporter: Justin Sheckler <self>
Component: sessionsAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ahartmetz, brmassa, matt, oeos
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on: 83270    
Bug Blocks:    

Description Justin Sheckler 2006-02-15 15:42:37 UTC
Version:           2.5.1 (using KDE 3.5.1 Level "a" , SUSE 10.0 UNSUPPORTED)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.13-15.8-default

Sometimes, when opening a saved session, Kate doesn't load some remote files (fish://)  Instead, "Untitled" appears in the file list, although the correct file URL shows up in the titlebar.  The document is blank, although a reload will solve the problem.
Comment 1 Justin Sheckler 2006-02-15 15:44:22 UTC
I should add that this doesn't apply to *all* remote files in the session; and it *may* have something to do with files that share the same base name, but different paths.
Comment 2 Anders Lund 2006-02-15 17:39:33 UTC
On Wednesday 15 February 2006 15:42, Justin Sheckler wrote:
> Sometimes, when opening a saved session, Kate doesn't load some remote
> files (fish://) 
Comment 3 Justin Sheckler 2006-02-15 17:56:32 UTC
Usually Kopete opens my wallet right away when I log on, and I have KWallet set not to close until I log out.  However, I will keep an eye on that.
Comment 4 Justin Sheckler 2006-03-31 17:35:42 UTC
I'm starting to think this is a problem with KIO opening too many connections to the same host at one time.  Should this bug be reassigned?
Comment 5 Alexander Krivács Schrøder 2007-08-03 08:04:46 UTC
I'm going to second the notion of Justin here, though seeing how this bug has not been even confirmed for over a year since it was started, I have doubts about how much will be done about it.

Anyway, when opening a session with remote files (like over fish:// or ftp://) Kate (or KIO, whichever responsible) tries to open all the files at the same time, i.e. makes as many connections to the server as there are files to open. This, of course, is not allowed by the server, and a lot of the files won't open, and you get a lot of "cannot connect" errors.

A better solution to this would be to have the opening of files be serial instead of parallell on remote connections when opening many. I.e. re-use the same connection to open the files. That way this problem wouldn't occur.

I don't recall having the same problem when using the Quanta editor, because I believe it works on the principle I just described. Instead of opening like 20 connections, it opens one and loads one file at a time. I'm sure this could also be done for Kate.
Comment 6 Bruno Massa 2008-11-07 05:36:05 UTC
Guys,

on Kate 3.1.3 KDE4, remote files make Kate to crash. Its even impossible to load it and remove the files.

regards,

massa
Comment 7 Matt Williams 2009-03-05 13:33:12 UTC
I'm still getting this bug on a KDE trunk checkout from last week
Comment 8 Andreas Hartmetz 2010-02-23 01:44:40 UTC

*** This bug has been marked as a duplicate of bug 83270 ***