[Users] [Bug 2584] GUI redraws itself slowly

Michael codejodler at gmx.ch
Mon Jan 23 01:02:49 CET 2012


Noteworthy, there is one very impressive difference between the 2 kernel versions:

- With kernel 2.6.39, claws File -> Exit closes the Window within a second.
- With kernel 3.0.2, claws needs more than 7 seconds. And it's stucking to the extent that the 'File' pulldown menu does not get 'pulled back' until the Window finally disappears.

It is the same for any other GTK app, closing is ugly slow and even the pulldown stucks. For example, firefox needs ridiculous 15 seconds to disappear. 

This all with, and without gnome-settings-daemon.

QT applications never show any delay here at all, neither in workspace switching, nor in closing the Window, and no matter what kernel. So at least for me, there is a huge difference in the kernel behavior X GTK (so maybe a memory issue?)


-------------- Launching claws --debug (without gsd):

(....)
main.c:1651:TIMING main startup: 0s876ms

Now File -> Exit:

main.c:2169:exiting
folder.c:1216:Counting total number of messages...
main.c:974:The name com.google.code.Awn was not provided by any .service files
mh.c:223:MH scan required, folder updated: /home/mi/Mail (1327275788 > 0)
folder.c:2713:TIMING folder_item_read_cache : 0s000ms
folder.c:2574:Total cache memory usage: 0
msgcache.c:274:TIMING msgcache_get_msg_list : 0s000ms
mh.c:1337:TIMING mh_write_sequences : 0s057ms
hooks.c:89:unregisted hook 1 in 'folder_item_update'
hooks.c:89:unregisted hook 1 in 'folder_update'
main.c:1696:shutting down
inc.c:1519:removed timer = 99
mh.c:231:MH scan not required: /home/mi/Mail/queue (1327274906 <= 1327274906)
folder.c:2738:Save cache for folder #mh/Mail/queue
msgcache.c:1169:	Writing message cache to (null) and (null)...
msgcache.c:1250:done.
msgcache.c:1251:TIMING msgcache_write : 0s000ms
mh.c:1369:MH: forced mtime of queue to 1327274906
prefs_gtk.c:287:Found [Common]
prefs_gtk.c:331:Configuration is saved.
addressbook.c:4357:Saving address books...
addressbook.c:4360:Exporting addressbook to file...
main.c:2830:Failed to get state info from NetworkManager: The name org.freedesktop.NetworkManager was not provided by any .service files
main.c:2830:Failed to get state info from NetworkManager: The name org.freedesktop.NetworkManager was not provided by any .service files
plugin.c:260:removing /usr/lib/claws-mail/plugins/pgpinline.so rdeps
plugin.c:260:removing /usr/lib/claws-mail/plugins/smime.so rdeps
plugin.c:260:removing /usr/lib/claws-mail/plugins/pgpmime.so rdeps
plugin.c:260:removing /usr/lib/claws-mail/plugins/pgpcore.so rdeps
plugin.c:264: rdep /usr/lib/claws-mail/plugins/pgpmime.so: (nil)
plugin.c:264: rdep /usr/lib/claws-mail/plugins/pgpinline.so: (nil)
prefs_gpg.c:528:Can't enable gpg agent (no GPG_AGENT_INFO)
plugin.c:260:removing /usr/lib/claws-mail/plugins/attachwarner.so rdeps
hooks.c:89:unregisted hook 1 in 'compose_check_before_send'
attachwarner.c:350:Attachment warner plugin unloaded
plugin.c:260:removing /usr/lib/claws-mail/plugins/archive.so rdeps
prefs_themes.c:417:Finished preferences for themes.


Launching claws --debug with gsd running shows no significant change in launch or quit timing.

Launch time < 1s and Exit does:
(...)
main.c:2169:exiting
folder.c:1216:Counting total number of messages...
main.c:974:The name com.google.code.Awn was not provided by any .service files
mh.c:223:MH scan required, folder updated: /home/mi/Mail (1327276022 > 0)
folder.c:2713:TIMING folder_item_read_cache : 0s000ms
folder.c:2574:Total cache memory usage: 751
msgcache.c:274:TIMING msgcache_get_msg_list : 0s000ms
mh.c:1337:TIMING mh_write_sequences : 0s057ms
hooks.c:89:unregisted hook 1 in 'folder_item_update'
hooks.c:89:unregisted hook 1 in 'folder_update'
main.c:1696:shutting down
inc.c:1519:removed timer = 99
mh.c:223:MH scan required, folder updated: /home/mi/Mail/queue (1327275959 > 1327274906)
folder.c:2738:Save cache for folder #mh/Mail/queue
msgcache.c:1169:	Writing message cache to (null) and (null)...
msgcache.c:1250:done.
msgcache.c:1251:TIMING msgcache_write : 0s000ms
prefs_gtk.c:287:Found [Common]
prefs_gtk.c:331:Configuration is saved.
addressbook.c:4357:Saving address books...
addressbook.c:4360:Exporting addressbook to file...
main.c:2830:Failed to get state info from NetworkManager: The name org.freedesktop.NetworkManager was not provided by any .service files
main.c:2830:Failed to get state info from NetworkManager: The name org.freedesktop.NetworkManager was not provided by any .service files
plugin.c:260:removing /usr/lib/claws-mail/plugins/pgpinline.so rdeps
plugin.c:260:removing /usr/lib/claws-mail/plugins/smime.so rdeps
plugin.c:260:removing /usr/lib/claws-mail/plugins/pgpmime.so rdeps
plugin.c:260:removing /usr/lib/claws-mail/plugins/pgpcore.so rdeps
plugin.c:264: rdep /usr/lib/claws-mail/plugins/pgpmime.so: (nil)
plugin.c:264: rdep /usr/lib/claws-mail/plugins/pgpinline.so: (nil)
prefs_gpg.c:528:Can't enable gpg agent (no GPG_AGENT_INFO)
plugin.c:260:removing /usr/lib/claws-mail/plugins/attachwarner.so rdeps
hooks.c:89:unregisted hook 1 in 'compose_check_before_send'
attachwarner.c:350:Attachment warner plugin unloaded
plugin.c:260:removing /usr/lib/claws-mail/plugins/archive.so rdeps
prefs_themes.c:417:Finished preferences for themes.



More information about the Users mailing list