Download it now!
Bug 92378 - Implement a11y / invalidate all children event
Summary: Implement a11y / invalidate all children event
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
(earliest affected) Master
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
Keywords: accessibility
Depends on:
Blocks: a11y
  Show dependency treegraph
Reported: 2015-06-27 11:04 UTC by Yousuf Philips (jay) (retired)
Modified: 2019-04-02 13:13 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2015-06-27 11:04:25 UTC
1) Open Writer
2) Insert Chart
3) The following message will be printed twice at the console and then printed once after leaving chart edit mode

** (soffice:2826): WARNING **: Invalidate all children called

Build ID: 63384060ec6610ef08af57b981d028c8a177a028
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2015-06-26_07:23:12
Comment 1 Marek Dolezel 2015-07-02 10:26:55 UTC
I can confirm message printed at the console.
Comment 2 Marek Dolezel 2015-07-02 10:27:52 UTC
Forgot info:

Build ID: 14255b68e0b3a5155a588a16096c523156b1ff55
Locale: en-GB (en_GB.utf8)
OS: Fedora 22
Comment 3 Yousuf Philips (jay) (retired) 2015-07-03 13:55:12 UTC
CCing phil, meeks, eike. Are these console warning messges not a problem?
Comment 4 Michael Meeks 2015-07-03 15:07:22 UTC
Random accessibility related warning, almost certainly of no real interest =)

vcl/unx/gtk/a11y/atkutil.cxx-            case accessibility::AccessibleEventId::INVALIDATE_ALL_CHILDREN:
vcl/unx/gtk/a11y/atkutil.cxx:            g_warning( "Invalidate all children called\n" );
vcl/unx/gtk/a11y/atkutil.cxx-            break;

I guess we are missing a mapping to the native platform atk /toolkit for this event:

void DocumentFocusListener::notifyEvent( const accessibility::AccessibleEventObject& aEvent )
    throw( uno::RuntimeException, std::exception )

has no code; same warning on OS/X ... discuss =)
Comment 5 Peter Vágner 2019-03-20 10:37:24 UTC
I am on Arch linux, Gnome 3.32, Libreoffice 6.2.1 and I am getting a different behaviour which I think is even worse than originally described here.

* Make sure orca is running
* Start libre office
* Create an empty spread sheet document
* Press F10 to bring up the menu bar
* Navigate to Insert -> Chart...
* When the dialog box comes up don't change a thing and press the Finish button.

Libre office and the whole accessibility stack will lock up allowing no further interaction unless I restart orca by running
orca --replace
from the terminal.
After restarting orca Libreoffice is still running however as soon as I alt+tab back to its window I can experience the whole lockup again.
So without more hints I am unable to collect more details as while a11y is locked I can't use my machine at all.

I think this is more serious than intended originally.

Part of the terminal output captured while accessibility is locked like this.

** (soffice:1526): WARNING **: 11:18:33.560: Exception in getAccessibleName()

** (soffice:1526): WARNING **: 11:18:33.560: Exception in getAccessibleName()

** (soffice:1526): WARNING **: 11:18:33.561: Exception in getAccessibleName()

** (soffice:1526): WARNING **: 11:18:33.561: Exception in getAccessibleName()

** (soffice:1526): WARNING **: 11:18:34.150: Exception in getSelectedAccessibleChild()

** (soffice:1526): WARNING **: 11:18:34.151: Exception in getSelectedAccessibleChild()

** (soffice:1526): WARNING **: 11:18:34.159: Exception in getSelectedAccessibleChild()

** (soffice:1526): WARNING **: 11:18:34.159: Exception in getSelectedAccessibleChild()

** (soffice:1526): WARNING **: 11:19:05.705: Exception in wrapper_ref_state_set

** (soffice:1526): WARNING **: 11:19:05.705: Exception in getAccessibleName()

** (soffice:1526): WARNING **: 11:19:05.705: Exception in getAccessibleDescription()

** (soffice:1526): WARNING **: 11:19:05.706: Exception in wrapper_ref_state_set

** (soffice:1526): WARNING **: 11:19:05.706: Exception in getAccessibleName()

** (soffice:1526): WARNING **: 11:19:05.706: Exception in getAccessibleDescription()

** (soffice:1526): WARNING **: 11:19:05.707: Exception in wrapper_ref_state_set

** (soffice:1526): WARNING **: 11:19:05.707: Exception in getAccessibleIndexInParent()
Comment 6 Patrick ZAJDA 2019-04-02 13:13:05 UTC
On Writer, when going to insert->chart I have a different message printed:
** (soffice:27509): WARNING **: Exception in getAccessibleName()
It is printed until I leave the insert chart and can edit the document again.
Version info:
Build ID: 8f29f31b41136acbea8ca21525f9623948a1a4b8
CPU threads: 12; OS: Linux 5.0; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-04-02_03:54:06
Locale: fr-FR (fr_FR.UTF-8); UI-Language: en-US
Calc: threaded