Page MenuHomePhabricator

Context menu item search behaves differently for single selection vs multiple selection
Open, NormalPublic

Description

The context menu items search for single node selection searches all the descriptors fitting the node, while for multiple selection it only uses the last one (through GetDescriptor call). This means that if a context menu item is attached to the less specific descriptor, the item won't show up in context menu if multiple nodes of that type are selected.

Attached is a patch that fixes this.

Event Timeline

kislinsk triaged this task as Normal priority.Aug 10 2016, 5:37 AM

This is also important for T25056:

  • if multiple nodes are selected and one of it provides a specific action, this action also holds for the other selected nodes, although they might not fit the action (e.g. color in labelsetimage)
  • some actions need to be initialized (set color or opacity - according to selected nodes): only the property of one of the selected nodes will be used to initialize the corresponding context menu entry
kislinsk added a project: Auto-closed.
kislinsk added a subscriber: kislinsk.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs

kalali edited projects, added MITK (v2022.10); removed Auto-closed, MITK.
kalali moved this task from Backlog to mxn MultiWidget on the MITK (v2022.10) board.