Bug 285616 - Outright filesystem abuse in applications menu
Summary: Outright filesystem abuse in applications menu
Status: RESOLVED DUPLICATE of bug 251217
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-03 04:47 UTC by Manuel Amador (Rudd-O)
Modified: 2011-12-05 10:00 UTC (History)
2 users (show)

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


Attachments
filesystem abuse produced by simply clicking on one application category in kde application menu (517.36 KB, text/plain)
2011-11-03 04:47 UTC, Manuel Amador (Rudd-O)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Amador (Rudd-O) 2011-11-03 04:47:41 UTC
Created attachment 65183 [details]
filesystem abuse produced by simply clicking on one application category in kde application menu

Version:           unspecified
OS:                Linux

Just CLICKING on a menu category produces the attached result.  On a busy machine, this can take minutes.

There is NO NEED WHATSOEVER to issue thousands upon thousands of filesystem requests for ONE icon.

See attached file.  It's not funny at all -- it's just sad.  And then people wonder why there's complaints that KDE is "slow".

Reproducible: Always

Steps to Reproduce:
click on menu

click on applications

click on any category

Actual Results:  
wait for five minutes twiddling my thumbs

Expected Results:  
show me the damn list now!
Comment 1 Aaron J. Seigo 2011-12-02 20:32:40 UTC
there are reasons for those stats, and a reasonable filesystem should be able to deal with it.

the next time you report a bug in a civil tone, i'll spend the time replying in greater detail and with more understanding.
Comment 2 Manuel Amador (Rudd-O) 2011-12-03 22:58:42 UTC
There is no reason for blocking the UI while doing those stats. GNOME does not,  for example -- it shows you the menu and the icons are populated after the fact if they are not already in RAM. 

There may be reason to perform some of these stats,  but they should be done once,  and then cached.  This is the whole point of the icon cache. 

This has nothing to do with the filesystem,  as this is a problem using any filesystem -- as soon as the icons you are trying to fetch are evicted from memory (dentry or page cache),  the menu becomes slow to use,  to the point that it takes minutes. Also, almost every KDE app does this when it needs icons -- it hammers the filesystem. 

Also, note how all icon sizes and icon categories are researched for each icon. Unnecessary. 

If you want to close the bug because it was "uncivilly" reported, that is fine. Just don't give me back a bunch of lies,  Aaron.
Comment 3 Beat Wolf 2011-12-05 10:00:11 UTC

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