Enhance tray icon detection heuristics

Bug #389608 reported by Michael B. Trausch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AllTray
Fix Released
Low
Unassigned

Bug Description

Found in lp:alltray

AllTray’s ability to find a suitable icon to use for display in the system tray/notification area is suboptimal. This bug report makes the (unproved) assumption that libwnck works as expected.

AllTray should try to avoid using a default icon when application software does not provide an application-wide icon. Instead, what AllTray should do is:

 * If a default icon is being used for the application, try to use a window icon from the first window we grab.
 * If a default window icon is being used for the window, just use that and subscribe to icon changes in the hopes that the application will change its mind later.

This will help with ad-hoc ("zero-install") application software and more simplistic software that does not have application icons.

Note that the assumption here is that the application icon is somehow specially acquired.

Changed in alltray:
importance: Undecided → Low
milestone: none → 0.7.4dev
status: New → Confirmed
Revision history for this message
Michael B. Trausch (mtrausch) wrote :

Code for this functionality is now present in lp:alltray r115.

However, there is a bug in libwnck <= 2.26. A GNOME bug has been reported for the issue: http://bugzilla.gnome.org/show_bug.cgi?id=586571

A preliminary fix has been identified, but it has not been well-tested; the author of the fix has been alerted to the bug and the results of my testing the fix for the time being.

Changed in alltray:
status: Confirmed → Fix Committed
Revision history for this message
Michael B. Trausch (mtrausch) wrote :

The bug fix for libwnck has been committed to its upstream repository[1]. Bug 391777 has been submitted against Ubuntu to request integration of the patch to enable libwnck to work properly on Ubuntu 9.04 along with a patch; however, the bug fix will come to Ubuntu's next release, 9.10, as part of the update to the next version of GNOME (2.28), so Ubuntu may or may not accept the request to integrate the patch into 9.04.

[1] http://git.gnome.org/cgit/libwnck/commit/?id=703919ef4bda4e6fb9e60a4df7bd149a056b42ed

Changed in alltray:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.