Copy labels: Disable irrelevant/redundant submenu items

Issue #436 new
Robert Leach created an issue

USE CASE: WHAT DO YOU WANT TO DO?

Do not supply an item which copies an empty string to the clipboard or has no relevance in the given context

STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)

  1. Open any matrix
  2. Right click on row or column labels and hover over "Copy labels"

CURRENT BEHAVIOR

The "selected" submenu item is selectable and copies an empty string when no labels are selected. When the matrix is fully zoomed out, the "Zoomed" item is selectable and does the same thing as "All". When in fitted label mode (i.e. not in whizzing label mode), "Zoomed" and "Visible" (when implemented in a separate issue) will copy the same thing.

EXPECTED BEHAVIOR

"Selected" should be grayed out when nothing is selected. "Zoomed" should be grayed out when the matrix is fully zoomed out. I'm undecided on "Visible" versus "Zoomed" in fitted label mode. They would copy the same thing, but a user may understand one option better than the other, so I suppose there is benefit from leaving them both enabled.

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

none

FILES AFFECTED (where the changes will be implemented) - developers only

LabelView

LEVEL OF EFFORT - developers only

minor

COMMENTS

Comments (7)

  1. Log in to comment