A Presentation is also a Document so it would show up twice.
This patch filters out URLs we have already found and moves searching for specific
types (Presentation, Spreadsheet) before the more generic Document type.
Differential Revision: https://phabricator.kde.org/D16690
Summary:
baloo can also handle the following types
- Archive
- Spreadsheet
- Presentation
Let's use them
Test Plan: None, see D10623
Reviewers: #plasma_workspaces, davidedmundson
Reviewed By: #plasma_workspaces, davidedmundson
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D10624
Summary:
KRunner now supports querying data from running processes rather than
being plugins.
Due the number of crash reports of Baloo in both krunner and more
importantly plasmashell, we can move this out of process to make the UX
better in the event of an issue.
This also means we share the database instance between both krunner and plasmashell.
Test Plan:
Searched, typing really quickly
All works as before; including forcing a delay when you only type a few letters
Results are just as fast as before to the human eye (bustle show calls as 0ms)
Tested open with folder and open normally actions
Tested dragging from krunner to dolphin
Tested we had correct icons
Reviewers: #plasma, broulik
Reviewed By: #plasma, broulik
Subscribers: broulik, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D7404
Previously, they were created on-demand, which was the wrong approach, I think.
Kicker checks for actions() being available before it even bothers getting actions for a match.
CHANGELOG: KRunner actions like "Open containing folder" and "Run in Terminal" will now show up in the application launchers as well
Differential Revision: https://phabricator.kde.org/D3688
Summary: We won't have any results anyway.
Test Plan:
Disabled indexing and put a qDebug in the if branch
I'm not super convinced it's a good idea myself. It means parsing a config file every match
and it can't be cached without missing updates if the user enables/disables at runtime.
Reviewers: #plasma
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D2995
Since the "Open file manager window job" is not yet finished, this only opens the folder
without highlighting the actual file which will hopefully be added in Plasma 5.7
BUG: 340302
FIXED-IN: 5.6.0
Differential Revision: https://phabricator.kde.org/D904
KRunner (Milou SourcesModel) has a categorized view which takes the
internal relevance into account. So when Baloo results are sent, KRunner
often appears as though it is dancing cause the results jump around.
It's better to give all the results in one go instead of one after
another.
The KRunner framework expects all runners to set a relevance for each
match, except that this relevance information is taken to globally sort
the results. So I can write a plugin which whose results will always be
on top. Yaye! </sarcasm>
Explicitly lower Baloo's relevance so that in general applications are
higher.
Also, Baloo no longer provides Email results.
The Email parts are now completely separate. We can make the
Akonadi-Search module install a runner for searching through
Emails.
The Plasma::QueryMatch operator < sorts first based on relevance and
then based on the text. So even though we try and order stuff correctly,
mostly clients just sort it based on relevance (not stable sort) which
results in the results being mixed up. Baloo takes a lot of pain to
internally determine which results should be on top.