Issue 104008 - [a11y] emit object:text-attributes-changed events any time text attributes change
Summary: [a11y] emit object:text-attributes-changed events any time text attributes ch...
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 3.1
Hardware: Sun Solaris
: P3 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2009-08-04 19:15 UTC by joaniediggs
Modified: 2013-08-07 14:44 UTC (History)
5 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description joaniediggs 2009-08-04 19:15:09 UTC
(This is a spin-off issue from issue 88069.)

Writer now emits object:text-attributes-changed events at the paragraph level.
These events are not being emitted when only a portion of the text in a
paragraph is being formatted. Any time text attributes change, an
object:text-attributes-changed should be emitted.

In a comment to 88069, OD said:

"... For this issue we have to decide which accessible object should emit this
event and what data (<OldValue> and <NewValue>) this event should contain - let
us discuss this in the new issue."

As much as I would love details about exactly what has changed -- because then
we wouldn't have to try to figure it out ourselves -- it appears that details
are not expected to be provided:
http://library.gnome.org/devel/atk/stable/AtkText.html#AtkText-text-attributes-changed

As for which accessible object should emit this event, it should be the
paragraph which contains the text whose attributes have changed.
Comment 1 eric.savary 2009-08-04 21:37:05 UTC
@OD: You know about this issue.
Retargetting 3.3 thinking we have many other A11y fixes to do for 3.2 but, of
course, feel free to fix it earlier if you can... :)
Comment 2 Oliver-Rainer Wittmann 2009-08-05 09:19:55 UTC
od->joaniediggs:
Ok. 
I will implement in OOo Writer that for attribute changes of text portions
object:text-attributes-changed events are emitted by the corresponding paragraph.
Comment 3 Oliver-Rainer Wittmann 2010-02-16 14:31:28 UTC
fix in progress in cws sw33a11y01
Comment 4 Oliver-Rainer Wittmann 2010-02-17 09:08:46 UTC
solved in cws sw33a11y01 - changed files:
/sw/source/core/text/txtfrm.cxx,
/sw/inc/viewsh.hxx,
/sw/source/core/inc/viewimp.hxx,
change set 3a881cf29a8b
Comment 5 Oliver-Rainer Wittmann 2010-03-11 14:02:05 UTC
OD->ES: Checked in internal installation set of CWS sw33a11y01 - please verify.
To test that object:text-attributes-changed events are emitted, when the
attributes of certain characters of a paragraph are changed you can observe this
event using the Accerciser. Just select a paragraph in the object hierarchy and
observe its object:text-attributes-changed events in the Event Monitor.
Comment 6 eric.savary 2010-04-27 15:13:58 UTC
Verified in CWS sw33a11y01
Comment 7 malte_timmermann 2010-06-23 12:18:36 UTC
Closing accessibility issues which have been fixed, verified and integrated...