https://bugs.freedesktop.org/show_bug.cgi?id=81264

--- Comment #9 from Joanmarie Diggs <[email protected]> ---
Created attachment 105994
  --> https://bugs.freedesktop.org/attachment.cgi?id=105994&action=edit
accessible event listener

The problem appears to be:
1. Missing object:state-changed:focused events when the table regains focus
2. The re-focused table lacks state focused (probably because of item 1).

At the end of this comment is output that was captured using the attached
accessible-event listener performing the following steps:

1. Give initial focus to a newly-created sheet
2. Down Arrow twice in that a newly-created sheet
3. Alt+Tab out of Calc and back in
4. Down Arrow in the re-focused sheet

Note that for 4.2.6.3 each time the table gets focus, it claims focus. Also
note that each time you down arrow and an active-descendant-changed event is
seen, the table emitting that event claims to be focused. In contrast, in 4.3
the state-changed events for gaining focus are absent. And while the sheet
initially claims to be focused, once it loses focus it never reclaims it. This
is why, as the users have described, Orca stops presenting the events: Users
don't want to hear events for objects they are not in.


===============
Calc v. 4.2.6.3
===============

object:state-changed:focused(1, 0, 0)
    source: [table | Sheet Sheet1]
    host_application: [application | soffice]
Event source is focused: True

object:active-descendant-changed(1024, 0, [table cell | Cell A2 ])
    source: [table | Sheet Sheet1]
    host_application: [application | soffice]
Event source is focused: True

object:active-descendant-changed(2048, 0, [table cell | Cell A3 ])
    source: [table | Sheet Sheet1]
    host_application: [application | soffice]
Event source is focused: True

object:state-changed:focused(0, 0, 0)
    source: [table | Sheet Sheet1]
    host_application: [application | soffice]
Event source is focused: False

object:state-changed:focused(1, 0, 0)
    source: [table | Sheet Sheet1]
    host_application: [application | soffice]
Event source is focused: True

object:active-descendant-changed(2048, 0, [table cell | Cell A3 ])
    source: [table | Sheet Sheet1]
    host_application: [application | soffice]
Event source is focused: True

object:active-descendant-changed(3072, 0, [table cell | Cell A4 ])
    source: [table | Sheet Sheet1]
    host_application: [application | soffice]
Event source is focused: True

===============
Calc v. 4.3.1.1
===============

object:active-descendant-changed(1024, 0, [table cell | A2])
    source: [table | Sheet Sheet1]
    host_application: [application | soffice]
Event source is focused: True

object:active-descendant-changed(2048, 0, [table cell | A3])
    source: [table | Sheet Sheet1]
    host_application: [application | soffice]
Event source is focused: True

object:state-changed:focused(0, 0, 0)
    source: [table | Sheet Sheet1]
    host_application: [application | soffice]
Event source is focused: False

object:active-descendant-changed(2048, 0, [table cell | A3])
    source: [table | Sheet Sheet1]
    host_application: [application | soffice]
Event source is focused: False

object:active-descendant-changed(3072, 0, [table cell | A4])
    source: [table | Sheet Sheet1]
    host_application: [application | soffice]
Event source is focused: False

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to