napari-imagej icon indicating copy to clipboard operation
napari-imagej copied to clipboard

Provide special thought to headful-only search results

Open gselzer opened this issue 2 years ago • 2 comments

If a particular SearchResult wraps a ModuleInfo, we can know whether the Module it creates can be run headlessly. We might want to protect against running headful-only Modules in a headless environment, by e.g. disabling these results.

gselzer avatar Aug 15 '22 14:08 gselzer

See [this comment] for a potential solution that was outside the scope of that PR.

gselzer avatar Aug 15 '22 14:08 gselzer

Also check out the available flags. We might want to be using ItemIsEnabled...

gselzer avatar Aug 15 '22 16:08 gselzer