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

Error after cut and paste in MS Excel 2003 #1567

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

Error after cut and paste in MS Excel 2003 #1567

nvaccessAuto opened this issue Jun 15, 2011 · 6 comments
Labels
Milestone

Comments

@nvaccessAuto
Copy link

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 <NVDAObjects.window.excel.ExcelCell object at 0x04468070> 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
Copy link
Author

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
Copy link
Author

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

@nvaccessAuto
Copy link
Author

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

@nvaccessAuto
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

@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
Labels
Projects
None yet
Development

No branches or pull requests

1 participant