Error after cut and paste in MS Excel 2003 #1567

Closed
nvaccessAuto opened this Issue Jun 15, 2011 · 6 comments

1 participant

@nvaccessAuto

Reported by Bernd on 2011-06-15 14:21
STR:
1. Open a new excel worksheet
2. Write something in a1 and press enter.
3. Press upArrow to go back to cell a1.
4. Press CTRL+x to cut the Cell.
5. Go to another cell and press CTRL+v to paste and press downArrow for example.
then you'll here an error sound and you'l find an error in the log file (see below).
Expected: NVDA should read the new selected cell and work as before.

part of NVDA.log:
IO - inputCore.InputManager.executeGesture (15:20:26):
Input: kb(laptop):control+v
IO - inputCore.InputManager.executeGesture (15:20:27):
Input: kb(laptop):downArrow
ERROR - eventHandler.executeEvent (15:20:27):
error executing event: gainFocus on with extra args of {}
Traceback (most recent call last):
File "C:\nvda\main\source\eventHandler.py", line 131, in executeEvent
if eventName=="gainFocus" and not doPreGainFocus(obj,sleepMode=sleepMode):
File "C:\nvda\main\source\eventHandler.py", line 144, in doPreGainFocus
api.setFocusObject(obj)
File "C:\nvda\main\source\api.py", line 87, in setFocusObject
if tempObj==oldFocusLine[index]:
File "C:\nvda\main\source\NVDAObjects__init__.py", line 288, in eq
return self.isEqual(other)
File "C:\nvda\main\source\NVDAObjects\window\excel.py", line 194, in isEqual
otherAddr=self.getCellAddress(other.excelCellObject,True)
File "C:\nvda\main\source\NVDAObjects\window\excel.py", line 65, in getCellAddress
return cell.Address(False, False, xlA1, external)
File "C:\Python27\lib\site-packages\comtypes\client\lazybind.py", line 52, in __call

*args)
File "C:\Python27\lib\site-packages\comtypes\automation.py", line 664, in _invoke
dp, var, None, argerr)
COMError: (-2146827864, None, (None, None, None, 0, No

@nvaccessAuto

Comment 1 by briang1 on 2011-06-15 15:22
I see this also, it seems copy works but not move. You can try the paste via F2, but although this indeed pastes it, it will not remove the old one.
The error seems to occur when you try to move away from the paste.

It affects Xcel XP 2002 as well.

@nvaccessAuto

Comment 2 by mdcurran on 2011-06-15 23:16
fixed in 46da93d.
Changes:
Milestone changed from None to 2011.2

@nvaccessAuto

Comment 3 by mdcurran on 2011-06-15 23:21
Changes:
State: closed

@nvaccessAuto

Comment 4 by jteh on 2011-06-15 23:43
Did this happen in 2011.1.1? if so, it needs a What's New entry.

@nvaccessAuto

Comment 5 by Bernd (in reply to comment 4) on 2011-06-16 11:10
Replying to jteh:

Did this happen in 2011.1.1? if so, it needs a What's New entry.

yes it happened also in Version 2011.1

@nvaccessAuto

Comment 6 by mdcurran on 2011-06-24 05:35
actually duplicate of #1350.

@nvaccessAuto nvaccessAuto added the bug label Nov 10, 2015
@nvaccessAuto nvaccessAuto added this to the 2011.2 milestone Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment