https://bugs.kde.org/show_bug.cgi?id=478472
--- Comment #3 from Jan Rathmann <jan.rathm...@gmx.de> --- Created attachment 172120 --> https://bugs.kde.org/attachment.cgi?id=172120&action=edit Patch to fix the empty categories by enabling runnerModel.mergedResults Preliminarily results of investigating the cause of this bug: * To get "merged search results" like in kicker menu, add runnerModel.mergeResults = true; at bottom of onVisibleChanged() of Kicker.DashboardWindow.root in DashboardRepresentation.qml (see attached diff file). While this will not restore the exact same layout for search results as in Plasma 5, it _does_ effectively solve the problem of displaying empty categories that clutter the actual search results. (Shall I start a merge request?) * Couldn't find a way to restore the exact same behaviour as in Plasma 5 (grouping search results by categories, but don't show empty categories) after spending several hours on different days. If I got it right, the path forward should be to filter out all RunnerMatchesModels that contain no search results, but I couldn't figure out on which place I could inject code that would do this (possible candidates: DashboardRepresentation.qml? runnermodel.cpp? runnermatchesmodel.cpp?). It seems I would need to have better knowledge/undestanding of QML/Qt/C++ to tackle this. Why this worked fine in Plasma 5 I'm not sure. My two hypothesises are that either: * there was code that somehow was responsible for not showing empty categories, but it was (accidentally?) changed/deleted during conversion to Plasma 6; or * there was no actual code filtering out empty categories; this was just working implicitly "right" for Qt5, while something changed in Qt6 that makes it not working anymore (and adds the necessity to explicitly handle the filtering somewhere). -- You are receiving this mail because: You are watching all bug changes.