cannot disable some functions in a event listener

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 5.5.0
    • Affects Version/s: 5.4.0
    • Component/s: None
    • None
    • None

      Steps to Reproduce

      1. run the attached example
      2. uncheck "Add Sheet" to disable ADD_SHEET, COPY, CLEAR

      Current Result

      COPY and CLEAR buttons are still available
      ADD_SHEET is disabled.

      Expected Result

      1. toolbar button of COPY and CLEAR are disabled
      2. hotkey for COPY are disabled (ctrl+c)

      Debug Information

      1. if you call disableUserAction() in doAfterCompose(), it can disable functions, buttons on the toolbar are disabled.
      2. COPY and CLEAR are just 2 examples, other functions might not work as expected, either.

            Assignee:
            wenninghsu
            Reporter:
            hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: