Ticket #1952 (new defect)

Opened 7 years ago

Last modified 7 years ago

Remove "Preview" checkbox parameters

Reported by: curtis Owned by: bdezonia
Priority: major Milestone: imagej2-b10-compatibility
Component: Analysis Plugins Version: 2.0.0-beta-7
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1968


The preview checkbox parameters cause problems for external consumers (e.g., KNIP, as  discussed on imagej-devel). In many cases they cannot really implement previews, and there is no explicit way to detect that a given boolean parameter is only there for the purposes of a preview. We discussed labeling them with a different visibility, but the checkboxes are still hacky, and ultimately unnecessary.

Better would be to remove them all, and always do a preview when parameters change. If the preview is too slow, that is a bug which should be addressed on a command-by-command basis. There are many ways of simplifying (or even skipping) a preview computation in cases where there is e.g. too much data to crunch.

Change History

comment:1 Changed 7 years ago by bdezonia

  • Blocking 1968 added
Note: See TracTickets for help on using tickets.