Bug 442898

Summary: [Feature request] Show all indexed file search results
Product: [Plasma] krunner Reporter: bonirar716
Component: filesearchAssignee: baloo-bugs-null
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: alexander.lohnau, natalie_clarius, nate, plasma-bugs, tagwerk19
Priority: NOR Keywords: usability
Version: 5.22.90   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
URL: https://www.reddit.com/r/kde/comments/pucrgp/question_unfiltered_searching_in_krunner/
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description bonirar716 2021-09-24 14:02:45 UTC
SUMMARY

Use case:

I have a folder full of MATLAB files (.m), Mathematica files (.nb) and IPython notebooks (.ipynb) from my work. The problem is, KRunner only shows certain types of files (Documents, Images, etc) so I can't see these files from KRunner.

Using command line "baloosearch xxx" (which is the indexing backend KRunner is using) and Dolphin search found these files instantly, but KRunner just cannot show them.

I wish there is a way to show all file search results in KRunner, not limited by the preset categories (similar to what GNOME currently does).

Thank you!

STEPS TO REPRODUCE
1. Make a IPython notebook file in your indexed directory.
2. Type its name in KRunner

OBSERVED RESULT
File not show up in the results

EXPECTED RESULT
File showed up in the result

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Maybe it is possible to add one more category ("others", for example) and send the unmatched items to that category? Sorry if this suggestion sounds stupid from a non-programmer.
Comment 1 Natalie Clarius 2022-08-09 15:29:06 UTC
I think this is the same bug as https://bugs.kde.org/show_bug.cgi?id=457522.
Comment 2 Alexander Lohnau 2022-08-09 17:22:19 UTC

*** This bug has been marked as a duplicate of bug 457522 ***
Comment 3 Natalie Clarius 2022-09-23 03:20:55 UTC
I got it wrong; this is not a case of files without a category (https://bugs.kde.org/show_bug.cgi?id=457522) but files with category "text", which is fixed with https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1658.
Comment 4 tagwerk19 2022-09-23 08:22:22 UTC
Maybe more information, possibly too much information, here:
    https://bugs.kde.org/show_bug.cgi?id=457522#c17
Comment 5 Nate Graham 2022-10-09 19:45:23 UTC

*** This bug has been marked as a duplicate of bug 420339 ***
Comment 6 tagwerk19 2022-10-10 07:59:28 UTC
If anything, this is the more general bug and Bug 420339 is a particular instance...

I know 420339 was logged first but I think switch the "duplicate" flags to make it a duplicate of 442898. No idea whether this is "proper" but...
Comment 7 Natalie Clarius 2022-10-11 23:47:54 UTC
So it looks like I got my getting it wrong wrong :) The problem reported here consists of both bugs:

- KRunner doesn't find files of category text, e.g. Matlab files; this bug is fixed;

- KRunner doesn't find files with no category, e.g. Mathematica and IPython notebook files; this is the same ashttps://bugs.kde.org/show_bug.cgi?id=420339.

Since part 1 is already solved and part 2 is already documented elsewhere, I think that for the purpose of tracking the current status, it makes sense to keep the discussions at the specific subproblems and close this one.