Bug 210463 - folder view widget slows login too much
Summary: folder view widget slows login too much
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-folderview (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 211540 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-13 19:59 UTC by ycs wyw
Modified: 2010-01-25 17:26 UTC (History)
4 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 ycs wyw 2009-10-13 19:59:39 UTC
Version:            (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

Hi,

I'm on Kubuntu 9.04 with KDE 4.3.2 updates (from "http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu" repository), and I'm having very slow logins after the "Folder View Widget" was added on Desktop, with the location: "Show Desktop folder" (that contains 5 subfolders with about 30 Gb of data):

The "folder view widget" is rendered quite fast on login, but it "freezes" the desktop about 90 seconds (i.e: "kickoff menu" doesn't work, nor I can't launch applications from taskbar). 

It seems the "Folder View Widget" is trying to read the "Desktop" folder files... because the disk has heavy I/O activity during login... but I also tried to disable "show previews" in "icon settings" from "Folder View settings > Display" options without success.

Curiously, when I change location property from "Desktop" to "Home" directory (with the same Desktop folder + 4 Gb additional data), or when I remove the "folder view widget", the login only takes 22 seconds. 


This is the content of my "Desktop" folder:

~/Desktop$ ls -al
total 36
drwx------   7 ycswyw ycswyw  4096 2009-10-13 18:01 .
drwxr-xr-x 115 ycswyw ycswyw 12288 2009-10-13 18:49 ..
drwxr-xr-x  11 ycswyw ycswyw  4096 2009-08-18 19:21 docs
drwxr-xr-x  47 ycswyw ycswyw  4096 2009-09-08 18:34 downloads
drwxr-xr-x   3 ycswyw ycswyw  4096 2009-08-16 13:46 fotos
drwxr-xr-x  36 ycswyw ycswyw  4096 2009-06-27 11:25 projects
drwxr-xr-x   3 ycswyw ycswyw  4096 2009-10-13 18:46 temp

~/Desktop$ du -sk *
8802408 docs
16088300        downloads
1127888 fotos
1307980 projects
3220    temp


The system is nearly 3 years old (Intel Core2 Duo 2.4 Ghz CPU, 2 Gb RAM, Nvidia 7600GS) , but works fine for required applications (after the login is completed).

Thanks.
Comment 1 Beat Wolf 2009-12-12 18:31:13 UTC
*** Bug 211540 has been marked as a duplicate of this bug. ***
Comment 2 Fredrik Höglund 2009-12-14 19:20:18 UTC
SVN commit 1062420 by fredrik:

Don't watch subdirs for changes unless they've been listed.
BUG: 210463


 M  +8 -3      desktopnotifier.cpp  
 M  +12 -1     desktopnotifier.h  
 M  +12 -1     kio_desktop.cpp  
 M  +2 -1      kio_desktop.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1062420
Comment 3 Fredrik Höglund 2009-12-14 19:23:09 UTC
The above commit should fix this problem, but if you still see it in KDE 4.4 beta 2, please reopen this bug report.

Thanks.
Comment 4 ycs wyw 2009-12-23 21:20:59 UTC
Hi, 
I've installed KDE 4.4 beta 2, and the "Folder View Widget" works very fast with the "Desktop" location.

Thank you very much.
Comment 5 Lubos Lunak 2010-01-25 17:26:43 UTC
SVN commit 1080100 by lunakl:

backport r1062420
Don't watch subdirs for changes unless they've been listed.
BUG: 210463



 M  +8 -3      desktopnotifier.cpp  
 M  +12 -1     desktopnotifier.h  
 M  +12 -1     kio_desktop.cpp  
 M  +2 -1      kio_desktop.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1080100