[kde] [Bug 429454] The reading of the icons may block the GUI
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Tue Nov 24 16:52:13 GMT 2020
https://bugs.kde.org/show_bug.cgi?id=429454
--- Comment #3 from 21Naown at gmail.com ---
(In reply to Nate Graham from comment #1)
> Can you add a bit more information? What makes you think it's reading icons?
> And what exactly do you mean by "reading icons"?
>
> Can you explain your process of investigation that led you to this
> conclusion?
Here is an example:
strace -e file kate &
echo 3 > /proc/sys/vm/drop_caches
hdparm -y /dev/sda
Then click to “File” in Kate and “strace” mentions the access to icons.
(In reply to Christoph Feck from comment #2)
> Since icons are created by name, they are loaded by the icon engine the
> moment they are needed (i.e. rendered). Loading all icons in advance will
> give us bug reports of slow application startup, so they are loaded as
> needed.
The size of “/usr/share/icons/breeze” is ~15MiB. But ~10000 files is
problematic for a busy HDD, so a solution could be to have one file containing
the icons. Then to load them in advance.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list