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

Alexander Lohnau <alexander.loh...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Version Fixed In|                            |6.0
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/commit/
                   |                            |7a6bf2d15b791da8d765b40a41d
                   |                            |3cfa83c821cd6

--- Comment #16 from Alexander Lohnau <alexander.loh...@gmx.de> ---
Git commit 7a6bf2d15b791da8d765b40a41d3cfa83c821cd6 by Alexander Lohnau.
Committed on 23/04/2023 at 17:24.
Pushed by alex into branch 'master'.

applets/kicker: Replace RunnerMatchesModel sorting with KRunner::ResultsModel

We still need to provide additional features, like the context menu actions.
But the sorting will be the same.

Also, each KRunner::ResultsModel takes care of managing the RunnerManager
internally.
Meaning we can not have one shared RunnerManager and then redistribute the
results
to different models in case we have mergeResults=false.
Instead, we have multiple ResultsModels in case mergeResults is false, but
each RunnerManager loads exactly one runner.

This also means that we should not delete the models after the query changed,
because the plugin instantiation and initialization would cause overhead.
FIXED-IN: 6.0

M  +28   -68   applets/kicker/plugin/runnermatchesmodel.cpp
M  +8    -14   applets/kicker/plugin/runnermatchesmodel.h
M  +36   -183  applets/kicker/plugin/runnermodel.cpp
M  +2    -3    applets/kicker/plugin/runnermodel.h

https://invent.kde.org/plasma/plasma-workspace/commit/7a6bf2d15b791da8d765b40a41d3cfa83c821cd6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to