After upgrade to upower-0.9.21 I have two tray icons of xfce4-power-manager. The first of them is a normal xfce4-power-manager icon which obeys configuration options. The second one has no icon (it has "missing icon" icon with big "?" in it) and it doesn't obey configuration in the following way: if icon visibility is set to anything but "Never show" it will appear nonetheless, only if I select "Never show" it disappears. For example, if I select "Only show when battery is charging" the first icon disappears when running on AC, but the second one persists. If I downgrade to upower-0.9.20 this icon problem disappears. My OS is Gentoo amd64, if there's any other info you need, I am ready to provide it. Please fix.
I've noticed that this only happens when my Logitech Unifying mouse is plugged in. If I unplug it then the second icon disappears, but when I plug it back it also reappears back.
Yeah, it's happening with me as well. My OS is Manjaro amd64 and it's hard to believe that bug just occurs when my mouse is plugged. My mouse is a Logitech model Anywhere MX. I thought that bug was a issue with my OS, but it's not. I'll post a link with a picture to the people understand what's happening. If i try to remove the tray icon, the Power Manager will be removed as well. Sad but true. See the picture here: http://s22.postimg.org/i80pa3wyp/Screenshot_11042013_07_44_02_PM.png
This is not actually a bug in xfce4-power-manager. Recent upower version added batteries monitoring for wireless mouse.xfce4-power-manager isn't updated to handle this new feature. However, it enumerates these batteries as wellб since they appear to be exported by upower's dbus interface. This is why that tray icon appears.
(In reply to Coacher from comment #3) > This is not actually a bug in xfce4-power-manager. > > Recent upower version added batteries monitoring for wireless > mouse.xfce4-power-manager isn't updated to handle this new feature. > However, it enumerates these batteries as wellб since they appear to be > exported by upower's dbus interface. > This is why that tray icon appears. But do you have any ideia how to fix this? I mean, the only way to fix this is downgrading the upower component? Do you think this issue will be fixed in the future? Did you have to uninstall the other components as well as xfce session and the xfce power manager? Because if i try to remove my upower version 0.9.23-2 and downgrade to 0.20, i must remove the other applications unfortunately. And i don't know if it'll bring more problems for me. Thank you for your consideration.
(In reply to Alkapile from comment #4) > But do you have any ideia how to fix this? This should be fixed by xfce4-power-manager devs/maintainers. Or you can attach a fix yourself ;) > Do you think this issue will be fixed in the future? Well, I can't say I'm not a dev, but I hope it will be fixed prior XFCE 4.12 release. Again, this is not really a bug. It doesn't affect your workflow (at least I haven't spotted any troubles) except for icon in tray area.
Ok. Thank you for answering my questions. I'll wait for a fix soon.
This bug has been fixed in git master (and will be part of the next release). There is now only a single plugin that shows all other devices in a menu instead of separate trayicons.