Bug 189158 - When opening many files (kate session) with KIO (sftp, ftp, fish) system freezes/crashes or files fail to load
Summary: When opening many files (kate session) with KIO (sftp, ftp, fish) system free...
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: sessions (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 197376 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-08 22:08 UTC by Rolf Martin-Hoster
Modified: 2012-11-01 15:50 UTC (History)
2 users (show)

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 Rolf Martin-Hoster 2009-04-08 22:08:54 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

This has been an unresolved bug since KDE3. Listed in 83270, 122036, 150348, 156989, 77135, 131994 and others that I can no longer find.

There needs to be a way to :

A. Limit the number of files KIO will try to open actively (queue the rest) on one remote host.

OR

B. force all of the kio windows into one window (there used to be an option for this in file manager as I found in a bug report earlier but this no longer seems to be the case in dolphin and I can no longer find the bug to reference).

Loading over 10 files breaks plasma as all the prodcess dialog windows open and just hang until the kwallet can be loaded and a username password entered. This causes kate to crash, locks the system (plasma), leaves zombied kio_* processes and many other bad things to happen. Some of my sessions include 200+ files and kate is become less than useful when I cannot easily navigate between them.
Comment 1 Rolf Martin-Hoster 2009-04-08 22:54:28 UTC
121136 was the bug that I was looking for that mentions a configuration option to limit this to one dialog. No more File Manager, where would I find this?
Comment 2 Dominik Haumann 2010-05-29 12:00:21 UTC
*** Bug 197376 has been marked as a duplicate of this bug. ***
Comment 3 Dominik Haumann 2010-05-29 13:53:30 UTC
@David Faure: What can we do about it from the Kate side?
Comment 4 Christoph Cullmann 2012-11-01 15:41:31 UTC
Git commit 8c3dfdc4e3ba904553d7711959b67e3ebb439fd3 by Christoph Cullmann.
Committed on 01/11/2012 at 16:39.
Pushed by cullmann into branch 'master'.

fix problem with massive amounts of dialogs or notifications killing plasma and co.
still not optimal, as no nice notification in kate, but that is no regression, the other dialogs didn't hint to kate either
this avoids freeze of session

M  +3    -0    kate/app/katedocmanager.cpp

http://commits.kde.org/kate/8c3dfdc4e3ba904553d7711959b67e3ebb439fd3
Comment 5 Christoph Cullmann 2012-11-01 15:50:21 UTC
Git commit 66167dc51deeb218d099f9cc0fa1cb1fc05a518e by Christoph Cullmann.
Committed on 01/11/2012 at 16:49.
Pushed by cullmann into branch 'master'.

inline display that a file is still loading
threshold: show it after one second, if still not done, to avoid ugly flicker
Related: bug 112927
no dialogs, no focus loss ;)

M  +0    -3    kate/app/katedocmanager.cpp
M  +24   -1    part/document/katedocument.cpp
M  +10   -0    part/document/katedocument.h

http://commits.kde.org/kate/66167dc51deeb218d099f9cc0fa1cb1fc05a518e