Public bug reported:
Binary package hint: network-manager-gnome
Ubuntu 8.04, network-manager-gnome 0.6.6-0ubuntu3.
I've been irritated by a flicking in the top-right corner of the screen
since using 8.04. Trial and error suggests it's nm-applet and running
"ltrace -p `pidof nm-applet` -e '!g_direct_hash' -ttt" shows it's
triggering updates once a second. Here's the chunk of output for one
second.
1210599217.427325 dcgettext(0, 0x806dce6, 5, 0xbfd411a8, 0xb762c248)
= 0x806dce6
1210599217.427626 g_strdup(0x806dce6, 0x806dce6, 5, 0xbfd411a8, 0xb762c248)
= 0x8269e00
1210599217.427769 gtk_tooltips_set_tip(0x81b3000, 0x809b200, 0x8269e00, 0,
0xb762c248 <unfinished ...>
1210599217.427979 g_free(0x82fc400, 0x82fac1c, 0xbfd40f68, 0xb765ca54,
0x82fa230) = 0
1210599217.428149 <... gtk_tooltips_set_tip resumed> )
= 1
1210599217.428193 g_free(0x8269e00, 0x8269e00, 0x8269e00, 0, 0xb762c248)
= 0x82f80c0
1210599217.428329 gdk_pixbuf_copy(0x80cc020, 0xb7555ff4, 0xb7557160, 0x8269e00,
0xbfd41138) = 0x81accb8
1210599217.428565 gtk_image_get_type(0x80e0020, 0xb7555ff4, 0xb7557160,
0x8269e00, 0xbfd41138) = 0x80a18a0
1210599217.428699 g_type_check_instance_cast(0x809caf0, 0x80a18a0, 0xb7557160,
0x8269e00, 0xbfd41138) = 0x809caf0
1210599217.428830 gtk_image_set_from_pixbuf(0x809caf0, 0x81accb8, 0xb7557160,
0x8269e00, 0xbfd41138) = 1
1210599217.429063 gtk_widget_get_type(0x809caf0, 0x81accb8, 0xb7557160,
0x8269e00, 0xbfd41138) = 0x809fe38
1210599217.429197 g_type_check_instance_cast(0x80e0020, 0x809fe38, 0xb7557160,
0x8269e00, 0xbfd41138) = 0x80e0020
1210599217.429326 gtk_widget_set_size_request(0x80e0020, -1, -1, 0x8269e00,
0xbfd41138) = 1
1210599217.429537 g_type_check_instance_cast(0x80e0020, 0x809fe38, -1,
0x8269e00, 0xbfd41138) = 0x80e0020
1210599217.429671 gtk_widget_size_request(0x80e0020, 0xbfd41144, -1, 0x8269e00,
0xbfd41138) = -1
1210599217.429845 g_type_check_instance_cast(0x80e0020, 0x809fe38, -1,
0x8269e00, 0xbfd41138) = 0x80e0020
1210599217.429979 gtk_widget_set_size_request(0x80e0020, 30, 26, 0x8269e00,
0xbfd41138) = 1
1210599217.430161 g_object_unref(0x81accb8, 30, 26, 0x8269e00, 0xbfd41138)
= 1
1210599217.430296 gtk_widget_get_type(0x8269e00, 0x8269e00, 0x8269e00, 0,
0xb762c248) = 0x809fe38
1210599217.430427 g_type_check_instance_cast(0x80e0020, 0x809fe38, 0x8269e00,
0, 0xb762c248) = 0x80e0020
1210599217.430560 gtk_widget_show(0x80e0020, 0x809fe38, 0x8269e00, 0,
0xb762c248) = 1
1210599217.432000 gdk_window_clear_area(0x809bea8, 0, 0, 30, 22)
= 1
Most of the time, the updates caused by this aren't something I notice.
But every now and again, it flickers and I switch to looking up there to
see what's changed; nothing.
nma_redraw_timeout() in the source is where the 1Hz updates start. I
think it's OK for the querying of the network state to happen then, but
nm-applet should be more clever, and only alter its icon state if it
knows the new values are different from the old. Otherwise, Gtk+ and
GDK are put to work unnecessarily.
** Affects: network-manager-applet (Ubuntu)
Importance: Undecided
Status: New
--
nm-applet causes flicker by needlessly changing itself
https://bugs.launchpad.net/bugs/229559
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs