Issue 123620 - [ia2] IAccessibleHypertext::hyperlinkIndex returns 0 when editing a cell/object where there is no link
Summary: [ia2] IAccessibleHypertext::hyperlinkIndex returns 0 when editing a cell/obje...
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: accessibility (show other issues)
Version: 4.1.0-dev
Hardware: PC Windows, all
: P3 Normal (vote)
Target Milestone: 4.1.0
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 123621 (view as issue list)
Depends on:
Blocks: winA11y
  Show dependency tree
 
Reported: 2013-11-04 07:58 UTC by James Teh
Modified: 2017-05-20 10:35 UTC (History)
2 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 James Teh 2013-11-04 07:58:27 UTC
Str:
1. Open Calc.
2. Press f2 to edit the current cell.
3. Get the accessible for the focus.
4. Call IAccessibleHypertext::hyperlinkIndex with offset 0.
Expected: 0 is returned.
Actual: -1 should be returned, since there is no link.
5. Type the letter "t".
6. Call IAccessibleHypertext::hyperlinkIndex with offset 0.
Expected: 0 is returned.
Actual: -1 should be returned, since there is no link.
Comment 1 James Teh 2013-11-04 08:07:14 UTC
*** Issue 123621 has been marked as a duplicate of this issue. ***
Comment 2 James Teh 2013-11-04 23:24:59 UTC
This also occurs in Impress when editing an object; e.g. the slide title, subtitle or outliner.
Comment 3 Steve Yin 2013-12-06 08:23:03 UTC
Reproduced. AOO410m1(Build:9750)  -  Rev. 1544170
Comment 4 Steve Yin 2013-12-10 07:05:41 UTC
Initial value of nHLIndex should be -1.
Comment 5 SVN Robot 2013-12-10 08:00:25 UTC
"steve_y" committed SVN revision 1549778 into trunk:
Bug 123620 - [ia2] IAccessibleHypertext::hyperlinkIndex returns 0 when editin...