Apache OpenOffice (AOO) Bugzilla – Issue 82480
[a11y] Orca Insert-f to get text attributes doesn't work when you are in a spread sheet table cell.
Last modified: 2013-08-07 15:15:24 UTC
See also Orca bug #480998 which is blocked by this issue. http://bugzilla.gnome.org/show_bug.cgi?id=480998 Sample oocalc fruit.ods available at: http://bugzilla.gnome.org/attachment.cgi?id=96294&action=view Steps to reproduce: 0. Start Orca 1. Start 'oocalc -norestore fruit.ods' 2. Type Control-Home to position the text caret in cell A1. 3. Press the down arrow to move to cell A2. 4. Type Insert-f to get text attributes on the current cell (A2). 5. Press the right arrow to move to cell B2. 6. Type Insert-f to get text attributes on the current cell (B2). What you should get at step 4 is: SPEECH OUTPUT: 'size 16' SPEECH OUTPUT: 'family-name Arial' SPEECH OUTPUT: 'bold' SPEECH OUTPUT: 'style italic' What you should get at step 6 is: SPEECH OUTPUT: 'size 10' SPEECH OUTPUT: 'family-name Arial' Instead, nothing is spoken. I did a bit of debugging from the Orca end. From the Orca debug at: http://bugzilla.gnome.org/attachment.cgi?id=96723&action=view we can see that doing an Insert-f when focus is in cell A2, results in the following debug message (at line 1310) in the readCharAttributes method in default.py: readCharAttributes: default text attributes: The role of orca_state.locusOfFocus is ROLE_TABLE_CELL Printing out orca_state.locusOfFocus.childCount gives a value of 0. After adding extra debug to readCharAttributes of the form: objectText = self.getText(orca_state.locusOfFocus, 0, -1) print "objectText: ", objectText we get: objectText: Good in Pies But defAttributes = text.getDefaultAttributes() is returning an empty string here. Looks like oocalc doesn't provide text attributes for the text in spread sheet cells.
Hi Daniel, seems to be yours. Please target as needed. Frank
Ping. :-) Any chance of getting this fixed for the 3.0 release? Thanks!!
taking over
set target OOo 3.0
accepted
The class accessibility::AccessibleStaticTextBase (svx\inc\AccessibleStaticTextBase.hxx) now also supports the ::com::sun::star::accessibility::XAccessibleTextAttributes interface.
fixed in CWS tbe34 The following files are affected: svx/inc/AccessibleStaticTextBase.hxx 1.13.116.1 svx/source/accessibility/AccessibleStaticTextBase.cxx 1.24.116.1 sc/source/ui/Accessibility/AccessibleCell.cxx 1.33.72.1 sc/source/ui/Accessibility/AccessibleCsvControl.cxx 1.22.72.1 sc/source/ui/inc/AccessibleCell.hxx 1.16.72.1 sc/source/ui/inc/AccessibleCsvControl.hxx 1.15.72.1
tested with Orca 2.20.2 on SunOS 5.11 sparc
TBE->ES: Please verify in CWS tbe34.
Verified in CWS tbe34
This issue is closed automatically and wasn't rechecked in a current version of OOo. The fixed issue should be integrated in OOo since more than half a year. If you think this issue isn't fixed in a current version (OOo 3.1), please reopen it and change the field 'Target Milestone' accordingly. If you want to download a current version of OOo => http://download.openoffice.org/index.html If you want to know more about the handling of fixed/verified issues => http://wiki.services.openoffice.org/wiki/Handle_fixed_verified_issues