Issue 82480 - [a11y] Orca Insert-f to get text attributes doesn't work when you are in a spread sheet table cell.
Summary: [a11y] Orca Insert-f to get text attributes doesn't work when you are in a sp...
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: ui (show other issues)
Version: OOo 2.3.0 RC1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sc
URL:
Keywords: accessibility
Depends on:
Blocks: 90510
  Show dependency tree
 
Reported: 2007-10-10 16:46 UTC by richburridge
Modified: 2013-08-07 15:15 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description richburridge 2007-10-10 16:46:21 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.
Comment 1 frank 2007-10-11 08:58:03 UTC
Hi Daniel,

seems to be yours. Please target as needed.

Frank
Comment 2 joaniediggs 2008-03-20 20:13:38 UTC
Ping. :-)

Any chance of getting this fixed for the 3.0 release?

Thanks!!
Comment 3 thomas.benisch 2008-06-12 13:00:47 UTC
taking over
Comment 4 thomas.benisch 2008-06-12 13:01:32 UTC
set target OOo 3.0
Comment 5 thomas.benisch 2008-06-23 13:51:11 UTC
accepted
Comment 6 thomas.benisch 2008-06-23 13:51:46 UTC
The class accessibility::AccessibleStaticTextBase
(svx\inc\AccessibleStaticTextBase.hxx) now also supports the
::com::sun::star::accessibility::XAccessibleTextAttributes
interface.
Comment 7 thomas.benisch 2008-06-23 13:52:47 UTC
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
Comment 8 thomas.benisch 2008-07-03 11:53:56 UTC
tested with Orca 2.20.2 on SunOS 5.11 sparc
Comment 9 thomas.benisch 2008-07-03 11:55:18 UTC
TBE->ES: Please verify in CWS tbe34.
Comment 10 eric.savary 2008-07-03 14:04:46 UTC
Verified in CWS tbe34
Comment 11 thorsten.ziehm 2009-07-20 14:55:26 UTC
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