** Branch linked: lp:~eeejay/notify-osd/text_iface -- add atk text interface to bubbles https://bugs.launchpad.net/bugs/362221 You received this bug notification because you are a member of Notify OSD Developers, which is subscribed to Notify OSD.
Status in Notify OSD: New Bug description: As text in notification bubbles are fairly dynamic, an atk text interface will help assistive technologies distinguish between replaces and appends. There should also be as much support for advanced text features as possible. Here is a list of interface methods, and the feasibility of having them given the current limitations in the bubble rendering code: Accessibility::Text::getText Accessibility::Text::getCharacterAtOffset These should be easy to implement, simply get the bubble's body contents. Accessibility::Text::getTextAfterOffset, Accessibility::Text::getTextAtOffset, Accessibility::Text::getTextBeforeOffset These will be problematic to implement fully, specifically because it requires knowledge of line boundaries. Accessibility::Text::removeSelection Accessibility::Text::setCaretOffset Accessibility::Text::setSelection Accessibility::Text::getSelection Accessibility::Text::addSelection These simply should return false or zero values since the bubble is not editable, selectable or caret navigable. Accessibility::Text::getCharacterExtents Accessibility::Text::getRangeExtents Accessibility::Text::getOffsetAtPoint Accessibility::Text::getBoundedRanges These will be problematic to implement since the text rendering is flat - no extents information is stored after the bubble is rendered. Accessibility::Text::getAttributeValue Accessibility::Text::getAttributes Accessibility::Text::getAttributeRun Should be possible to implement. The good news is that there is only one "attribute run" since the bubble's body does not support markup. The bad news is that we will probably need to retrieve the information directly from defaults.c, or whatever config backend we use, since the bubble does not store enough text attribute info itself. _______________________________________________ Mailing list: https://launchpad.net/~dx-team Post to : [email protected] Unsubscribe : https://launchpad.net/~dx-team More help : https://help.launchpad.net/ListHelp

