Bug 531027 - EmbeddedImage pattern must die
Summary: EmbeddedImage pattern must die
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - UIA (show other bugs)
Version: Unspecified
Hardware: Other Other
: P5 - None : Minor
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-13 21:06 UTC by Andres Aragoneses
Modified: 2009-08-13 21:06 UTC (History)
0 users

See Also:
Found By: ---
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 Andres Aragoneses 2009-08-13 21:06:23 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060200 SUSE/3.0.11-0.1 Firefox/3.0.11

For implementing the Atk.Image property in the UiaAtkBridge for some accessible controls, we needed to expose some information from the UIA Provider side that in the first place was not available, so we created the (internal, as in internal non-exposed API, only exposed to our assemblies) EmbeddedImage pattern.

However, from discussions on the AIA calls, we have found out that there may be a way to provide this information without unofficial APIs: using a children fake provider with ControlType.Image that exposes the boundingRectangle property of the background image.

The controls affected are:
button, checkbox, listitem, picturebox, toolstripitem, toolbarbutton, datagridviewdataitem, notifyicon

The child provider should have ContentElement property as False.

Reproducible: Always