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

'Can not edit cells in excel. #7015

Closed
fernando-jose-silva opened this issue Mar 24, 2017 · 4 comments
Closed

'Can not edit cells in excel. #7015

fernando-jose-silva opened this issue Mar 24, 2017 · 4 comments

Comments

@fernando-jose-silva
Copy link

After upgrading to nvda 13946 when trying to edit a cell in excel 2013, an error sound is heard, just as trying to navigate the characters with right and left arrows while editing the cell will hear an error sound and the character is not informed.
Follow the log:

IO - speech.speak (10:47:08):
Speaking [u'Editar Item edi\xe7\xe3o um controle de edi\xe7\xe3o']
ERROR - eventHandler.executeEvent (10:47:08):
error executing event: gainFocus on <NVDAObjects.Dynamic_EditableTextWithoutAutoSelectDetectionUIA object at 0x0BA04150> with extra args of {}
Traceback (most recent call last):
File "eventHandler.pyc", line 143, in executeEvent
File "eventHandler.pyc", line 91, in init
File "eventHandler.pyc", line 98, in next
File "C:\Users\a50596\AppData\Roaming\nvda\addons\focusHighlight\globalPlugins\focusHighlight.py", line 416, in event_gainFocus
File "eventHandler.pyc", line 98, in next
File "C:\Users\a50596\AppData\Roaming\nvda\addons\enhancedTouchGestures\globalPlugins\enhancedTouchGestures.py", line 94, in event_gainFocus
File "eventHandler.pyc", line 98, in next
File "C:\Users\a50596\AppData\Roaming\nvda\addons\easyTableNavigator\globalPlugins\easyTableNavigator.py", line 82, in event_gainFocus
File "eventHandler.pyc", line 98, in next
File "C:\Users\a50596\AppData\Roaming\nvda\addons\remote\globalPlugins\remoteClient_init_.py", line 410, in event_gainFocus
File "eventHandler.pyc", line 98, in next
File "C:\Users\a50596\AppData\Roaming\nvda\addons\wintenApps\globalPlugins\wintenObjs_init_.py", line 199, in event_gainFocus
File "eventHandler.pyc", line 98, in next
File "C:\Users\a50596\AppData\Roaming\nvda\addons\Favorite folders\globalPlugins\FavoriteFolders_init_.py", line 161, in event_gainFocus
File "eventHandler.pyc", line 98, in next
File "C:\Users\a50596\AppData\Roaming\nvda\addons\AudioThemes3D\globalPlugins\audioThemes_init_.py", line 125, in event_gainFocus
File "eventHandler.pyc", line 98, in next
File "NVDAObjects_init_.pyc", line 900, in event_gainFocus
File "NVDAObjects_init_.pyc", line 812, in reportFocus
File "speech.pyc", line 368, in speakObject
File "speech.pyc", line 719, in speakTextInfo
File "NVDAObjects\UIA_init_.pyc", line 581, in getTextWithFields
File "NVDAObjects\UIA_init_.pyc", line 443, in getTextWithFieldsForUIARange
File "baseObject.pyc", line 21, in get
File "NVDAObjects\UIA_init
.pyc", line 84, in _get__controlFieldUIACacheRequest
COMError: (-2147024809, 'Par\xe2metro incorreto.', (None, None, None, 0, None))
IO - inputCore.InputManager.executeGesture (10:47:13):
Input: kb(laptop):control+home
ERROR - scriptHandler.executeScript (10:47:13):
error executing script: <bound method Dynamic_EditableTextWithoutAutoSelectDetectionUIA.script_caret_moveByLine of <NVDAObjects.Dynamic_EditableTextWithoutAutoSelectDetectionUIA object at 0x0BA04150>> with gesture u'control+roume'
Traceback (most recent call last):
File "scriptHandler.pyc", line 187, in executeScript
File "editableText.pyc", line 143, in script_caret_moveByLine
File "editableText.pyc", line 103, in caretMovementScriptHelper
File "editableText.pyc", line 89, in caretScriptPostMovedHelper
File "speech.pyc", line 719, in speakTextInfo
File "NVDAObjects\UIA_init
.pyc", line 581, in getTextWithFields
File "NVDAObjects\UIA_init
.pyc", line 443, in getTextWithFieldsForUIARange
File "baseObject.pyc", line 21, in get
File "NVDAObjects\UIA_init
.pyc", line 84, in _get__controlFieldUIACacheRequest
COMError: (-2147024809, 'Par\xe2metro incorreto.', (None, None, None, 0, None))
IO - inputCore.InputManager.executeGesture (10:47:15):
Input: kb(laptop):rightArrow
ERROR - scriptHandler.executeScript (10:47:15):
error executing script: <bound method Dynamic_EditableTextWithoutAutoSelectDetectionUIA.script_caret_moveByCharacter of <NVDAObjects.Dynamic_EditableTextWithoutAutoSelectDetectionUIA object at 0x0BA04150>> with gesture u'direita'
Traceback (most recent call last):
File "scriptHandler.pyc", line 187, in executeScript
File "editableText.pyc", line 147, in script_caret_moveByCharacter
File "editableText.pyc", line 103, in caretMovementScriptHelper
File "editableText.pyc", line 89, in caretScriptPostMovedHelper
File "speech.pyc", line 719, in speakTextInfo
File "NVDAObjects\UIA_init
.pyc", line 581, in getTextWithFields
File "NVDAObjects\UIA_init
.pyc", line 443, in getTextWithFieldsForUIARange
File "baseObject.pyc", line 21, in get
File "NVDAObjects\UIA_init
.pyc", line 84, in _get__controlFieldUIACacheRequest
COMError: (-2147024809, 'Par\xe2metro incorreto.', (None, None, None, 0, None))
IO - inputCore.InputManager.executeGesture (10:47:17):
Input: kb(laptop):NVDA+f1
INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo (10:47:17):
Developer info for navigator object:
name: u'Editar Item'
role: ROLE_EDITABLETEXT
states: STATE_FOCUSABLE, STATE_FOCUSED
isFocusable: True
hasFocus: True
Python object: <NVDAObjects.Dynamic_EditableTextWithoutAutoSelectDetectionUIA object at 0x0BA04150>
Python class mro: (<class 'NVDAObjects.Dynamic_EditableTextWithoutAutoSelectDetectionUIA'>, <class 'NVDAObjects.behaviors.EditableTextWithoutAutoSelectDetection'>, <class 'editableText.EditableTextWithoutAutoSelectDetection'>, <class 'NVDAObjects.behaviors.EditableText'>, <class 'editableText.EditableText'>, <class 'NVDAObjects.UIA.UIA'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>)
description: u'um controle de edi\xe7\xe3o'
location: (90, 449, 94, 19)
value: None
appModule: <'excel' (appName u'excel', process ID 2084) at address b90e890>
appModule.productName: u'Microsoft Office 2013'
appModule.productVersion: u'15.0.4885.1000'
TextInfo: <class 'NVDAObjects.UIA.UIATextInfo'>
windowHandle: 133126
windowClassName: u'EXCEL6'
windowControlID: 0
windowStyle: 1442840576
windowThreadID: 3712
windowText: u''
displayText: u''
UIAElement: <POINTER(IUIAutomationElement) ptr=0x440a948 at 5eb2d00>
UIA automationID:
UIA frameworkID: Win32
UIA runtimeID: (42, 133126)
UIA providerDescription: [pid:5428,hwnd:0x20806 Main:Nested [pid:2084,hwnd:0x20806 Main(parent link):Unidentified Provider (unmanaged:EXCEL.EXE)]; Hwnd(parent link):Microsoft: HWND Proxy (unmanaged:UIAutomationCore.dll)]
UIA className: EXCEL6

@fernando-jose-silva
Copy link
Author

The problem occurs with a machine with windows 7 64 bit, office 2013 32bit.
I tested it now with a machine with windows 10 14393 64 bit and office 2016 32 bit and everything works fine.

@feerrenrut
Copy link
Contributor

I was not able to reproduce this in Excel with Office 2013 on Windows 10 with NVDA Version: next-13949,b9c7808e. To try to reproduce this I opened Excel and used the left and right arrows to move through the cells.

From the log, I noticed that there are several plugins enabled.
Could you please see if you are able to reproduce this with the plugins disabled?
Does this happen with a blank excel document? If not could you please attach the document that you were using.

For the maximum chance of reproducing this issue and being able to fix it, could you please attach your NVDA configuration?

@fernando-jose-silva
Copy link
Author

Thank you very much.
The problem occurred on the nvda next 13946, but as part of the fixes made in the nvda next 13949 the problems were fixed.
The problem occurred only in windows 7 and when the cell was edited, and we would navigate the cell characters with right and left arrows.

@jcsteh
Copy link
Contributor

jcsteh commented Mar 27, 2017

Regression caused by (and subsequently fixed in) #6994. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants