Bug 93828 - Incorrect and duplicate accessibility events when Writer paragraphs become selected
Summary: Incorrect and duplicate accessibility events when Writer paragraphs become se...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: a11y-Linux
  Show dependency treegraph
 
Reported: 2015-08-31 23:52 UTC by Joanmarie Diggs
Modified: 2017-05-22 14:34 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
pyatspi accessible-event listener (360 bytes, text/x-python)
2015-08-31 23:52 UTC, Joanmarie Diggs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joanmarie Diggs 2015-08-31 23:52:55 UTC
Created attachment 118303 [details]
pyatspi accessible-event listener

Steps to reproduce:
1. Launch the attached pyatspi accessible-event listener in a terminal
2. Launch Writer
3. Type "hello world" and do NOT press return
4. Press Shift+End to select from the beginning of the line to the end

Expected results: A single object:text-selection-changed event

Actual results:
A. The expected object:text-selection-changed event
B. An object:state-changed:selected event
C. An object:selection-changed event
D. Another object:text-selection-changed event

B and C are appropriate for widgets; not paragraphs.

In particular, C is appropriate for parent widgets (Menus, list boxes, the Calc spreadsheet table*, and other widgets which have children and implement AtkSelection).

Similarly, B is appropriate for the selectable children of C (menu items, list items in list boxes, table cells in the Calc spreadsheet table*, and other descendants of widgets which implement AtkSelection).


* Hint: See bug 93825. :)
Comment 1 Buovjaga 2016-05-06 10:48:56 UTC
Repro.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.2.0.0.alpha1+
Build ID: 540fee2dc7553152914f7f1d8a41921e765087ef
CPU Threads: 8; OS Version: Linux 4.5; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Built on April 30th 2016
Comment 2 QA Administrators 2017-05-22 13:41:13 UTC Comment hidden (obsolete)
Comment 3 Alex ARNAUD 2017-05-22 14:34:38 UTC
Dear all,

This bug still happens in :
Version: 5.5.0.0.alpha0+
Build ID: d880df3a44497cdec49017538a9d38d48e543bad
CPU threads: 4; OS: Linux 3.16; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-05-19_07:51:21
Locale: fr-FR (fr_FR.UTF-8); Calc: group

Best regards.