Edit Keyboard Shortcut 'E' does not work or works irregularly in some newer versions of Firefox

XMLWordPrintable

    • 9
    • Severity 3 - Minor
    • 3

      Issue Summary

      Edit Shortcut 'E' does not work or works irregularly in some newer versions of Firefox. Confirmed in Firefox 70.0.

      Steps to Reproduce

      1. Use Firefox version 70.0 and Confluence 7.0.1 and higher.
      2. View a page with a link to another page. Click on the link to open the other page on new tab.
      3. Try to use the edit keyboard shortcut 'E' to edit a page on new tabs (Any shortcuts won't work on new tab).

      Expected Results

      The shortcut opens the editor as expected.

      Actual Results

      Some users are reporting that it works inconsistently. Others report that it doesn't work at all. In my own tests, with Firefox 65.0 it works without issue, in Firefox 70.0 it doesn't work at all.

      Workaround

      Refreshing the page seems to resolve the issue, but not consistently.
      This workaround below from simon.tost works on Confluence 7.3.1 and Firefox 72.

      • Add the following into the Custom HTML at the At end of the HEAD
        • <script>
            if(AJS.$.browser.mozilla) {
              AJS.toInit(function() {
                setTimeout(function() {
                  if (AJS.PageGadget || (window.parent.AJS && window.parent.AJS.PageGadget)) { return  }
                  if (typeof AJS.contextPath() !== 'undefined') {
                    AJS.trigger('initialize.keyboardshortcuts');
                  }
                }, 2000);
              });
            }
          </script>

            Assignee:
            Quan Pham
            Reporter:
            Miranda Rawson (Inactive)
            Votes:
            15 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: