Re: Pop-up groupbox problem
Re: Pop-up groupbox problem
- Subject: Re: Pop-up groupbox problem
- From: David Niemeijer <email@hidden>
- Date: Sat, 3 Sep 2005 07:52:28 +0200
At 22:34 +0200 2/9/05, Jan E. Schotsman wrote:
On 2-sep-05, at 20:06, Bill Cheeseman wrote:
Unfortunately it seems you cannot get a reference to elements in an
embedder pane which is itself inside a pop-up groupbox.
I'm not clear on what you mean by "embedder pane" and "pop-up groupbox".
Standard Cocoa and Carbon UI elements are accessible out of the box, and
thus GUI Scriptable. There have been a lot of bug fixes over the last
several releases of Mac OS X, and I now rarely encounter situations where UI
Element Inspector or my own PreFab UI Browser can't see them or GUI
Scripting can't read or control them.
Actually I downloaded the PreFab UI Browser but it cannot see these
elements either.
My window is built with standard elements only. It has a tabs
control with four tabs. One tab has a popup menu groupbox in it
(embedded in a user pane). This groupbox in turn has 6 associated
user panes (one for each menu item) each containing a number of
controls.
The second user pane layer is the problematic one. The groupbox
appears as a popup button in the UI Element inspector but without
children. If I select a control in the groupbox its parent is unkown
and it grandparent is the popup button.
Somehow the system chokes on this configuration.
I can confirm this Tiger bug. I thought I had already filed a bug on
this in July, but looks like I forgot to do that. I have filed it now
(bug# 4244011) and included a test app that shows the problem. The
basic issue is that for a carbon group box with a popup menu as its
title the AX hierarchy is broken in downward direction. The group box
does not report any children.
I did show this issue to some Carbon engineers at WWDC, but clearly
failed on my promise at that time to file it as a bug... sorry, but
it is at least there now.
david.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden