Bug 1597674 - In standalone mail window F6 and TAB generates error message in console. r=frg a=frg CLOSED TREE
authorIan Neal <iann_cvs@blueyonder.co.uk>
Sun, 24 Nov 2019 14:23:25 +0100
changeset 32379 24c7d081d9776547189442453a3cd831ba7815aa
parent 32378 c12e2470fc25712059d8271e4f0b8175e4e67c9e
child 32380 dc3f8cba758d04fb1274a333ddc680b00ddf322f
push id231
push userfrgrahl@gmx.net
push dateSun, 24 Nov 2019 13:24:21 +0000
treeherdercomm-esr60@fddcb5bd203c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfrg, frg
bugs1597674
Bug 1597674 - In standalone mail window F6 and TAB generates error message in console. r=frg a=frg CLOSED TREE
suite/mailnews/content/mailWindowOverlay.xul
suite/mailnews/content/messenger.xul
--- a/suite/mailnews/content/mailWindowOverlay.xul
+++ b/suite/mailnews/content/mailWindowOverlay.xul
@@ -365,24 +365,16 @@
        modifiers="accel, shift"/>
   <keyset id="findKeys"/>
   <key id="key_findTypeText"/>
   <key id="key_findTypeLinks"/>
   <key id="key_stop" keycode="VK_ESCAPE" command="cmd_stop"/>
   <keyset id="viewZoomKeys"/>
   <key id="key_reload"/>
 
-  <!-- Tab/F6 Keys -->
-  <key keycode="VK_TAB" oncommand="SwitchPaneFocus(event);" modifiers="control,shift"/>
-  <key keycode="VK_TAB" oncommand="SwitchPaneFocus(event);" modifiers="control"/>
-  <key keycode="VK_F6" oncommand="SwitchPaneFocus(event);" modifiers="control,shift"/>
-  <key keycode="VK_F6" oncommand="SwitchPaneFocus(event);" modifiers="control"/>
-  <key keycode="VK_F6" oncommand="SwitchPaneFocus(event);" modifiers="shift"/>
-  <key keycode="VK_F6" oncommand="SwitchPaneFocus(event);"/>
-
   <!-- View Toggle Keys -->
   <key id="key_toggleFolderPane"
        oncommand="MsgToggleFolderPane(true);"
        observes="mailDisableKeys"/>
   <key id="key_toggleThreadPane"
        keycode="VK_F8"
        modifiers="shift"
        oncommand="MsgToggleThreadPane();"
--- a/suite/mailnews/content/messenger.xul
+++ b/suite/mailnews/content/messenger.xul
@@ -86,16 +86,24 @@
   <broadcaster id="mailDisableViewsSearch" disabled="true"/>
   <!-- File Menu -->
   <broadcaster id="Communicator:WorkMode"/>
 </broadcasterset>
 
 <broadcasterset id="mainBroadcasterSet"/>
 
 <keyset id="mailKeys">
+  <!-- Tab/F6 Keys -->
+  <key keycode="VK_TAB" oncommand="SwitchPaneFocus(event);" modifiers="control,shift"/>
+  <key keycode="VK_TAB" oncommand="SwitchPaneFocus(event);" modifiers="control"/>
+  <key keycode="VK_F6" oncommand="SwitchPaneFocus(event);" modifiers="control,shift"/>
+  <key keycode="VK_F6" oncommand="SwitchPaneFocus(event);" modifiers="control"/>
+  <key keycode="VK_F6" oncommand="SwitchPaneFocus(event);" modifiers="shift"/>
+  <key keycode="VK_F6" oncommand="SwitchPaneFocus(event);"/>
+
   <keyset id="tasksKeys"/>
 </keyset>
 
   <popupset id="mainPopupSet">
     <menupopup id="mailContext"/>
     <menupopup id="folderPaneContext"/>
     <menupopup id="attachmentListContext"/>
     <tooltip id="attachmentListTooltip"/>