Bug 484290 - Searching text within documents
Summary: Searching text within documents
Status: REPORTED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-23 00:41 UTC by agapp11@hotmail.com
Modified: 2024-03-24 11:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description agapp11@hotmail.com 2024-03-23 00:41:42 UTC
Is it possible to make krunner find specific text within pdf/writer/etc documents and then open the document to the specific location in the document of that text? or at least have krunner show a "quote" with that search term (from the document) so i could copy/paste and look for it in the document manually?

For example: if I search for the term "shrimp" with krunner, it would be nice if it finds it within my libreoffice writer document and open the document to page 4 halfway down the page, where that term is found. If there are multiple terms it would be nice if it presented multiple options from the same document (with a few words before and after for context) or from other documents.

This missing functionality will put KDE so much further ahead of both Windows and MacOS (not to mention how useful it would be to have!)
Comment 1 agapp11@hotmail.com 2024-03-23 00:53:29 UTC
(In reply to agapp11@hotmail.com from comment #0)
> Is it possible to make krunner find specific text within pdf/writer/etc
> documents and then open the document to the specific location in the
> document of that text? or at least have krunner show a "quote" with that
> search term (from the document) so i could copy/paste and look for it in the
> document manually?
> 
> For example: if I search for the term "shrimp" with krunner, it would be
> nice if it finds it within my libreoffice writer document and open the
> document to page 4 halfway down the page, where that term is found. If there
> are multiple terms it would be nice if it presented multiple options from
> the same document (with a few words before and after for context) or from
> other documents.
> 
> This missing functionality will put KDE so much further ahead of both
> Windows and MacOS (not to mention how useful it would be to have!)

In addition, I forgot to mention (and I don't know how to edit here), that it would be nice if when you search for "shrimp" using krunner it presents a brief description from the document:

"...does not eat shrimp as it he has allergies"

with the word shrimp highlighted/italicized and then clicking it will open the specific document to that page where the term is located (as mentioned previously).