Re: Enhancing GTK+ TreeView accessibility



Hi Bill,

On 06/ 7/10 06:59 PM, Bill Cox wrote:
Hi, Li.

On Sun, Jun 6, 2010 at 11:18 PM, Li Yuan<Li Yuan sun com>  wrote:
We have a bug for gailtreeview's performance:
https://bugzilla.gnome.org/show_bug.cgi?id=577098, and we have done some
analysis work there.
Hopefully we can help out with this bug over in Vinux land.

I haven't read the code of gconf-editor, is it text cell or some custom cell
renderer? If it is a custom cell renderer, gconf-editor should implement the
accessibility peer. Caching the data is what GAIL does for known cell
renderers.
Your guess is correct.  Gconf-editor does implement a custom cell
renderer, basically just a wrapper around the existing renderers.  It
selects the renderer to use based on the type of data in the cell.
How would I implement the accessibility peer?
gailtextcell would be a good example. Basically implements update_cache function, which updates the accessibility objects' properties (name or other stuff).


I tested the caching, and you are correct.  I have had a couple of
applications where the checkbox states shown were out of sync with the
values announced.  The fix in those cases was to implement a model
column to represent the checkbox values.  I'll look further into that
next time I run across it.
It would be great if you can file a bug.

Li


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