[Bug 965953] Re: Indicator menus are too short and scroll when opened from screen bottom

Lanoxx 965953 at bugs.launchpad.net
Sun Mar 9 23:02:49 UTC 2014


I have been inserting debugging in formation and here is a trace that I
am getting when I click on the Skype entry in the indicator applet. For
some reason, whenever the items in a menu change, then all items of the
menu are removed and then inserted again. For Skype this seems to happen
every single time I open the menu. When I open other menu items such as
bluetooth or Ubuntu One, then the entries are not removed and inserted.
But the menu simply opens. However I can reproduce the same phenomen
with network-manager. When I open the menu and then pull the network
cable I can see how all items get removed and then re-inserted.

Indicator-Applet-Message: button_press_event cb: entry_secondary_activated
Indicator-Applet-Message: size_allocate: New height: 356
Indicator-Applet-Message: entry-activated cb: entry_activated
Indicator-Applet-Message: size_allocate: New height: 356
Indicator-Applet-Message: menu_entry_remove: menu_shell: 0xd4d0c0; child: 0xfb22d0
[ ... 19 repeating entries truncated ... ]
Indicator-Applet-Message: size_allocate: New height: 0
Indicator-Applet-Message: menu_entry_insert: menu_shell: 0xd4d0c0; child: 0xfc82d0
[ ... 15 repeating entries truncated ... ]

(indicator-applet:6978): Gtk-CRITICAL **: gtk_widget_set_accel_path:
assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(indicator-applet:6978): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
Indicator-Applet-Message: menu_entry_insert: menu_shell: 0xd4d0c0; child: 0xfb25f0
Indicator-Applet-Message: menu_entry_insert: menu_shell: 0xd4d0c0; child: 0xfb2460
Indicator-Applet-Message: menu_entry_insert: menu_shell: 0xd4d0c0; child: 0xf9e8f0
Indicator-Applet-Message: menu_entry_insert: menu_shell: 0xd4d0c0; child: 0xfb22d0

(indicator-applet:6978): Gtk-CRITICAL **: gtk_widget_set_accel_path:
assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(indicator-applet:6978): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
Indicator-Applet-Message: menu_entry_insert: menu_shell: 0xd4d0c0; child: 0xffc790
Indicator-Applet-Message: size_allocate: New height: 378
Indicator-Applet-Message: size_allocate: New height: 378

>From the trace I can see there are 20 items removed from the Skype menu,
but 21 added. This explains the 22px size difference between the first
and last size_allocate call. I have not measured this, but it seems the
menu is painted with a height of 356px while at the end it has 378px
thus requiring scrolling.

Note that the menu is a member of 'IndicatorObjectEntry' (from
libindicator) and indicator-applet has no control over adding or
removing entries.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/965953

Title:
  Indicator menus are too short and scroll when opened from screen
  bottom

Status in GTK+ GUI Toolkit:
  Invalid
Status in Indicator Applet:
  Confirmed
Status in “gnome-panel” package in Ubuntu:
  Invalid

Bug description:
  The indicator applet, installed by default in classic session of
  Precise, appears with just some up and down scroll arrows, and I have
  to scroll down before it fills in and shows the 3 items, and then the
  scroll arrows disappear.

  Is it possible to fix this annoying behaviour?

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: gnome-panel 1:3.4.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-20.32-generic 3.2.12
  Uname: Linux 3.2.0-20-generic x86_64
  ApportVersion: 1.95-0ubuntu1
  Architecture: amd64
  Date: Tue Mar 27 08:39:06 2012
  SourcePackage: gnome-panel
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk/+bug/965953/+subscriptions



More information about the Ubuntu-sponsors mailing list