[GH-ISSUE #183] [BUG] "Duplicate Top Stack Value" custom command option does not work #179

Open
opened 2026-02-25 21:32:48 +03:00 by kerem · 0 comments
Owner

Originally created by @clechasseur on GitHub (Jul 11, 2024).
Original GitHub issue: https://github.com/clechasseur/pathcopycopy/issues/183

Originally assigned to: @clechasseur on GitHub.

Describe the bug
Including a "Duplicate Top Stack Value" element in a custom command (through Expert Mode) makes the command invalid (and unusable).

To Reproduce

  1. Create a new custom command
  2. Switch to Expert Mode
  3. Add a "Duplicate Top Stack Value" element
  4. In the Preview pane at the bottom right, see << Invalid custom command >>
  5. Give the command a name, then click OK to save it
  6. Try opening the contextual menu on a file
  7. Go to the Path Copy Copy submenu
  8. See that the new custom command is grayed out

Expected behavior
The command should work (since "Duplicate Top Stack Value" does nothing if the stack is empty).

Originally created by @clechasseur on GitHub (Jul 11, 2024). Original GitHub issue: https://github.com/clechasseur/pathcopycopy/issues/183 Originally assigned to: @clechasseur on GitHub. **Describe the bug** Including a "Duplicate Top Stack Value" element in a custom command (through Expert Mode) makes the command invalid (and unusable). **To Reproduce** 1. Create a new custom command 2. Switch to Expert Mode 3. Add a "Duplicate Top Stack Value" element 4. In the Preview pane at the bottom right, see `<< Invalid custom command >>` 5. Give the command a name, then click OK to save it 6. Try opening the contextual menu on a file 7. Go to the Path Copy Copy submenu 8. See that the new custom command is grayed out **Expected behavior** The command should work (since "Duplicate Top Stack Value" does nothing if the stack is empty).
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
starred/pathcopycopy#179
No description provided.