octopi icon indicating copy to clipboard operation
octopi copied to clipboard

Improve 'Search' -> 'By file' functionality

Open notuxius opened this issue 8 years ago • 3 comments

Octopi - 0.8.8.5 (Qt 5.9.0) Netrunner Rolling Linux

notuxius avatar Aug 03 '17 17:08 notuxius

Do you have pkgfile installed?

demmm avatar Aug 03 '17 19:08 demmm

I have suggestion for this issue - do not display 'Search' -> 'By file' menu item (or disable it) if 'pkgfile' package is not installed. Same as when there is no AUR functionality if no AUR tool is installed.

@demmm - i installed 'pkgfile' and initialized database with 'pkgfile --update' - it didn't help

notuxius avatar Aug 04 '17 07:08 notuxius

Looks like Octopi uses 'pacman -Fs' for file search - 'pkgfile' isn't needed for 'Search' -> 'By file' functionality (file search is working in Chakra with 'pkgfile' not installed (but there is no 'pkgfile' in repos too) and file search also works in KaOS Linux with 'pkgfile' installed). I think 'pkgfile' is optional.

Is it possible to search files by partial (not exact) names? - same as in search by name and description right now.

Also i suggest to reveal first found file in 'Files' tab - same as on right click on installed package -> 'Find file' functionality.

notuxius avatar Aug 04 '17 08:08 notuxius