diff options
author | Aron Budea <aron.budea@collabora.com> | 2022-10-11 15:59:54 +0200 |
---|---|---|
committer | Aron Budea <aron.budea@collabora.com> | 2022-10-17 02:10:44 +0200 |
commit | 48052389dbb6df8fad6af64c37c58cbd83056680 (patch) | |
tree | 06cd20fb934354b183839712f9c73523fdac86bb | |
parent | eae1a20eee24d7fbeb19ff1fe91a658206f3f25b (diff) |
tdf#150682 Change shortcut of inserting Math objects to Alt+Shift+E
Ctrl+Alt combinations don't work on Windows if they're also
doubling as AltGr modifiers, eg. in French keyboard layout,
Ctrl+Alt+'=' (which is the same as AltGr+'=' ) is '}'.
Avoid this by switching to different modifiers.
In addition '=' can require a modifier to enter, eg. in German
layout (Shift+0), so use an ASCII character, 'E' instead.
Ctrl+Shift+E is listed as a problematic combination in
Accelerators.xcu, settled on Alt+Shift+E in the end.
Also partially revert d156e891db34e88991a6c18fd3cff6feddfc61c8,
which did not work.
Change-Id: Ie3625f2c55171187fbbe2c4f79821eba8c25f40a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141227
Tested-by: Jenkins
Reviewed-by: Aron Budea <aron.budea@collabora.com>
(cherry picked from commit 77fb3ffdb6a8077cd3931985de923fbd1396d424)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141362
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 954bee89d4943656f10c3574b33578861bf539e7)
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/Accelerators.xcu | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu b/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu index 64f8b3b0edbc..aa8e6e4b4707 100644 --- a/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu +++ b/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu @@ -795,7 +795,7 @@ Ctrl+Shift+e aka E_SHIFT_MOD1 under GTK/IBUS is for some emoji thing <value xml:lang="en-US">.uno:FillDown</value> </prop> </node> - <node oor:name="EQUAL_MOD1_MOD2" oor:op="replace"> + <node oor:name="E_SHIFT_MOD2" oor:op="replace"> <prop oor:name="Command"> <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:InsertObjectStarMath</value> @@ -1724,7 +1724,7 @@ Ctrl+Shift+e aka E_SHIFT_MOD1 under GTK/IBUS is for some emoji thing <value xml:lang="es">.uno:SelectAll</value> </prop> </node> - <node oor:name="EQUAL_MOD1_MOD2" oor:op="replace"> + <node oor:name="E_SHIFT_MOD2" oor:op="replace"> <prop oor:name="Command"> <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:InsertMath</value> @@ -2944,12 +2944,6 @@ Ctrl+Shift+e aka E_SHIFT_MOD1 under GTK/IBUS is for some emoji thing <value xml:lang="en-US">.uno:PreviousAnnotation</value> </prop> </node> - <node oor:name="EQUAL_MOD1_MOD2" oor:op="replace"> - <prop oor:name="Command"> - <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="en-US">.uno:InsertMath</value> - </prop> - </node> <node oor:name="1_MOD1" oor:op="replace"> <prop oor:name="Command"> <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> @@ -3069,6 +3063,12 @@ Ctrl+Shift+e aka E_SHIFT_MOD1 under GTK/IBUS is for some emoji thing <value xml:lang="es">.uno:SelectAll</value> </prop> </node> + <node oor:name="E_SHIFT_MOD2" oor:op="replace"> + <prop oor:name="Command"> + <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:InsertMath</value> + </prop> + </node> <node oor:name="END_SHIFT_MOD1" oor:op="replace"> <prop oor:name="Command"> <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> @@ -6208,7 +6208,7 @@ Ctrl+Shift+e aka E_SHIFT_MOD1 under GTK/IBUS is for some emoji thing <value xml:lang="es">.uno:SelectAll</value> </prop> </node> - <node oor:name="EQUAL_MOD1_MOD2" oor:op="replace"> + <node oor:name="E_SHIFT_MOD2" oor:op="replace"> <prop oor:name="Command"> <value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:InsertObjectStarMath</value> |