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:
CC maintainer of Cinnamon
does any other app have the same issue, like xchat for example? I'll try and setup cinnamon and see if I can reproduce
FTR the icon appears in system tray for virt-manager here on cinnamon http://imgur.com/Dnf7fjp
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.
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?
Reinstallation does not seem to change anything.
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...
Created attachment 1077395 [details] virt-manager --debug
(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.
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?
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.
Created attachment 1094519 [details] sample desktop
Apropos playing around with the symbols setting changed to any other option like for instance default, elementary, Fedora, Adwaita, or nimbus does not help.
Works fine here.
Created attachment 1094866 [details] sample desktop
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
$ rpm -qa | grep libappindicator libappindicator-gtk3-12.10.0-8.fc22.x86_64 Thanks a lot for your investigation.
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
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)
# 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.
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
virt-manager-1.2.1-3.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-cdb691dcd9
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
You forgot to apply the patch.
virt-manager-1.2.1-4.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-ad893bbf01
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
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.