Copy/paste (context menu actions) don't work in secondary inventory windows: 'Menu tried to operate on empty selection' #536

Closed
opened 2026-10-08 05:19:04 +00:00 by sky_line · 2 comments
Owner

Symptom: in any inventory window other than the main one, Copy does nothing, so Paste has nothing to paste. Each attempt logs:

WARNING #Inventory# llinventoryfunctions.cpp(3384) doToSelected : Menu tried to operate on empty selection

LLInventoryAction::doToSelected then resets the clipboard. The main inventory window works normally.

Not caused by:

  • #349 (hidden-panel update skip): it still fails with SLInventoryUpdateHiddenPanels set to TRUE.
  • Server state: nothing is sent, so inventory is safe.

Likely cause: the secondary window's context-menu or Edit-menu action is dispatched to a different panel's folder root (for example the main window's panel, or the wrong tab of the secondary LLPanelMainInventory), and that root has an empty selection.

Done when: Copy/Paste, Cut and every other context-menu action work in secondary inventory windows (both the + new window and a folder opened in its own window), and the main window is unchanged.

**Symptom:** in any inventory window other than the main one, Copy does nothing, so Paste has nothing to paste. Each attempt logs: `WARNING #Inventory# llinventoryfunctions.cpp(3384) doToSelected : Menu tried to operate on empty selection` `LLInventoryAction::doToSelected` then resets the clipboard. The main inventory window works normally. **Not caused by:** - **#349** (hidden-panel update skip): it still fails with `SLInventoryUpdateHiddenPanels` set to TRUE. - **Server state:** nothing is sent, so inventory is safe. **Likely cause:** the secondary window's context-menu or Edit-menu action is dispatched to a different panel's folder root (for example the main window's panel, or the wrong tab of the secondary `LLPanelMainInventory`), and that root has an empty selection. **Done when:** Copy/Paste, Cut and every other context-menu action work in secondary inventory windows (both the + new window and a folder opened in its own window), and the main window is unchanged.
sky_line added this to the Slipstream project 2026-10-08 05:19:04 +00:00
Author
Owner

Reopening for work: still reproduces on current builds (Copy in a secondary inventory window does nothing). Back to To Do.

Reopening for work: still reproduces on current builds (Copy in a secondary inventory window does nothing). Back to To Do.
Author
Owner

Fixed and verified by the owner on 2026-10-10: copy/paste from the context menu works in a secondary inventory window (commit 65dec7d8fb, pushed to main). Menu actions now act on the folder view whose context menu is open, not the main inventory panel; no inventory server writes were changed.

Fixed and verified by the owner on 2026-10-10: copy/paste from the context menu works in a secondary inventory window (commit 65dec7d8fb, pushed to main). Menu actions now act on the folder view whose context menu is open, not the main inventory panel; no inventory server writes were changed.
sky_line 2026-10-10 10:28:26 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#536
No description provided.