elementary / wingpanel-indicator-power

Wingpanel Power Indicator
GNU General Public License v3.0
26 stars 15 forks source link

power indicator freezes wingpanel when combined with Logitech receiver #15

Open elementaryBot opened 7 years ago

elementaryBot commented 7 years ago

I have been using elementary OS for a few months now and the wingpanel always worked correctly and well. A while ago, I got myself a pair of Logitech devices (mouse and keyboard) that connect to my computer through their unifying receiver. Since Logitech doesn't have its official software for Linux, I installed Solaar. Shortly after, the wingpanel began to freeze very often so I then removed solaar using sudo apt-get purge solaar. The problem is that even after removing solaar and restarting, the unresponsive wingpanel problem persists. Note that this problem only happens when the Logitech receiver is plugged in. I'm not sure if this problem is related with Solaar or not.

I have narrowed down the problem to the power indicator. Uninstalling it fixes the issue, but obviously I'd prefer to keep it and use my Logitech devices if possible. I believe the problem is due to the extra battery indicators on the dropdown showing battery levels of my mouse and keyboard.

Please let me know if you need any more information. I'll add a screenshot of the dropdown power menu with 2 extra indicators if wingpanel stays responsive for long enough.

Launchpad Details: #LP1650771 Arsalan Ahmad - 2016-12-17 16:19:42 +0000

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/44236348-power-indicator-freezes-wingpanel-when-combined-with-logitech-receiver?utm_campaign=plugin&utm_content=tracker%2F60466177&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F60466177&utm_medium=issues&utm_source=github).
elementaryBot commented 7 years ago

Confirmed here as well. Not related to Solaar because I haven't used Solaar on this machine. When my Logitech Unifying receiver is plugged in to USB, the wingpanel freezes. Remove the receiver from USB and the panel snaps back to life. Plug in receiver and it's frozen again ;(

However I just discovered that if you click on the power indicator item in the wingpanel, it seems frozen for about 45 seconds, then it all magically starts working and the problem is gone.

Let me know what I can do to help fix this.

Launchpad Details: #LPC linkx - 2017-02-27 20:32:26 +0000

elementaryBot commented 7 years ago

I can confirm this affects me too.

I have an m705 mouse and a k750 keyboard.

In my case I noticed it takes about 2-3 minutes after boot for the mouse battery percentage to be displayed. Everything works fine before and after that point.

The problem seems to be with the keyboard. It takes between 25-30 minutes after boot for the applet to figure out the battery percentage of the keyboard.

When It does figure out the keyboard battery % , That is when it freezes up the wingpanel. If I unplug the receiver and plug it back in (after the wingpanel freezes) , It will work again AND THEN it shows a percentage for the keyboard battery.

I thought I would help troubleshoot a bit instead of just adding a me-too..

p.s. I just figured out if I turn the keyboard power switch off and then back on again, the wingpanel unfreezes and shows the keyboard percentage. Definitely seems to be tied to the keyboard in my case and the bug seems to be at the point when it does finally figure out the percentage..

If someone picks up this bug and needs more testing done, just let me know.

Thanks. Greg

Launchpad Details: #LPC Greg - 2017-03-25 13:00:00 +0000

elementaryBot commented 7 years ago

I also have a k750 logitech "solar" keyboard.

Maybe it has its root in the solaar app...

Launchpad Details: #LPC Thureos - 2017-03-31 20:38:36 +0000

tobias-kuendig commented 7 years ago

I can confirm this problem exists with a Logitech M310 mouse and K750 keyboard. I do not have solaar installed.

The indicator does not display any percentage values for the mouse and keyboard after boot. After a few minutes the panel freezes. The panel unfreezes as soon as I turn off the keyboard via the hardware switch. After that, the percentages are shown in the indicator. After a few more minutes the panel is frozen again...

LunkRat commented 6 years ago

As a temporary fix, perhaps we can have a toggle switch to disable the power status checks of peripheral USB devices?

kvdz commented 3 years ago

@peteruithoven is this issue still present on freya 5.1? could you verify?