[kde] [Bug 429454] The reading of the icons may block the GUI

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Feb 1 04:34:53 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=429454

21Naown at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INTENTIONAL                 |---
             Status|RESOLVED                    |REPORTED

--- Comment #14 from 21Naown at gmail.com ---
The suggested solution is to read the icons from the HDD at the start of the
software. Here is an example for an icon with Kate in “kate/main.cpp”:

QIcon icon = QIcon::fromTheme(QStringLiteral("new-document"));
// without “isNull()”, the icon is not read
icon.isNull();

The icon is read from the HDD at the start of the software. “strace -e file
build/kate/kate” does not mention “new-document” at the time of a click to
“File”, so the icon cannot block the GUI.
Read all icons requires less than 0,5 second and ~0,1 MiB more memory without
any pixmap.


I set the status to “REPORTED” because there is at least one imperceptible
solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list