SUMMARY Since very recently discover doesn't open at all STEPS TO REPRODUCE 1. run plasma-discover OBSERVED RESULT Lots of console output, high CPU usage, no window appears EXPECTED RESULT Discover opens SOFTWARE/OS VERSIONS KDE Plasma Version: master KDE Frameworks Version: master Qt Version: 5.15.7-kde Discover commit 1cb558bd65459d66ecc40e30665c13e425113533 ADDITIONAL INFORMATION
OS: Fedora 37
Created attachment 154173 [details] console output
Created attachment 154174 [details] Flamegraph
Bisected to https://invent.kde.org/plasma/discover/-/commit/b7c4a4348668ac32fb3aa7fd1c8607cfac59fcd3
Works for me FWIW. I don't have the rpm-ostree-backend backend installed or built, though. Does it work it you use `plasma-discover --backends` to launch it with every backend except that one?
Could reproduce and put together a fix.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/432
Git commit c3a1d430489a833b0dcb016f5344b37fec5c2583 by Aleix Pol Gonzalez, on behalf of Aleix Pol. Committed on 01/12/2022 at 15:27. Pushed by apol into branch 'master'. Fix loading backends Since now the loading of all backends happens as a block, the ResourcesModel constructor was a big beast. This would make tons of things happen before ResourcesModel::s_self was ever set. This changes it so the constructor only sets the minimum necessary things and the rest is done in a next call that will now happen just once again. M +6 -5 libdiscover/resources/ResourcesModel.cpp M +1 -1 libdiscover/resources/ResourcesModel.h https://invent.kde.org/plasma/discover/commit/c3a1d430489a833b0dcb016f5344b37fec5c2583