From 88e5cf6e434aef430e5757b49e1a17dde645c7dd Mon Sep 17 00:00:00 2001 From: burmancomp <93915659+burmancomp@users.noreply.github.com> Date: Tue, 10 Oct 2023 09:11:40 +0300 Subject: [PATCH] Update braille and speak active cell and its content in MS Excel when UIA is not used and control+y, control+z or alt+backspace is pressed (#15595) fixes #15547 Summary of the issue: When UIA is not used and control+y (redo), control+z / alt+backspace (undo) is pressed, braille is not updated and active cell and its content is not spoken. Description of user facing changes Braille is updated and active cell with its content is spoken. Description of development approach Added gestures control+y, control+z and alt+backspace to NVDAObjects.window.excel.ExcelWorksheet.script_changeSelection. --- source/NVDAObjects/window/excel.py | 3 +++ user_docs/en/changes.t2t | 1 + 2 files changed, 4 insertions(+) diff --git a/source/NVDAObjects/window/excel.py b/source/NVDAObjects/window/excel.py index 466d37744ae..8d338cb9ea4 100755 --- a/source/NVDAObjects/window/excel.py +++ b/source/NVDAObjects/window/excel.py @@ -1021,6 +1021,9 @@ def _get_states(self): "kb:control+a", "kb:control+v", "kb:shift+f11", + "kb:control+y", + "kb:control+z", + "kb:alt+backspace", ), canPropagate=True) def script_changeSelection(self,gesture): diff --git a/user_docs/en/changes.t2t b/user_docs/en/changes.t2t index dfbd09f506f..f3f24226d68 100644 --- a/user_docs/en/changes.t2t +++ b/user_docs/en/changes.t2t @@ -29,6 +29,7 @@ This option now announces additional relevant information about an object when t - Multi line state is now correctly reported in applications using Java Access Bridge. (#14609) - In LibreOffice, words deleted using the ``control+backspace`` keyboard shortcut are now also properly announced when the deleted word is followed by whitespace (like spaces and tabs). (#15436) - In LibreOffice, announcement of the status bar using the ``NVDA+end`` keyboard shortcut now also works for dialogs in LibreOffice version 24.2 and newer. (#15591) +- In Microsoft Excel with UIA disabled, braille is updated, and the active cell content is spoken, when ``control+y``, ``control+z`` or ``alt+backspace`` is pressed. (15547) - == Changes for Developers ==