After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 670802 - optimize setting an accessibles parent to the current parent
optimize setting an accessibles parent to the current parent
Status: RESOLVED OBSOLETE
Product: atk
Classification: Platform
Component: performance
unspecified
Other Linux
: Normal normal
: ---
Assigned To: ATK maintainer(s)
ATK maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-02-25 19:31 UTC by Trevor Saunders (IRC: tbsaunde)
Modified: 2021-06-10 11:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
This is the atspimon.py file generated event log, with zip compressed format. (129.34 KB, application/zip)
2012-03-04 07:44 UTC, Hammer Attila
Details
This is the Trev me sended atspimon.py file (5.76 KB, text/x-python)
2012-03-04 07:45 UTC, Hammer Attila
Details

Description Trevor Saunders (IRC: tbsaunde) 2012-02-25 19:31:11 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.
Comment 1 Hammer Attila 2012-03-04 07:42:33 UTC
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
Comment 2 Hammer Attila 2012-03-04 07:44:05 UTC
Created attachment 208941 [details]
This is the atspimon.py file generated event log, with zip compressed format.
Comment 3 Hammer Attila 2012-03-04 07:45:46 UTC
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
Comment 4 André Klapper 2021-06-10 11:28:08 UTC
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.