GNOME Bugzilla – Bug 670802
optimize setting an accessibles parent to the current parent
Last modified: 2021-06-10 11:28:08 UTC
similar to atk_object_set_role() atk_object_set_parent() could check the current parent before continueing, but maybe it makes more sense for applications to ensure this is not the case.
I doed a log file with atspimon.py file, look a little part: object:property-change:accessible-parent(0, 0, [application | Thunderbird]) source: [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird] [<enum ATSPI_STATE_ACTIVE of type StateType>, <enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_FOCUSABLE of type StateType>, <enum ATSPI_STATE_FOCUSED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_RESIZABLE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:property-change:accessible-parent(0, 0, [application | Thunderbird]) source: [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird] [<enum ATSPI_STATE_ACTIVE of type StateType>, <enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_FOCUSABLE of type StateType>, <enum ATSPI_STATE_FOCUSED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_RESIZABLE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:property-change:accessible-parent(0, 0, [application | Thunderbird]) source: [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird] [<enum ATSPI_STATE_ACTIVE of type StateType>, <enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_FOCUSABLE of type StateType>, <enum ATSPI_STATE_FOCUSED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_RESIZABLE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:state-changed:visible(1, 0, 0) source: [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird] [<enum ATSPI_STATE_ACTIVE of type StateType>, <enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_RESIZABLE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:state-changed:visible(1, 0, 0) source: [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird] [<enum ATSPI_STATE_ACTIVE of type StateType>, <enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_RESIZABLE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:children-changed:add(0, 0, [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird]) source: [application | Thunderbird] [<enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:children-changed:add(0, 0, [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird]) source: [application | Thunderbird] [<enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:children-changed:add(0, 0, [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird]) source: [application | Thunderbird] [<enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] window:create(0, 0, - Mozilla Thunderbird) source: [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird] [<enum ATSPI_STATE_ACTIVE of type StateType>, <enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_FOCUSABLE of type StateType>, <enum ATSPI_STATE_FOCUSED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_RESIZABLE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] window:create(0, 0, - Mozilla Thunderbird) source: [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird] [<enum ATSPI_STATE_ACTIVE of type StateType>, <enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_FOCUSABLE of type StateType>, <enum ATSPI_STATE_FOCUSED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_RESIZABLE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] window:maximize(0, 0, - Mozilla Thunderbird) source: [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird] [<enum ATSPI_STATE_ACTIVE of type StateType>, <enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_FOCUSABLE of type StateType>, <enum ATSPI_STATE_FOCUSED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_RESIZABLE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] window:maximize(0, 0, - Mozilla Thunderbird) source: [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird] [<enum ATSPI_STATE_ACTIVE of type StateType>, <enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_FOCUSABLE of type StateType>, <enum ATSPI_STATE_FOCUSED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_RESIZABLE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:state-changed:iconified(0, 0, 0) source: [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird] [<enum ATSPI_STATE_ACTIVE of type StateType>, <enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_RESIZABLE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:state-changed:iconified(0, 0, 0) source: [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird] [<enum ATSPI_STATE_ACTIVE of type StateType>, <enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_RESIZABLE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:state-changed:iconified(0, 0, 0) source: [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird] [<enum ATSPI_STATE_ACTIVE of type StateType>, <enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_RESIZABLE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:state-changed:iconified(0, 0, 0) source: [frame | Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird] [<enum ATSPI_STATE_ACTIVE of type StateType>, <enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_RESIZABLE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:property-change:accessible-parent(0, 0, [statusbar | ]) source: [push button | Összes: 363] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:property-change:accessible-parent(0, 0, [statusbar | ]) source: [push button | Összes: 363] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:property-change:accessible-parent(0, 0, [statusbar | ]) source: [push button | Összes: 363] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:children-changed:add:system(3, 0, [push button | Összes: 363]) source: [statusbar | ] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:children-changed:add:system(3, 0, [push button | Összes: 363]) source: [statusbar | ] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:children-changed:add:system(3, 0, [push button | Összes: 363]) source: [statusbar | ] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:property-change:accessible-parent(0, 0, [statusbar | ]) source: [push button | Olvasatlan: 0] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:property-change:accessible-parent(0, 0, [statusbar | ]) source: [push button | Olvasatlan: 0] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:property-change:accessible-parent(0, 0, [statusbar | ]) source: [push button | Olvasatlan: 0] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:children-changed:add:system(2, 0, [push button | Olvasatlan: 0]) source: [statusbar | ] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:children-changed:add:system(2, 0, [push button | Olvasatlan: 0]) source: [statusbar | ] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:children-changed:add:system(2, 0, [push button | Olvasatlan: 0]) source: [statusbar | ] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:property-change:accessible-parent(0, 0, [scroll pane | ]) source: [push button | ] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>] application: [application | Thunderbird] object:property-change:accessible-parent(0, 0, [scroll pane | ]) source: [push button | ] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>] application: [application | Thunderbird] object:property-change:accessible-parent(0, 0, [scroll pane | ]) source: [push button | ] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>] application: [application | Thunderbird] object:children-changed:add:system(4, 0, [push button | ]) source: [scroll pane | ] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:children-changed:add:system(4, 0, [push button | ]) source: [scroll pane | ] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] object:children-changed:add:system(4, 0, [push button | ]) source: [scroll pane | ] [<enum ATSPI_STATE_ENABLED of type StateType>, <enum ATSPI_STATE_HORIZONTAL of type StateType>, <enum ATSPI_STATE_OPAQUE of type StateType>, <enum ATSPI_STATE_SENSITIVE of type StateType>, <enum ATSPI_STATE_SHOWING of type StateType>, <enum ATSPI_STATE_VISIBLE of type StateType>] application: [application | Thunderbird] Because now my Thunderbird folder have 352 messages only, Thunderbird launching about six second. But when prewious my Thunderbird inbox folder have more than 2200 messages, I need waiting 41 second all Thunderbird application start. I will be attaching entire log. Attila
Created attachment 208941 [details] This is the atspimon.py file generated event log, with zip compressed format.
Created attachment 208942 [details] This is the Trev me sended atspimon.py file I generated the log file with following command: python atspimon.py Thunderbird >event.log 2>&1 Attila
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of atk, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a ticket at https://gitlab.gnome.org/GNOME/atk/-/issues/ Thank you for your understanding and your help.