linuxmint / xapp

Cross-desktop libraries and common resources
GNU Lesser General Public License v3.0
125 stars 44 forks source link

xlet-settings.py performance issue #130

Open ByteEnable opened 3 years ago

ByteEnable commented 3 years ago
Cinnamon 4.8.6
no daily builds
Fedora 33
NVidia GTX1060
X86_64 with 12 CPUs @ 4.1Ghz / 32GB     ####DRAM
Samsung SSD NVMe @ 3500 MBps

Issue xlet-settings consumes high amount of CPU and heavily sputters and freezes while attempting to scroll through icons in the menu dialog -> icons. After some amount of time the CPU load decreases and the dialog becomes responsive which suggests some sort of caching or list is being created.

Steps to reproduce Install papirus-dark icon theme. Right click Menu -> Configure -> icon. The icon dialog pops up and select applications from the left pane. Attempt to scroll through the icons.

Expected behaviour For the dialog to scroll seamlessly and not consume high amounts of CPU.

Also see here: https://github.com/linuxmint/cinnamon/issues/9905

OdinVex commented 3 years ago

Some apps that use XApp Status Applet don't use the icons from themes such as Papirus[-Dark] in my case. Firewall-Applet, Calibre (Flatpak), etc...