Bug 501526

Summary: ToolStripLabel with IsLink property set to true should implement the hyperlink interface
Product: [Mono] UI Automation Reporter: Brian Merrell <bgmerrell>
Component: Winforms - GeneralAssignee: E-mail List <mono-a11y-bugs>
Status: NEW --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P3 - Medium CC: cachen
Version: Release 1.0   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Brian Merrell 2009-05-06 20:51:31 UTC
PROBLEM STATEMENT

The ToolStripLabel control has an IsLink property that can be set to indicate that the ToolStripLabel is a hyperlink.  When this property is set to true, the ToolStripLabel accessible should implement the hyperlink interface.

REPRO

1.  Run uia2atk/test/samples/toolstriplabel.py
2.  Run Accerciser and open the "Interface Viewer" tab
3.  In Accerciser's left pane, browse to and select the "Mono Accessibility" label of the toolstriplabel.py ipy application.

RESULTS

In Accerciser's interface viewer tab, notice that the hyperlink interface is not implemented.

EXPECTED RESULTS

The hyperlink interface should be implemented and should contain useful information about the link (similar to the LinkLabel control).
Comment 1 Brian Merrell 2009-05-06 20:54:55 UTC
Here is an IRC discussion on the topic:

<@bgmerrell> for some reason i was thinking the hyperlink interface is
             deprecated
<@bgmerrell> is that true?
<@brad> I don't think so...
<@bgmerrell> https://bugzilla.novell.com/show_bug.cgi?id=501155
<@bgmerrell> i ask because of that
<@bgmerrell> not sure if it should implement hypertext or hyperlink, then
<@brad> hmm, now that i don't know
<@brad> oh oh
<@brad> hyperlink = 1 link, hypertext = n links
<@bgmerrell> so it should implement hyperlink
<@brad> (not strictly true, but semanitcally, that's how it should be
        used)
<@bgmerrell> i don't think a ToolStripLabel can have more than one link
<@bgmerrell> because it's just an IsLink property afaik
<@brad> bgmerrell: sounds correct
Comment 2 Ray Wang 2009-05-07 08:44:03 UTC
Hey, I'm not sure why gtklinkbutton not implement AtkHyperlink interface as well. 
You will find uia2atk/test/samples/gtklinkbutton.py as a example.