Bug 501526 - ToolStripLabel with IsLink property set to true should implement the hyperlink interface
Summary: ToolStripLabel with IsLink property set to true should implement the hyperlin...
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.1
: P3 - Medium : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-06 20:51 UTC by Brian Merrell
Modified: 2009-07-02 03:44 UTC (History)
1 user (show)

See Also:
Found By: Integration Test
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.