https://bugs.documentfoundation.org/show_bug.cgi?id=161444

Michael Weghorn <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |
             Status|NEW                         |ASSIGNED

--- Comment #4 from Michael Weghorn <[email protected]> ---
(In reply to Joanmarie Diggs from comment #2)
> Michael: Could you please take a look at this? Thanks in advance!

Yes, and sorry for not getting to it earlier.

> From debugging things on the Orca side, it looks like the following is
> taking place when moving from Sheet 1 to Sheet 2:
> 
> 1. The document fires object:children-changed:remove for Sheet 1
> 2. The document fires object:children-changed:add for Sheet 2
> 3. Sheet 2 fires object:active-descendant-changed for the selected cell

Thanks for the detailed analysis, this is exactly what happens.
Sending a state-changed:focused event for the sheet totally makes sense to me.
Pending Gerrit change implementing it:
https://gerrit.libreoffice.org/c/core/+/173331

With that in place, the events are as I understand your suggestion. From
Accerciser's event monitor:


    86.3 object:children-changed:remove(0, 0, [table | Sheet Sheet2])
            source: [document spreadsheet | Untitled 1 - LibreOfficeDev
Spreadsheets]
            application: [application | soffice]
    86.3 object:children-changed:add(0, 0, [table | Sheet Sheet3])
            source: [document spreadsheet | Untitled 1 - LibreOfficeDev
Spreadsheets]
            application: [application | soffice]
    86.3 object:state-changed:focused(1, 0, 0)
            source: [table | Sheet Sheet3]
            application: [application | soffice]
    86.3 object:active-descendant-changed(212998, 0, [table cell | G14])
            source: [table | Sheet Sheet3]
            application: [application | soffice]

However, when testing this with Orca as of
6f6e0f79ff5d8669591c7c19ecdaca5ec45ab67d, i.e. without your workaround in
place, Orca's behavior remains unchanged for me:

> Expected results: Orca would announce the name of the sheet before
> announcing the selected cell.
> 
> Actual results: Orca just announces the selected cell.

Any thoughts?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to