← Back to team overview

dx-packages team mailing list archive

[Bug 1395229] Re: libappindicator does not allow removing icons from the system tray. This leads to Google Chrome leaving 100s of zombie system tray icons in KDE

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: libappindicator (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to libappindicator in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1395229

Title:
  libappindicator does not allow removing icons from the system tray.
  This leads to Google Chrome leaving 100s of zombie system tray icons
  in KDE

Status in “libappindicator” package in Ubuntu:
  Confirmed

Bug description:
  libappindicator has a bug where if the AppIndicator object is unreffed
  but the parent application does not exit, the system tray icon is not
  properly removed from the system tray. On KDE, unreffing AppIndicator
  moves the system tray icon to the overflow menu. On Unity, unreffing
  AppIndicator removes the system tray icon from the system tray but not
  from the list in ApplicationServiceAppstorePrivate::applications in
  application-service-appstore.c (in the indicator-application
  component)

  Chrome uses libappindicator to display HTML5 notifications in Unity and KDE.
  Sample page which generates HTML5 notifications: https://developer.cdn.mozilla.net/media/uploads/demos/e/l/elfoxero/c17223c414d8ddafb7808972b5617d9e/html5-notifications_1400214081_demo_package/index.html
  Chrome displays a "bell" icon in the system tray when there are notifications and attempts to remove it (via unreffing the AppIndicator object) whenever there are no pending notifications. Because of this bug, some Chrome users have reported Chrome leaving 100s of zombie system tray icons.  Some bug reports: crbug.com/419673 https://bugs.kde.org/show_bug.cgi?id=339184

  On Chrome, we have (recently) worked around the libappindicator bug.
  However, it would be nice if the bug got fixed. If each instance of
  AppIndicator acquired a DBus well-known name (called  g_bus_own_name()
  ), it seems that the bug would be fixed. Doing this would allow the
  StatusNotifierWatcher to notice when the AppIndicator object gets
  destroyed. I have attached a hacky (and probably wrong) patch to
  libappindicator (libappindicator.diff) which seems to fix the bug.

  I have also attached a minimal app (app_indicator_demo.c) which
  demonstrates the bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libappindicator/+bug/1395229/+subscriptions


References