Bug 163394 - Document loading or reloading is not reported to Accerciser
Summary: Document loading or reloading is not reported to Accerciser
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.2.1 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: a11y, Accessibility
  Show dependency treegraph
 
Reported: 2024-10-12 03:50 UTC by BogdanB
Modified: 2024-10-16 06:33 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BogdanB 2024-10-12 03:50:46 UTC
Description:
To reproduce:
1. Open a LibreOffice application (I tested Writer).
2. Open Accerciser.
3. Load a new document, or reload an existing document, File - Reload.

Steps to Reproduce:
To reproduce:
1. Open a LibreOffice application (I tested Writer).
2. Open Accerciser.
3. Load a new document, or reload an existing document, File - Reload.

Actual Results:
Nothing is reported for document loading or reloading.

Expected Results:
Document loading should be reported, especially for big documents that needs more time.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Tested with
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 1 Michael Weghorn 2024-10-16 06:33:08 UTC
Confirmed. As discussed during LibOCon:

AT-SPI has document:load-complete, document:load-stopped, document:reload events that can be monitored in Accerciser, but LO currently doesn't send these.

A `git grep document:load-complete` in Orca's git repo gives results, suggesting that it makes use of those events (at least for web browsers, as it's used in Orca's Chromium, Gecko and WebKitGTK scripts).

IAccessible2 on Windows has similar events, see https://accessibility.linuxfoundation.org/a11yspecs/ia2/docs/html/_accessible_event_i_d_8idl.html#ae26846b6d521727ab696d20c3f43c0b5 :

IA2_EVENT_DOCUMENT_LOAD_COMPLETE
IA2_EVENT_DOCUMENT_LOAD_STOPPED 
IA2_EVENT_DOCUMENT_RELOAD

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 34b95e12a839cbcf4818bbb0b2ce26b85999e856
CPU threads: 32; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded