! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-power-manager-1.2.0: double tray icon with >=upower-0.9.21 and Logitech...
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description John Doe 2013-09-02 08:59:48 CEST
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.
Comment 1 John Doe 2013-09-02 09:13:52 CEST
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.
Comment 2 Alkapile 2013-11-05 05:09:38 CET
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
Comment 3 John Doe 2013-11-05 09:30:52 CET
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.
Comment 4 Alkapile 2013-11-05 12:02:12 CET
(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.
Comment 5 John Doe 2013-11-05 13:03:10 CET
(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.
Comment 6 Alkapile 2013-11-05 13:43:41 CET
Ok. Thank you for answering my questions. I'll wait for a fix soon.
Comment 7 Simon Steinbeiss editbugs 2014-05-29 09:59:37 CEST
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.

Bug #10327

Reported by:
John Doe
Reported on: 2013-09-02
Last modified on: 2014-05-29

People

Assignee:
Ali Abdallah
CC List:
4 users

Version

Attachments

Additional information