Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to disable auto-scanning #156

Open
poisonborz opened this issue Jan 28, 2017 · 8 comments
Open

Option to disable auto-scanning #156

poisonborz opened this issue Jan 28, 2017 · 8 comments

Comments

@poisonborz
Copy link

With Keypirinha now storing the catalog in a persistent way, is there a way to disable auto-scanning? For users who just keep a set of manually updated items, this would be a performance boon (however marginal), and a way to keep the catalog items available even if targets are currently unavailable (eg. on an external/network drive, unloaded file container etc.). Users could trigger a scan manually (right click/refresh catalog).

@polyvertex
Copy link
Member

Yes, this is planned already; as well as per-package manual cataloging.

@poisonborz
Copy link
Author

poisonborz commented Oct 22, 2018

@polyvertex Any update on this?

@polyvertex
Copy link
Member

Somehow... Not what you initially requested but per-package manual cataloging has been implemented for the next release.

@poisonborz
Copy link
Author

poisonborz commented Oct 22, 2018

That's great! The point was to have manual/controlled cataloging ^^ Keep up the good work!

@polyvertex
Copy link
Member

Per-package manual cataloging is now available in v2.22.
Sorry for the long wait!

@poisonborz
Copy link
Author

poisonborz commented Nov 2, 2018

@polyvertex I hoped that the inclusion of manual scanning meant that this could optionally replace auto scanning... The manual options made things better (no restart of KP needed) but it's still cumbersome with OP case:

  • User has files on removeable drive / remote network location etc. that are not always available.
  • Scans files with KP.
  • On next restart, said files are not currently available, but they are later on.
  • KP still does not show them. User has to always rescan manually (3 clicks) whenever there is a change in available files...

Presuming that always-on scanning is not somehow vitally bound to KP core all it would take is to have a global or per-package disable_autoscan=true that would only update the catalog with these manual refreshes.

If there is an invalid item being searched for/launched, it could either be marked unavailable, display an error (Wox displays a tacky notification) or just hidden...

@polyvertex
Copy link
Member

Well, I didn't intend to close the issue in the first place, since, as mentioned in an earlier comment, only part of the request was implemented :)

The setting will probably be named catalog_on_start or something like that, defaulting to yes.

[...] User has to always rescan manually (3 clicks) [...]

As a side note, be aware there are the Keypirinha: Refresh Catalog... items made available by the Internal package to avoid having to use the mouse.

@polyvertex polyvertex reopened this Nov 2, 2018
@poisonborz
Copy link
Author

awesome \o/ thanks, this will be really useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants