Community
Participate
Working Groups
AccessibleFactory.createAccessible() should call gtk_widget_get_accessible() instead of atk_object_factory_create_accessible(). If it calls the former, the created atkobject has to be freed. This does not happen currently. The later is disposed when the widget is disposed.
Created attachment 166895 [details] fix
Does our AccessibleFactory#atkObjectFactory_create_accessible still get called ? I thought we were releasing the reference in Accessible#release()->AccessibleObject->release(); (but for some reason we were only calling unref for lightweight)
Yes, atkObjectFactory_create_accessible is still called. There are two ways of creating an atkobject. The ones created for a widget should be create with gtk_widget_get_accessible() (which calls the factory method). These ones are released when the widget is destroyed. The ones that are not associable to a widget (lightweigths) should be created with AccessibleFactory.createChildAccessible() and we have to released them.
Fixed > 20100504.