After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 326725 - embedded bonobo component hierarchy non-symmetric?
embedded bonobo component hierarchy non-symmetric?
Status: RESOLVED FIXED
Product: at-spi
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: bill.haneman
bill.haneman
AP2
: 328407 328493 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-01-12 12:11 UTC by Harry Lu
Modified: 2006-07-19 20:38 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Python script to help replicate the problem. (18.55 KB, application/octet-stream)
2006-01-25 20:04 UTC, Rich Burridge
  Details
Transcript showing output for three problematic Evolution components (107.62 KB, text/plain)
2006-01-25 20:05 UTC, Rich Burridge
  Details
patch to reinstate embedded component hierarchy, for testing (6.91 KB, patch)
2006-01-27 16:27 UTC, bill.haneman
none Details | Review
New transcript of results from Evolution test after applying patch. (200.28 KB, text/plain)
2006-01-27 17:01 UTC, Rich Burridge
  Details

Description Harry Lu 2006-01-12 12:11:07 UTC
Please describe the problem:
This is from Sun bugster bug 6365385.

I think it caused by fix for #321814. 
Dowgrade libgail-gnome to 1.1.1 will fix this bug.

Steps to reproduce:
1. enable accessibility
2. start Evolution-2.4
3. start at-poke
4. try to look up tree table 'Mail Folder Tree' and 'Message List'

Actual results:
There are not tree table in at-poke. All bonobo components are show as a panel.

Expected results:


Does this happen every time?
yes.

Other information:
Comment 1 André Klapper 2006-01-25 13:52:10 UTC
*** Bug 328493 has been marked as a duplicate of this bug. ***
Comment 2 Rich Burridge 2006-01-25 20:04:04 UTC
Created attachment 58121 [details]
Python script to help replicate the problem.
Comment 3 Rich Burridge 2006-01-25 20:05:04 UTC
Created attachment 58122 [details]
Transcript showing output for three problematic Evolution components
Comment 4 Rich Burridge 2006-01-25 20:12:45 UTC
I've attached two files that'll hopefully help track down this problem.
Note that I've been testing against Evolution from CVS HEAD, with GNOME 2.12
on Solaris x86. Will Walker sees a similar problem with Evolution 2.4.X

The Python script is based on code in the Orca screen reader.
See the comments at the beginning of the script for details
of the steps needed to reproduce the problem.

The transcript files shows the child ancestry and the application
component hierarchy for three problematic Evolution components:

   - Mail Folder Tree
   - Mail Message list
   - Mail Compose Window - Message area

In particular, notice the "WARNING CHILD IS NONE!!!" messages.

As this is more then a problem with at-poke, perhaps the bug summary
should be adjusted to something that better describes the problem.

Thanks.
Comment 5 bill.haneman 2006-01-26 17:34:36 UTC
*** Bug 328407 has been marked as a duplicate of this bug. ***
Comment 6 bill.haneman 2006-01-27 16:27:16 UTC
Created attachment 58222 [details] [review]
patch to reinstate embedded component hierarchy, for testing

Please note that for this patch to work, your embedded BonoboControl components must implement the (*get_accessible) method from the BonoboControl epv, as defined in Bonobo_Control.idl. (libbonoboui).  If a component was working previous to the libgail-gnome revisions last November, it should work again with this patch.
Comment 7 Rich Burridge 2006-01-27 17:01:36 UTC
Created attachment 58223 [details]
New transcript of results from Evolution test after applying patch.

The new transcript shows the child ancestry and the application
component hierarchy for three problematic Evolution components:

   - Mail Folder Tree
   - Mail Message list
   - Mail Compose Window - Message area

Notice that the "WARNING CHILD IS NONE!!!" messages are now gone,
but that there are several "WARNING CHILD.PARENT != PARENT!!!"
messages. I don't know though whether this is a problem in Evolution or
the accessibility infrastructure.
Comment 8 Rich Burridge 2006-01-27 17:12:06 UTC
I've just tested Orca with Evolution with this patch in place.
If I startup the latest Orca, then try to startup Evolution, 
Evolution will not fully display/render. Terminating Orca
allows Evolution to then properly start. Still investigating...
Comment 9 bill.haneman 2006-01-27 17:15:56 UTC
Thanks for the quick feedback Rich.  In my test examples, I couldn't find any instances of lost reciprocity, so getting the transcript from you helps a lot.
Comment 10 bill.haneman 2006-01-27 17:31:29 UTC
Here's what I see:

1) the old CHILD IS NONE! messages are gone, and the places where they occurred prior to the latest patch are not proximally associated with the CHILD.PARENT  failures.
2) CHILD.PARENT reciprocity failures all seem to be in role-table or role-tree-table objects.
3) the CHILD.PARENT failures are all appearing deep in parts of the hierarchy which was previously truncated by the CHILD IS NONE! errors.

This makes me think that libgail-gnome is not responsible for the parent-child failures in the transcript, as libgail-gnome only impacts the embedding relationships, i.e. proximal to the former CHILD IS NONE! problem.  I don't think we have tables whose cells are embedded Bonobo components, as a rule, which further makes me think libgail-gnome is not responsible for the remaining reciprocity failures.

You might see if Will is finding event-source-lookup problems like those he originally filed for 321814.
Comment 11 Rich Burridge 2006-01-27 18:03:19 UTC
Looks like the Orca/Evolution hang has been fixed by using the
very latest version of Orca that Will has just checked in.
Comment 12 Willie Walker 2006-01-27 18:22:25 UTC
The latest Orca code checks for child == child.parent, thus preventing this hang.  I think there is still something broken in the hierarchy somewhere.  But...this may be related more to the tickle me parent bug.
Comment 13 bill.haneman 2006-03-14 17:02:41 UTC
Is it still the case that, in general (i.e. outside of evolution), child/parent relationships are not symmetric across bonobo-component embedding?
Comment 14 Calum Benson 2006-04-26 17:05:23 UTC
Apologies for spam... ensuring Sun a11y folks are cc'ed on all current accessibility bugs.
Comment 15 bill.haneman 2006-07-19 20:38:47 UTC
marking fixed until someone shows otherwise...