Bug 404991 - Energy page fails to show multiple batteries
Summary: Energy page fails to show multiple batteries
Status: RESOLVED FIXED
Alias: None
Product: kinfocenter
Classification: Applications
Component: general (show other bugs)
Version: 5.12.7
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-02 15:26 UTC by Uwe Dippel
Modified: 2022-09-27 20:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.26
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Dippel 2019-03-02 15:26:42 UTC
SUMMARY

Despite of multiple batteries being available, and shown within the battery applet as well as tlp, only one battery shows in kinfocenter.
Please refer to 
https://bugs.launchpad.net/bugs/1817420


STEPS TO REPRODUCE
1. Start kinfocenter on a machine with two batteries.
2. 
3. 

OBSERVED RESULT
One battery is shown

EXPECTED RESULT
Both batteries are shown

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Christoph Feck 2019-03-24 12:15:26 UTC
Is the second battery shown in KInfoCenter > Device Information > Device Viewer > Batteries?
Comment 2 Uwe Dippel 2019-03-24 12:39:40 UTC
I should better correct my description. The second battery *is* shown, as a tab. Only, clicking this tab is almost impossible. So I had filed a bug report, under the impression that it was 'just there'. Clicking wildly on the tab makes the second battery show. I can confirm this  behaviour from a multiple of installations.
Comment 3 Massimiliano L 2019-03-28 11:35:13 UTC
(In reply to Uwe Dippel from comment #2)
> I should better correct my description. The second battery *is* shown, as a
> tab. Only, clicking this tab is almost impossible. So I had filed a bug
> report, under the impression that it was 'just there'. Clicking wildly on
> the tab makes the second battery show. I can confirm this  behaviour from a
> multiple of installations.

I can confirm that the switching between tabs does not always work. Sometimes it works, sometimes it blocks, although it seems to get unblocked by clicking some other element in the tab.

Also, after switching tabs, a scroll pane is created even if there is enough space in the window (in fact the default view is plain and does not have any scroll pane).

I should mention that I have a second tab (with a different icon) even without any external battery (although supported), the meaning of which is quite unclear.
Comment 4 Nate Graham 2022-09-27 20:35:59 UTC
This should be fixed now in Plasma 5.26. But this page needs an overhaul in general as the UX is not ideal. Maybe we can steal the Plasma Mobile one, which is pretty good.