GNOME Bugzilla – Bug 364086
Orca reports "paragraph 0 paragraph" <char> when you begin typing in a Calc cell.
Last modified: 2006-10-31 19:58:09 UTC
Please describe the problem: When you begin to type in a Calc cell, Orca says "paragraph 0 paragraph" followed by the character you just typed. It only does this for the first character and not subsequent characters. Steps to reproduce: 1. Launch Orca 2. Launch Calc 3. In cell A1, type "hello" Actual results: Orca says "paragraph 0 paragraph h" (I have key echo off). Expected results: Orca would not say "paragraph 0 paragraph h", but would instead only echo the characters/words as specified by my key echo setting. Does this happen every time? Yes. Other information:
Created attachment 75202 [details] Orca debug whilst reproducting the problem. See about line 619: We get the following event: vvvvv PROCESS OBJECT EVENT object:state-changed:focused vvvvv OBJECT EVENT: object:state-changed:focused detail=(0,0) app.name='soffice.bin' name='Paragraph 0' role='paragraph' state='ACT IVE EDITABLE ENABLED FOCUSABLE FOCUSED MULTI_LINE SENSITIVE SHOWING VISIBLE' rel ations='' The new "object:state-changed:focused" code in onStateChanged() in default.py is doing this. We could certainly override it in the onStateChanged() method in the StarOffice.py script. Will, what do you think? ...
At the time this happens, the paragraph thing used for entering data into the cell has become the locus of focus, so I don't think doing state-changed stuff is all that bad. As an alternative, we might need to see if there is a way to determine that this paragraph is the editor for the cell contents and do nothing as a result. I'm not sure where the better place to do this would be - it might be in the StarOffice.py:locusOfFocusChanged method.
Created attachment 75258 [details] [review] Patch to hopefully fix the problem.
Patch checked into CVS HEAD. It seems to work nicely for me, but before I close this out as FIXED, could I please get feedback from others on whether this resolves the problem? Thanks.
Ntis now seems to work correctly. thanks
Oops, sorry Rich. I somehow missed your last comments on this. Yes, it does resolve the problem. Thanks!!
Thanks all. Closing as FIXED.