← All bug reports

FS#2679Context Menu: Recent actions that require a selection

Type
Suggestion
Status
Assigned
Category
QCAD (main)
Severity
Very Low
Priority
Low
Reported version
n/a
Operating system
All
Reported
2025-06-26 by CVH
Votes
1

Andrew,

For QCAD PRO, CAM or Trial the Context Menu lists a number of N recent commands.
Actions that require a selection are not grayed out without a current selection.
N is configurable by preference.

Triggering these actions from within the Context Menu has no effect.

Or display them grayed out.
Or don't collect them in the Context Menu

Configured in ContextMenu.getContextMenu(entityId, pos)
Part of: ...scripts/Pro/Widgets/ContextMenu/ContextMenu.js

Skipping may display less than X recent commands.
Proposing not to limit the list on:

Math.min(ContextMenu.commands.length, num)
Skipping null actions

But on:

ContextMenu.commands.length
Skipping null actions
Breaking when N recent actions are added

Regards,
CVH