Bug 104351 - Accessible text-attributes-changed signals should not be emitted when starting new paragraph
Summary: Accessible text-attributes-changed signals should not be emitted when startin...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.2.3 release
Hardware: All Linux (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
Depends on: 71556
Blocks: a11y-Linux
  Show dependency treegraph
 
Reported: 2016-12-02 11:09 UTC by Aron Budea
Modified: 2026-03-17 16:57 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
Listener from tdf71556 for convenience (285 bytes, text/x-python)
2026-03-17 16:51 UTC, cwendling
Details
Sample document (11.57 KB, application/vnd.oasis.opendocument.text)
2026-03-17 16:57 UTC, cwendling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2016-12-02 11:09:49 UTC
This is a followup report for bug 71556 ("Accessible text-attributes-changed signals should only be emitted when the text attributes have changed [a11y]").
The majority of the issues is gone with Jacobo's fix, but there's still a small remaining issue:

"After the patch, most of the unwanted text-attributes-changed events are now gone. Still, the event shows up when you type the first letter of a new paragraph." [1]


The fix for the majority of bug 71556 for reference:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=dddae1f0b950f1ce8ab4bcd24991f1917fa36aa6

"fdo#71556: Remove unwanted a11y event on text insertion"


[1] https://bugs.documentfoundation.org/show_bug.cgi?id=71556#c8
Comment 1 Xisco Faulí 2019-01-23 11:24:23 UTC
Hi Noel/Michael,
Since you fix bug 117935, I thought you might be interested in this one as well...
Comment 2 QA Administrators 2023-01-20 03:24:40 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2025-01-20 03:09:23 UTC Comment hidden (obsolete)
Comment 4 cwendling 2026-03-17 16:51:16 UTC
Created attachment 206242 [details]
Listener from tdf71556 for convenience
Comment 5 cwendling 2026-03-17 16:57:00 UTC
Created attachment 206243 [details]
Sample document

Confirmed it's still relevant as of LODev26.8alpha0.

Run the listener script attached, open attached document, and follow the instructions.  You'll see the spurious events (given you have the en_US speller).

The events are only emitted if the current paragraph has a misspelled word (italics or bold don't make it happen), or if removing an empty paragraph with an equally empty one above it (odd, indeed).