GNOME Bugzilla – Bug 337659
Edit Task Properties dialog has broken accessible component hierarchy
Last modified: 2021-06-09 20:35:01 UTC
As reported by Javier on the orca mailing list: 1. Open planner. 2. To add a task press the tasks toggle button. 3. go to the table where the tasks are by tabbing. 4. Press control + i (a new task will be created). 5. In the task table left and right arrow to fill up the task information (name, weeks, start date, end date... Etc). You have to press spacebar on the differents fields to edit. 6. To add a resource activate the resources toggle button. 7. go to resources table by tabbing. 8. Press control + i to insert a resource 9. Right and left arrow to fill the information spacebar on the fields. 10. To assign a task a resource go back to tasks toggle button 11. Go to the table where the taks are 12. On a task display the poppup menu by pressing shift + f10 13. Down arrow until "assign a resource" 14. Here is the problem.... A new dialog appears to select resources, by tabbing you arrives to a splitPane with a unknown role on it that represent the resources and ATSPI can not obtain information.
Here's the hierarchy at that point: +-name='planner' role='application' state='' +-name='Edit task properties' role='dialog' state='ACTIVE ENABLED RESIZABLE SENSITIVE SHOWING VISIBLE' +-name=None role='filler' state='ENABLED SENSITIVE SHOWING VERTICAL VISIBLE' +-name=None role='page tab list' state='ENABLED FOCUSABLE SENSITIVE SHOWING VISIBLE' +-name='Resources' role='page tab' state='ENABLED MULTI_LINE SELECTABLE SELECTED SENSITIVE SHOWING VISIBLE' +-name=None role='scroll pane' state='ENABLED FOCUSABLE SENSITIVE SHOWING VISIBLE' +-name=None role='table' state='ENABLED FOCUSABLE FOCUSED SENSITIVE SHOWING VISIBLE MANAGES_DESCENDANTS' So we are in a table. There are three columns: Name Assigned Units The entry we are at has nothing in the Name table cell. There is a checkbox in the Assigned table cell (not checked), and the value of Units is 0. If a check the checkbox, Units goes to 100. We need to understand better why Orca isn't speaking the table cells here.
Upon further investigation, it looks like that table is a custom component, and it has a broken accessible component hierarchy. In Orca, if I hit Control-Insert-F7 when one of the "table cells" has focus, then I get: ... +-name='Resources' role='page tab' state='ENABLED MULTI_LINE SELECTABLE SELECTED SENSITIVE SHOWING VISIBLE' +-name=None role='scroll pane' state='ENABLED FOCUSABLE SENSITIVE SHOWING VISIBLE' (*)name=None role='table' state='ENABLED FOCUSABLE FOCUSED SENSITIVE SHOWING VISIBLE MANAGES_DESCENDANTS' WARNING CHILD IS NONE!!! WARNING CHILD IS NONE!!! WARNING CHILD IS NONE!!! ... In other words, Orca is unable to get to the contents of the components in the table to see how they should be spoken/brailled. at-poke confirms the broken hierarchy. Transferring to the planner people for further investigation.
Changing Summary to better reflect the real problem.
Apologies for spam... ensuring Sun a11y folks are cc'ed on all current accessibility bugs.
Could not recreate in version 0.14.2
I just grabbed planner from SVN trunk (svnversion 869). The problem seems to be the "Resources" tab of the "Edit task properties" dialog obtainable via steps 12-13 in the opener for this bug. The problem I'm seeing is that the table seems to have dead components in it when I view it with accerciser. So, I think the problem still exists. :-(
I can't reproduce this bug in 0.13.90, 0.14 and 0.14.3 on windows/French. Or perhaps I did not understood it. Could you please, Willie, make a screenshot of it ? Thanks
Created attachment 115509 [details] Screenshot of dialog and accerciser's view of it Here's a screenshot -- I highlighted the stuff of interest in transparent red. The red window to the right is the planner window in question. The window to the left is a view of planner via accerciser -- note "<dead>" objects in the hierarchy. These are not good. :-( Thanks!
All right, It's more clearer to me now :) These dead objects are still present in 0.14.3. When I select them, the "Units" tab is greyed/identified. For now, I can't do anything more than confirming this bug in the last stable release. I'll have to check with Maurice for the next steps. Thanks Willie for posting the picture. Max
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/World/planner/-/issues/101.