Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control+backspace reports "DeleteBackWord" in Word 365 #10851

Closed
Qchristensen opened this issue Mar 7, 2020 · 5 comments · Fixed by #10857
Closed

Control+backspace reports "DeleteBackWord" in Word 365 #10851

Qchristensen opened this issue Mar 7, 2020 · 5 comments · Fixed by #10857
Milestone

Comments

@Qchristensen
Copy link
Member

Qchristensen commented Mar 7, 2020

Steps to reproduce:

  1. Open Word 365 to a blank document.
  2. Type a word
  3. press CONTROL+BACKSPACE.

Actual behavior:

NVDA reports "DeleteBackWord".

Expected behavior:

NVDA should report the word deleted.

System configuration

NVDA installed/portable/running from source:

NVDA version:

Installed 2019.3.1
Portable 2019.2
Portable alpha-19755,6d40a54e

Windows version:

Windows 10 Build 1903 Version 18362.388

Name and version of other software in use when reproducing the issue:

Office 365 Version:
16.0.12430.20286

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

Have you tried any other versions of NVDA? If so, please report their behaviors.

Yes, as above.

If addons are disabled, is your problem still occuring?

Yes.

Did you try to run the COM registry fixing tool in NVDA menu / tools?

No change. One user noted that at the same time as this started, CONTROL+X, CONTROL+C and CONTROL+V now report "Cut", "Copy" and "Paste" in Word. Note that this is WITHOUT any add-ons which otherwise provide that functionality and only seems to do this in Word. Note that this behaviour is the same whether the Use UIA in Word option (in NVDA's Advanced options) is enabled or not.

Log snipped below:

IO - inputCore.InputManager.executeGesture (15:12:13.467) - winInputHook (14180):
Input: kb(desktop):control+backspace
DEBUGWARNING - Python warning (15:12:13.495) - MainThread (18304):
C:\Program Files (x86)\NVDA\library.zip\keyboardHandler.py:538: DeprecationWarning: Yield() is deprecated
DEBUGWARNING - Python warning (15:12:13.495) - MainThread (18304):
C:\Program Files (x86)\NVDA\library.zip\api.py:287: DeprecationWarning: Yield() is deprecated
DEBUG - IAccessibleHandler.accessibleObjectFromEvent (15:12:13.501) - MainThread (18304):
oleacc.AccessibleObjectFromEvent with window 199388, objectID 43 and childID 0: [WinError -2147467259] Unspecified error
DEBUG - IAccessibleHandler.accessibleObjectFromEvent (15:12:13.502) - MainThread (18304):
oleacc.AccessibleObjectFromEvent with window 199388, objectID 44 and childID 0: [WinError -2147467259] Unspecified error
DEBUG - editableText.EditableText._hasCaretMoved (15:12:13.511) - MainThread (18304):
Caret move detected using bookmarks. Elapsed: 0 ms
IO - speech.speak (15:12:13.511) - MainThread (18304):
Speaking [LangChangeCommand ('en_AU'), 'fox']
DEBUG - synthDrivers.oneCore.SynthDriver._processQueue (15:12:13.524) - MainThread (18304):
Begin processing speech
DEBUG - synthDrivers.oneCore.SynthDriver.cancel (15:12:13.528) - MainThread (18304):
Cancelling
IO - speech.speak (15:12:13.530) - MainThread (18304):
Speaking [LangChangeCommand ('en_AU'), 'DeleteBackWord']

@Adriani90
Copy link
Collaborator

Adriani90 commented Mar 8, 2020

cc: @michaelDCurran

@josephsl
Copy link
Collaborator

josephsl commented Mar 9, 2020

josephsl added a commit to josephsl/nvda that referenced this issue Mar 9, 2020
…10851.

In recent Word 365 releases, UIA notification events are fired by Word document object when editing functions are performed such as 'delete back word' being announced when Control+Backspace is pressed. Thus ignore these messages.
josephsl added a commit to josephsl/nvda that referenced this issue Mar 10, 2020
…ements. Re nvaccess#10851.

Reviewed by Leonard de Ruijter: there are messages in Word 365 that are announced using UIA notification. Therefore only suppress delete messages (activity ID: AccSN2).
@burakyuksek
Copy link

burakyuksek commented Mar 21, 2020

Won't this be fixed in a future update?

@josephsl
Copy link
Collaborator

josephsl commented Mar 21, 2020

@burakyuksek
Copy link

burakyuksek commented Mar 22, 2020

Hello,
Thanks for trying to implement a fix. I hope the fix you submited makes it into the next version.

feerrenrut pushed a commit that referenced this issue Mar 30, 2020
Fixes #10851.

In recent Word 365 releases, UIA notification events are fired by Word document object when editing functions are performed such as 'delete back word' being announced when Control+Backspace is pressed.
Thus ignore these specific messages (with activity ID: AccSN2)
@nvaccessAuto nvaccessAuto added this to the 2020.1 milestone Mar 30, 2020
@feerrenrut feerrenrut modified the milestones: 2020.1, 2020.2 Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants