Bug 445402 - Kickoff (and Krunner): not all results of a file content search are shown.
Summary: Kickoff (and Krunner): not all results of a file content search are shown.
Status: CONFIRMED
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.23.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-11-12 22:13 UTC by Tony
Modified: 2022-10-05 08:41 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony 2021-11-12 22:13:56 UTC
SUMMARY
If i look for a file content through baloo using kickoff, a number of results is shown. If i do the same search through command line using baloosearch, or in dolphin using Ctrl+F, i have much more results. The same happens with Krunner.

STEPS TO REPRODUCE
1. Start Kickoff or Krunner and search for a file content, e.g. a name in a pdf file, that you know it should return a lot of results.
2. Do the same search using cli with baloosearch or dolphin with Ctrl+f
3. Compare the number of results.

OBSERVED RESULT

Results are different in number, a lot less in Kickoff or Krunner.

EXPECTED RESULT

Results should be the same, either using kickoff, either using cli.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-40-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-3320M CPU @ 2.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4000
Comment 1 sourcemaker 2021-11-14 16:34:46 UTC
Same here on ArchLinux.
Comment 2 Nate Graham 2021-11-23 19:12:05 UTC
Yes, these search interfaces truncate the results after a few to prevent a truly ridiculous, unparseably long list from being shown and being too scary. If you've found that you searched for something that what you expected didn't come up because it would be too low on the list, just keep typing to refine the search.
Comment 3 Tony 2021-11-23 20:02:15 UTC
(In reply to Nate Graham from comment #2)
> Yes, these search interfaces truncate the results after a few to prevent a
> truly ridiculous, unparseably long list from being shown and being too
> scary. If you've found that you searched for something that what you
> expected didn't come up because it would be too low on the list, just keep
> typing to refine the search.

>unparseably long list from being shown and being too  scary.

Nate, i'm doing a semantic search, i'm ready to face a lot of results and a 
scrollbar is perfectly fine to read them all.

> just keep typing to refine the search.

I've tried and it doesn't work: i'm searching for the book (whose title i don't remember) 
that contains the argument "steering vector" (radar related) and it doesn't appear. 
What else should i have to add to find it? 
If i remembered all the details, what would be the search function for? 
I'm searching just because i don' t remember the details (where the 
book is located and what's its name). 

Another consequence of this choice is that user doesn't know if Baloo is working 
properly. At a first glance i thought a malfunction in Baloo and rebuilt the database;
in the end i discovered the change. 
This way we have two entry point for search that work differently: one is half working
(kickoff) and makes me lose time, the other (dolphin) is working as expected. At this 
point, it would be better to remove search from Krunner, if i'm forced to open dolphin.
Please, rethink about this.
Regards.
Comment 4 Nate Graham 2021-11-23 20:13:30 UTC
Perhaps a "see more results" feature could work for the case where you really do want to see the full list.
Comment 5 tagwerk19 2022-10-05 08:41:46 UTC
(In reply to Tony from comment #0)
> Results are different in number, a lot less in Kickoff or Krunner.
Flagging as confirmed, although may end up as Resolved/Intentional...

I think there's a case to allow people to focus. I've caught myself clicking on the 'Text', 'Document' or 'Recent Files' category names - expecting that this would select and expand these sets of results.

(In reply to Tony from comment #3)
> (In reply to Nate Graham from comment #2)
> > ... just keep typing to refine the search.
> 
> I've tried and it doesn't work: i'm searching for the book (whose title i
> don't remember) that contains the argument "steering vector" (radar related)
> and it doesn't appear. 
> What else should i have to add to find it? 
Searching for
    Steering Vector
is doing a search for
    Steering AND Vector
You might try looking for
    Steering_Vector
and search for the phrase (although how you are supposed to know this trick is beyond me!).

If you think the source is a PDF you can try
    Steering_Vector PDF