@tj.corona@Bob_Obara We’ve had some discussion of how user selections should affect the operation and attribute panels (and vice-versa: how those panels should inform the selection).
As a first pass, SMTK MR 1355 provides these controls:
However, since we also discussed some other approaches to dealing with the selection, I’m posting this topic. Please build the branch and give it a try with the assign colors operation (which is all I have been testing it with).
This is now merged into master, but we should still discuss how effective it is, what other controls should be provided, and what corner cases might need to be handled differently.
As far as corner cases go:
TJ identified some astonishing behavior: selecting a volume with a tessellation in the resource panel, clicking “copy from selection” on assign colors’s associations item, and then immediately clicking “copy to selection” on the same item results in the volume being deselected. This happens because the second copy operation is a filtered selection and the default filter excludes volumes. Should it be an unfiltered selection? Should the user be notified?
There is also improper/astonishing behavior in cases when the selection and the item’s acceptable entries have a mismatch and “copy from selection” is clicked.
We are discarding user changes that leave the item in an invalid state when the user shuts down the popup editor for qtReferenceItem. This is counter the human interface guideline that the user’s input should never be ignored (not accepting the input is different than completely ignoring it).
We also discussed having an “active selection link” button that would tie an item to the selection so that changes to the selection automatically update the item (to whatever extent is possible). That is not implemented and there is a question of how necessary it is.