Re: [g-a-devel]gail frame bug ...



Bill,

I think that Michael was satisfied with my responses to his mail.

Padraig

> Subject: Re: [g-a-devel]gail frame bug ...
> To: bill haneman sun com, Padraig Obriain sun com, michael ximian com
> Cc: gnome-accessibility-devel gnome org
> MIME-Version: 1.0
> Content-MD5: TeTZhLqWqXiB7C/OHQBqcw==
> 
> Hi Bill,
> >
> >	At-poke is being somewhat crippled by some oddness in gailframe ( I
> >think ); at least, the following code:
> >
> >static void
> >validate_up_down_linkage (Accessible *accessible)
> >{
> >        Accessible *child;
> >        Accessible *parent;
> >
> >        child = Accessible_getChildAtIndex (accessible, 0);
> >        if (!child)
> >                return;
> >
> >        parent = Accessible_getParent (child);
> >
> >        g_assert (parent == accessible);
> >}
> >
> >	when run on a 'Frame' fails - ie. the tree is broken. at-poke can
> >tolerate applications not having parents that are the desktop - although
> >that too is broken; but it can't tolerate this sort of breakage.
> 
> Padraig can fill you in on this I believe, but it looks right to me;
> frame must have a child, whose parent is itself.
> 
> >	WHy do we have both a Frame and a Window role ? what is the difference
> >and when do we use one instead of the other ? there are several
> >AtkObject methods a Window overrides that a Frame does not - why is that
> >? particularly get_parent and get_index_in_parent.
> 
> Frame is a toplevel window (with a border, etc), and Window is not necessarily
> a true toplevel (for instance, a bonobo socket is a Frame).
> 
> >	Why does GailFrame not inherit from GailWindow or VV. ? surely this
> >code is shared ? Why does GailWindow use 'gpointer parent_class' instead
> >of using the most commonly chained to base class type, such as
> >AtkObjectClass to avoid unneccessary casts ?
> 
> I don't know about this last point, Padraig?
> 
> -Bill
> 
> >	Regards,
> >
> >		Michael.
> >
> >-- 
> > mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot
> >
> >_______________________________________________
> >Gnome-accessibility-devel mailing list
> >Gnome-accessibility-devel gnome org
> >http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
> 
> ------
> Bill Haneman x19279
> Gnome Accessibility / Batik SVG Toolkit
> Sun Microsystems Ireland 
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]