Indicator icon and name are not set properly in System Tray fallback

Bug #875770 reported by Marcelo Kobs
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
indicator-fish
Triaged
Undecided
Unassigned
libappindicator
Fix Released
Medium
Ted Gould

Bug Description

Using Ubuntu 11.10 64 bits and gnome-shell, indicators will appear as system tray applets in the shell's window list area. These applets have technical names, such as "indicator-fish-client" and "indicator-weather," which are visible upon mousing over each applet. In addition, the applets' icons, set with AppIndicator.set_icon_full, are replaced by the missing icon icon.

This has been observed with indicator-fish and indicator-weather.

The problem does NOT occur with indicator-multiload.

Related branches

Revision history for this message
Marcelo Kobs (kobops) wrote :
summary: - Cant see "the indicator-fish PIC" in the system bottom tray (gnome 3)
+ Indicator icon and name are not set properly in System Tray fallback
Changed in libappindicator:
status: New → Confirmed
Changed in indicator-fish:
status: New → Triaged
Revision history for this message
Dylan McCall (dylanmccall) wrote :

Here is why it doesn't happen in indicator-multiload:

    private void updategraphsview() {
        this.indicator.set_icon(this.iconwrite());
        // fix icon size if using the fallback GtkStatusIcon
        foreach (var toplevel in Gtk.Window.list_toplevels()) {
            if (toplevel.get_type().name() != "GtkTrayIcon" || !(toplevel is Gtk.Container))
                continue;
            ((Gtk.Container) toplevel).foreach((w) => {
                if (!(w is Gtk.Image))
                    return;
                ((Gtk.Image) w).pixel_size = (int) uint.max(this.lasticonwidth, this.height);
            });
        }
    }

description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

bug #885080 with ibus and gnome-shell is somewhat similar to that issue

Ted Gould (ted)
Changed in libappindicator:
status: Confirmed → In Progress
milestone: none → 0.4.91
importance: Undecided → Medium
assignee: nobody → Ted Gould (ted)
Ted Gould (ted)
Changed in libappindicator:
status: In Progress → Fix Committed
Ted Gould (ted)
Changed in libappindicator:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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