Qt: Resolve duplicate keyboard shortcuts

Two Edit->Copy methods are using the same keyboard shortcut as other
functionality:

1. Ctrl+Shift+D is used for "Copy this item's description" and
   "Ignore All Displayed packets"

2. Ctrl+Shift+F is used for "Copy this item's field name" and
   "Reload as File Format/Capture"

Resolve this by changing the Copy methods to use Ctrl+Alt+Shift as modifier.
Add a keyboard shortcut for "Copy all visible items" while here.

Change-Id: I0d963501055e63963d93e211f592aa9e82801d3c
Reviewed-on: https://code.wireshark.org/review/24884
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Stig Bjørlykke 2017-12-18 21:02:52 +01:00 committed by Anders Broman
parent 9f7b8713fa
commit 7cb6255f17
2 changed files with 9 additions and 3 deletions

View File

@ -21,6 +21,9 @@ used for troubleshooting, analysis, development and education.
* Application startup time has been reduced.
* Some keyboard shortcut mix-up has been resolved by assigning new shortcuts
to Edit -> Copy methods.
* The installation step for Wireshark will now install headers required to
build plugins. A pkg-config file is provided to help with this
(see doc/plugins.example for details). Note you must still rebuild all

View File

@ -1310,13 +1310,16 @@
<string>Copy this item's description</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+Shift+D</string>
<string notr="true">Ctrl+Alt+Shift+D</string>
</property>
</action>
<action name="actionCopyAllVisibleItems">
<property name="text">
<string>All Visible Items</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+Alt+Shift+A</string>
</property>
</action>
<action name="actionCopyAllVisibleSelectedTreeItems">
<property name="text">
@ -1331,7 +1334,7 @@
<string>Copy this item's field name</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+Shift+F</string>
<string notr="true">Ctrl+Alt+Shift+F</string>
</property>
</action>
<action name="actionEditCopyValue">
@ -1342,7 +1345,7 @@
<string>Copy this item's value</string>
</property>
<property name="shortcut">
<string notr="true">Ctrl+Shift+V</string>
<string notr="true">Ctrl+Alt+Shift+V</string>
</property>
</action>
<action name="actionEditCopyAsFilter">