https://bugs.kde.org/show_bug.cgi?id=470824

            Bug ID: 470824
           Summary: balooshow should indicate the type of a file
    Classification: Frameworks and Libraries
           Product: frameworks-baloo
           Version: 5.106.0
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: baloo-bugs-n...@kde.org
          Reporter: skierp...@gmail.com
  Target Milestone: ---

SUMMARY
You can search for files by type (`baloosearch --type audio Beatles`), but it's
not obvious what the types are.
If `balooshow` showed this type it would be easier to figure out what's going
on.

STEPS TO REPRODUCE
1. Enable baloo indexing
2. In a terminal, `echo pointieststick > $HOME/baloo_test.txt`
3. `balooshow $HOME/baloo_test.txt`

OBSERVED RESULT
There's no indication what type of file it is.

EXPECTED RESULT
 Showing the type would be useful, because it would guide you as to what to
search for with `baloosearch --type WHATGOESHERE pointeststick`

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9 on Wayland

ADDITIONAL INFORMATION
The output of `baloosearch -x  $HOME/baloo_test.txt` includes
     Internal Info
    Terms: Mplain Mtext T5 T8 X20-1 pointieststick

and the 'M' terms hint that the file type for baloosearch's --type option is
"text." But `--type plain` doesn't work, and this technique is useless for a
Open Document Format file, e.g. a .odt file has
    Internal Info
    Terms: Mapplication Moasis Mopendocument Mtext Mvnd  ...
you can't use baloosearch --type to find .odt documents by any of these type
terms, you must use --type document. Using `kmimetypefinder to determine the
mime type of a file likewise may not match the type that baloo assigns.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to