Bug Hunting Session
Bug 118748 - Accessibility events missing when Calc cells become unselected due to navigating to focused cell
Summary: Accessibility events missing when Calc cells become unselected due to navigat...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.5.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility, bibisectRequest, regression
Depends on:
Blocks: a11y-Linux
  Show dependency treegraph
 
Reported: 2018-07-13 16:16 UTC by Joanmarie Diggs
Modified: 2019-01-18 15:14 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
aforementioned pyatspi accessible-event listener (277 bytes, text/x-python)
2018-07-13 16:16 UTC, Joanmarie Diggs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joanmarie Diggs 2018-07-13 16:16:14 UTC
Description:
Because Calc doesn't notify Orca when all the cells become unselected, Orca cannot notify the user.

Steps to Reproduce:
Test case 1:
1. Launch the attached pyatspi accessible-event listener in a terminal
2. Launch Calc and give focus to the spreadsheet table
3. With A1 focused, press Shift + Right to select B1 and again to press C1
4. Press Home clearing the selection. Focus will be in A1.

Test case 2:
1. Launch the attached pyatspi accessible-event listener in a terminal
2. Launch Calc and give focus to the spreadsheet table
3. With C1 focused, press Shift + Left to select B1 and again to press A1
4. Press End clearing the selection. Focus will be in C1.


Actual Results:
After step 3 the listener prints out the object:selection-changed event received.

After step 4 the listener fails to print out an object:selection-changed event.

Expected Results:
After step 3 and step 4, the listener would print out an object:selection-changed event because the selection changed in each of those steps.


Reproducible: Always


User Profile Reset: No



Additional Info:
The expected events are seen in both steps 3 and 4 if you modify the steps to reproduce as described below.

Test case 1:
4. Press End (rather than Home) clearing the selection. Focus will move from A1 to C1.

Test case 2:
4. Press Home (rather than End) clearing the selection. Focus will move from C1 to A1.
Comment 1 Joanmarie Diggs 2018-07-13 16:16:45 UTC
Created attachment 143538 [details]
aforementioned pyatspi accessible-event listener
Comment 2 Alex ARNAUD 2018-08-02 17:55:17 UTC
Hello all,

I confirm the issue on Debian 9 "Stretch" with LibreOfficeDev 6.2.0.0.alpha0+
Build ID: d0a481d09e696f6d5a2a0d40a9d5c48cfca559bf.

Best regards,
Alex.
Comment 3 Xisco Faulí 2018-08-07 17:14:09 UTC
it works in

Version: 4.1.0.0.alpha1+
Build ID: a2c9d4f8bbde97f175bae4df771273a61251f40

Adding regression keyword