Package: qt5ct Version: 0.37-1 Severity: normal Dear maintainers,
On my system I have several large icon themes installed (Numix-Circle, Moka, Papirus, ...), and this causes qt5ct to start up very slowly. Running qt5ct in gdb and breaking during the delay consistently points to IconThemePage::findIcon being called a lot. (gdb) bt #0 __getdents64 (fd=12, buf=buf@entry=0x555555f46060 "DF0", nbytes=32768) at ../sysdeps/unix/sysv/linux/getdents64.c:27 #1 0x00007ffff69e5214 in __GI___readdir64 (dirp=0x555555f46030) at ../sysdeps/posix/readdir.c:65 #2 0x00007ffff70d3140 in QFileSystemIterator::advance (this=this@entry=0x555555b954b0, fileEntry=..., metaData=...) at io/qfilesystemiterator_unix.cpp:81 #3 0x00007ffff7066e2c in QDirIteratorPrivate::advance (this=0x55555595f470) at ../../include/QtCore/../../src/corelib/tools/qvector.h:87 #4 0x00007ffff7067688 in QDirIteratorPrivate::QDirIteratorPrivate (this=0x55555595f470, entry=..., Python Exception <class 'RuntimeError'> Type is not a template.: nameFilters=, filters=..., flags=..., resolveEngine=<optimized out>) at io/qdiriterator.cpp:179 #5 0x00007ffff7067835 in QDirIterator::QDirIterator (this=0x7fffffffd6d8, dir=..., flags=...) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:148 #6 0x00007ffff7065b7d in QDirPrivate::initFileLists (this=0x555555f27900, dir=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #7 0x00007ffff7061e16 in QDir::entryInfoList (this=0x7fffffffd898, Python Exception <class 'RuntimeError'> Type is not a template.: nameFilters=, filters=..., sort=...) at io/qdir.cpp:1448 #8 0x00007ffff7061eaf in QDir::entryInfoList (this=this@entry=0x7fffffffd898, filters=..., filters@entry=..., sort=..., sort@entry=...) at io/qdir.cpp:1376 #9 0x00005555555773a0 in IconThemePage::findIcon (this=0x55555590bb80, themePath="/usr/share/icons/Numix/index.theme", size=24, name="document-save") at /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:120 #10 0x0000555555577d90 in IconThemePage::findIcon (this=0x55555590bb80, themePath="/usr/share/icons/Numix-Circle/index.theme", size=24, name="document-save") at iconthemepage.cpp:211 #11 0x00005555555787e8 in IconThemePage::loadTheme (this=0x55555590bb80, path="/usr/share/icons/Numix-Circle/index.theme") at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:693 #12 0x00005555555799f0 in IconThemePage::loadThemes (this=0x55555590bb80) at iconthemepage.cpp:98 #13 0x0000555555579ec3 in IconThemePage::IconThemePage (this=0x55555590bb80, parent=<optimized out>) at iconthemepage.cpp:45 #14 0x0000555555567ad0 in MainWindow::MainWindow (this=0x7fffffffdf50, parent=<optimized out>) at mainwindow.h:43 #15 0x0000555555566721 in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:53 (gdb) Best, James
signature.asc
Description: OpenPGP digital signature