Bug 472004 - Allow List - Filtering results for Krunner
Summary: Allow List - Filtering results for Krunner
Status: REPORTED
Alias: None
Product: frameworks-krunner
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.106.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-06 13:14 UTC by lukasmueller187
Modified: 2024-07-08 08:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Dolphin search dialog, limiting the search to Documents (43.97 KB, image/png)
2023-07-06 18:16 UTC, tagwerk19
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lukasmueller187 2023-07-06 13:14:14 UTC
Hi there,

I would wish for a allow list because I don't want my search cluttered with tons of file extensions I don't need. Maybe this is possible by misusing the exclude list, but from the source code no regular expressions are possible?

Best regards
Comment 1 tagwerk19 2023-07-06 18:16:05 UTC
Created attachment 160105 [details]
Dolphin search dialog, limiting the search to Documents

(In reply to lukasmueller187 from comment #0)
> ...  I don't want my search cluttered with tons of file extensions I don't need ...
You are talking about baloo here?

In that case the question is whether you want baloo to index just a subset of file extensions or whether you are happy for it to index everything and be able to limit your search results to "just those few".

You know you can search for specific types of files, for example just Documents? There's a drop down list available, see attachment
Comment 2 lukasmueller187 2023-07-07 07:07:26 UTC
Thanks for the reply.

Dolphin is not the concern here unfortunately, I'm talking especially about Krunner and the start menu (don't know what it is called, when you hit the Meta button).

Yep I don't want the index database to be cluttered. My workflow would be e.g. hitting meta -> immediately typing. Or the same with Krunner. When typing just a few words there is usually a lot of mess due to the tons of files in the index.

Does this make sense?

Regards
Comment 3 tagwerk19 2024-07-07 14:40:13 UTC
(In reply to lukasmueller187 from comment #2)
> ... Dolphin is not the concern here unfortunately, I'm talking especially about
> Krunner and the start menu (don't know what it is called, when you hit the
> Meta button) ...
Alas Krunner is a bit of a black box for me, I don't know if there are filters you can use in the same way as in Dolphin.

I've put a mention of Krunner in the subject and moved this to frameworks-krunner to see if anyone can answer...
Comment 4 lukasmueller187 2024-07-08 08:30:53 UTC
I thought the results shown in krunner are the indexed files by baloo and therefore limiting the indexed files results in the wished behavior in krunner.
Is this wrong?
Comment 5 tagwerk19 2024-07-08 08:54:17 UTC
(In reply to lukasmueller187 from comment #4)
> Is this wrong?
I'll happily say I don't know. My gut feeling is apps would make their own minds up about what to show.

I seem to remember for example. you don't filename matches shown if the filename has already appeared in the "recent files" list