Bug 1257949 - No system tray icon in Cinnamon session
Summary: No system tray icon in Cinnamon session
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-28 12:52 UTC by Raphael Groner
Modified: 2015-12-28 23:55 UTC (History)
6 users (show)

Fixed In Version: virt-manager-1.2.1-4.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-28 23:55:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
wrong system tray icon (1.08 KB, image/png)
2015-08-28 12:52 UTC, Raphael Groner
no flags Details
virt-manager --debug (13.91 KB, text/plain)
2015-09-26 11:28 UTC, Raphael Groner
no flags Details
sample desktop (1015.78 KB, image/png)
2015-11-15 17:25 UTC, Raphael Groner
no flags Details
sample desktop (1.09 MB, image/png)
2015-11-16 12:57 UTC, Raphael Groner
no flags Details

Description Raphael Groner 2015-08-28 12:52:45 UTC
Created attachment 1067981 [details]
wrong system tray icon

Description of problem:
There's no special icon in system tray of Cinnamon.

Version-Release number of selected component (if applicable):
virt-manager-1.2.1-2.fc22.noarch
cinnamon-2.6.13-2.fc22.x86_64

How reproducible:
yes

Steps to Reproduce:
1. launch Cinnamon session
2. start virt-manager
3. look at system tray icons area

Actual results:
no special icon, icon gets displayed as forbidden or n/a (see attachment)

Expected results:
standard application icon of virt-manager is shown in system tray

Additional info:

Comment 1 Raphael Groner 2015-08-28 12:54:53 UTC
CC maintainer of Cinnamon

Comment 2 Cole Robinson 2015-08-31 23:14:50 UTC
does any other app have the same issue, like xchat for example?

I'll try and setup cinnamon and see if I can reproduce

Comment 3 leigh scott 2015-09-01 09:50:49 UTC
FTR the icon appears in system tray for virt-manager here on cinnamon

http://imgur.com/Dnf7fjp

Comment 4 Raphael Groner 2015-09-01 10:07:54 UTC
Xchat and Hexchat (fork of xchat) icons are visible, also all other icons of applications I use daily: Thunderbird (via KDocker, Qt5), Psi+ (Qt4 based), Redshift, GPaste, yumex-dnf, Hexchat.

Comment 5 Cole Robinson 2015-09-01 17:06:06 UTC
I just setup cinnamon in an f22 VM, and I couldn't reproduce the issue: virt-manager icon showed up fine. Does reinstalling virt-manager make any difference?

Comment 6 Raphael Groner 2015-09-14 11:18:21 UTC
Reinstallation does not seem to change anything.

Comment 7 Cole Robinson 2015-09-24 20:40:18 UTC
Raphael can you run './virt-manager --debug' and show the full output when going to the preferences dialog and turning the tray icon off and on?

Do you any other desktop enviroment installed? would be interesting to see if it also reproduces on gnome for example...

Comment 8 Raphael Groner 2015-09-26 11:28:33 UTC
Created attachment 1077395 [details]
virt-manager --debug

Comment 9 Raphael Groner 2015-09-26 11:34:39 UTC
(In reply to Cole Robinson from comment #7)
> Raphael can you run './virt-manager --debug' and show the full output when
> going to the preferences dialog and turning the tray icon off and on?

See attachment #1077395 [details] of comment #8.

The b0rken icon disappears immediately when I uncheck the option in preferences dialog, and it appears as such when I recheck.

> Do you any other desktop enviroment installed? would be interesting to see
> if it also reproduces on gnome for example...

Sorry, I use Cinnamon only currently in my production system. If the provided log does help not that much as I doubt, I could try with GNOME also but I do not want to pollute my host system if avoidable.

Comment 10 Cole Robinson 2015-11-02 20:36:25 UTC
So I'm still stumped. I don't know how this could be a virt-manager problem, but then again I also don't understand what the root issue could be.

Do you have any custom gtkrc settings or anything?
Are you using a non-default theme?
Did you change any panel settings?
Can you show a full screenshot of your desktop and maybe something will stick out WRT your local config?

Comment 11 Raphael Groner 2015-11-15 17:22:18 UTC
Okay, you're trying to say it might be more like a bug in cinnamon. Let's reassing and ask what the cinnamon maintainer thinks.

My used desktop theme is "Glass Fedora" with Adwaita controls and elegant icons. No manual changes known to gtkrc. I'll attach also a screen shot of the upper panel with icons tray area in the right corner.

Comment 12 Raphael Groner 2015-11-15 17:25:26 UTC
Created attachment 1094519 [details]
sample desktop

Comment 13 Raphael Groner 2015-11-15 17:30:23 UTC
Apropos playing around with the symbols setting changed to any other option like for instance default, elementary, Fedora, Adwaita, or nimbus does not help.

Comment 14 leigh scott 2015-11-16 08:07:48 UTC
Works fine here.

Comment 15 Raphael Groner 2015-11-16 12:57:54 UTC
Created attachment 1094866 [details]
sample desktop

Comment 16 Cole Robinson 2015-11-16 16:11:49 UTC
Reopening and assigning back to virt-manager (for now) because I think I might know the issue... Raphael what's the output of rpm -qa | grep libappindicator

Comment 17 Raphael Groner 2015-11-16 17:09:00 UTC
$ rpm -qa | grep libappindicator
libappindicator-gtk3-12.10.0-8.fc22.x86_64

Thanks a lot for your investigation.

Comment 18 Cole Robinson 2015-11-16 17:13:36 UTC
yeah virt-manager using libappindicator explains the difference we were all seeing... virt-manager will use it if its on the system, so things work correctly on ubuntu, but the library is also in fedora.

but I need to figure out if virt-manager is doing something wrong, or it's a libappindicator issue

Comment 19 Cole Robinson 2015-11-17 19:06:22 UTC
Raphael, can you try this:

sudo sed -i -e "s/virt-manager-icon/virt-manager/g" /usr/share/virt-manager/virtManager/systray.py

Restart virt-manager and see if it makes any difference? It's at least part of the problem.

(Even with that fix things are still funky for me with libappindicator on f23 gnome-shell, but there's also tons of gtk warnings, so it could be something f23 specific)

Comment 20 Raphael Groner 2015-11-18 21:28:14 UTC
# dnf remove libappindicator-gtk3
→ icon works

# dnf install libappindicator-gtk3
→ icon b0rken

# sed -i -e "s/virt-manager-icon/virt-manager/g" /usr/share/virt-manager/virtManager/systray.py
→ icon works

Thanks, there we go. Unfortunately, I need libappindicator-gtk3 being installed cause uget requires it. For now, I can live with the proposed hotfix via sed command.

Comment 21 Cole Robinson 2015-11-18 23:55:38 UTC
Okay, fixed upstream now:

commit cbef4ad84b9c241d7fad23ac7ef676e1b06ae29d
Author: Cole Robinson <crobinso>
Date:   Wed Nov 18 18:48:30 2015 -0500

    systray: Fix appindicator icon name (bz 1257949)



Also this libappindicator bug tracks some of the other weirdness I was seeing:

https://bugzilla.redhat.com/show_bug.cgi?id=1283434

Comment 22 Fedora Update System 2015-11-25 20:28:41 UTC
virt-manager-1.2.1-3.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-cdb691dcd9

Comment 23 Fedora Update System 2015-11-26 22:54:09 UTC
virt-manager-1.2.1-3.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update virt-manager'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-cdb691dcd9

Comment 24 Raphael Groner 2015-11-27 10:54:09 UTC
You forgot to apply the patch.

Comment 25 Fedora Update System 2015-11-28 01:15:53 UTC
virt-manager-1.2.1-4.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-ad893bbf01

Comment 26 Fedora Update System 2015-11-29 00:54:46 UTC
virt-manager-1.2.1-4.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update virt-manager'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-ad893bbf01

Comment 27 Fedora Update System 2015-12-28 23:55:12 UTC
virt-manager-1.2.1-4.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.