Summary: | NullPointerException when VoiceOver asks for position of Shell | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Carolyn MacLeod <carolynmacleod4> | ||||
Component: | SWT | Assignee: | Scott Kovatch <skovatch> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | cocoakevin, grant_gayed, steve_northover | ||||
Version: | 3.5 | Keywords: | accessibility | ||||
Target Milestone: | 3.5 M3 | ||||||
Hardware: | Macintosh | ||||||
OS: | Mac OS X | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Carolyn MacLeod
2008-10-16 10:19:59 EDT
Hi Carolyn, I fixed this as well but haven't committed it yet. You left off the patch but I get what you're saying here. I was making a last-second attempt to correctly represent the size of a StyledText, which shows as 100000x100000, but I see I goofed. We should try to fix that instead of working around it in accessibility. Created attachment 115312 [details]
patch to defer to the os unless the app specifies a new position or size
Very Strange. I attached the patch as part of creating the bug (new feature of Bugzilla), but it seems to have been ignored. Anyhow, here it is now.
Thanks -- fixed >= 20081016. I will file a new bug for the huge Canvas size. Actually, I need to make one small modification. If the child ID passed in is non-zero, we are expecting the accessible listener to calculate the size and position. If it doesn't we need to return some kind of NSValue, because otherwise the Accessibility Verifier will correctly points out that no value was returned for the kAXSize attribute even though we declared it for the object. Probably 0, 0 for the size and the top-left of the Canvas/Composite. Fixed >= 20081022, including my last extra fix mentioned in #4. |