sw/source/uibase/docvw/edtwin.cxx | 15 +++++++++++++++
1 file changed, 15 insertions(+)
New commits:
commit 5aa7b65c882019b74cfab95e5e9c77150b2876b0
Author: Vincent Reher <l...@4reher.org>
AuthorDate: Wed Apr 6 16:45:21 2022 -0700
Commit: Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Apr 7 14:57:31 2022 +0200
Resolve tdf#49091 "UI: Alt-Left, Alt-Right keyboard shortcuts ineffective"
Change-Id: I245943fb9185e03cf52f144d9e06ab22cda13592
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132651
Tested-by: Jenkins
Tested-by: Caolán McNamara <caol...@redhat.com>
Reviewed-by: Caolán McNamara <caol...@redhat.com>
diff --git a/sw/source/uibase/docvw/edtwin.cxx
b/sw/source/uibase/docvw/edtwin.cxx
index 594c69e3ec87..eeb8554ccfcc 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -1744,6 +1744,21 @@ void SwEditWin::KeyInput(const KeyEvent &rKEvt)
goto KEYINPUT_CHECKTABLE;
KEYINPUT_CHECKTABLE:
+ // Resolve bugs 49091, 53190, 93402 and
+ // https://bz.apache.org/ooo/show_bug.cgi?id=113502
+ // but provide an option for restoring interactive
+ // table sizing functionality when needed.
+ if (
+ ! (Window::GetIndicatorState() &
KeyIndicatorState::CAPSLOCK)
+ && m_rView.KeyInput( aKeyEvent ) // Keystroke is
customized
+ )
+ {
+ bFlushBuffer = true;
+ bNormalChar = false;
+ eKeyState = SwKeyState::End;
+ break ;
+ }
+
if( rSh.IsTableMode() || !rSh.GetTableFormat() )
{
if(!pFlyFormat && SwKeyState::KeyToView != eFlyState &&