Author Topic: Command Display is changed in Context Menu when delete User Defined Command  (Read 19549 times)

AriesTruong

  • Active Member
  • ***
  • Posts: 58
    • View Profile
This issue happen on from v9.0 final

Step:
1. Create 20 user defined commands
2. Add 5 commands into Context Menu with Display name or not
3. restart MC
4. Open  User Defined Commands and duplicate more 5 command from command no 2, 4, 6, 8, 16
5. Name new name for duplicated command.
6. Delete some commands are assign into Context Menu.
7. Open Context Menu and select item then "Command Display Name" and "Custom Display Name" is difference. If user does not set Custom Display then name from TreeView also difference Command Display
Life changes when we change

AriesTruong

  • Active Member
  • ***
  • Posts: 58
    • View Profile
Currently Context Menu use Core ID to map (check from ContextMenu.xml) so when user deletes User Defined Command then new Core ID is mapped to deleted Core.ID
EX: Core.3001 is mapped into Context Menu if user deletes Core.3001 then Core.3002 is changed to Core.3001 so I think in Context Menu should use command ID to map like "MultiButtons.xml" use Command ID for User Defined Commands.
Life changes when we change

AriesTruong

  • Active Member
  • ***
  • Posts: 58
    • View Profile
With latest beta build (9.1 b2548) then CoreID is not changed after previous CoreID is deleted. Now Context Menu display correct when user delete "User Defined Command".

I only concern about if user deletes and adds many time in the future then value of CoreID will be increased. Does this behavior cause any issue in future?
Life changes when we change