[Mono-bugs] [Bug 425277] UIA Suport in ToolTip Component

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 10 17:50:51 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=425277

User mcarrion at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425277#c4





--- Comment #4 from Mario Carrion <mcarrion at novell.com>  2008-09-10 15:50:51 MDT ---
(In reply to comment #3 from Jonathan Pobst)
> >> I need to keep track of the controls associated with the tooltip due to the
> >> tooltip is added/removed to the navigation tree, and Popup event doesn't work
> >> for that.
> 
> Can you explain this a little more?
For example, lets say we have two Form that share the same tooltip, something
like the following:

Form1
- Button1
- Label1

and

Form2
- Button2
- Label2

and

ToolTip

And we do:

ToolTip.SetToolTip (Button1, "button1")
ToolTip.SetToolTip (Label1, "label1")
ToolTip.SetToolTip (Button2, "button2")
ToolTip.SetToolTip (Label2, "label2")

The following are the a11y trees without the tooltip (ie the tooltips haven't
been shown):

Form1 (Atk.Window1)
- Button1 (Atk.PushButton1)
- Label1 (Atk.Text1)

and 

Form2 (Atk.Window2)
- Button2 (Atk.PushButton2)
- Label2 (Atk.Text2)

Lets say we move the cursor into the area of the Button1 to show the tooltip,
then the a11y tree changes this way:

Form1 (Atk.Window1)
- Button1 (Atk.PushButton1)
-- ToolTip1 (Atk.ToolTip1)
- Label1 (Atk.Text1)

and then we move the cursor (or wait) then the a11y tree changes returns to its
original:

Form1 (Atk.Window1)
- Button1 (Atk.PushButton1)
- Label1 (Atk.Text1)

Let's do the same with Label2. The tree changes to: 

Form2 (Atk.Window2)
- Button2 (Atk.PushButton2)
- Label2 (Atk.Text2)
-- ToolTip1 (Atk.ToolTip1)

and move the cursor: 

Form2 (Atk.Window2)
- Button2 (Atk.PushButton2)
- Label2 (Atk.Text2)

Notice that the same instance of ToolTip is used in both Forms and I'm using it 
to add/remove into two different trees.

I hope you understand me.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list