Bug 446387 - Dolphin offers Content search when it perhaps shouldn't
Summary: Dolphin offers Content search when it perhaps shouldn't
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: search (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-02 19:38 UTC by tagwerk19
Modified: 2021-12-02 19:38 UTC (History)
1 user (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 tagwerk19 2021-12-02 19:38:38 UTC
SUMMARY:

    Dolphin gives options for Filename and Content searches. Baloo (and System
    Settings) allow content indexing to be disabled and the index purged, in which
    case Dolphin's Content Search fails.

STEPS TO REPRODUCE:

    Disable Baloo's Content Indexing, remove the index and reindex just the
    filenames/metadata

    Create a test file:

        echo "Hello Penguin" > test.txt 

    Launch Dolphin and do Ctrl-F to get the search dialog, see that it
    offers filename and content searches, select "Content" and search for "Penguin"

OBSERVED RESULTS:

    No Penguins 

EXPECTED RESULTS:

    Either:

        Dolphin does not offer a Content search option

    Or:

        Dolphin does a content aware "filenamesearch:" 

SOFTWARE/OS VERSIONS:

    Neon Testing

    Dolphin : 22.03.70
    Plasma : 5.23.80
    Frameworks : 5.89.0
    Qt : 5.15.3 

ADDITIONAL INFORMATION:

    If baloo indexing is completely disabled (or not indexing that particular
    folder), then Dolphin falls back to filenamesearch.
    It is a bit counterintuitive but filenamesearch can also search for content 8-] 

    See associated:
        https://bugs.kde.org/show_bug.cgi?id=446301#c2