Public bug reported:

When switching from a power source (e.g., "Laptop battery") to another
power source (e.g. "AC adapter"), where the latter does not have the tab
which was selected in the former, then no information at all is
displayed.

Ubuntu 21.04, gnome-power-manager 3.32.0-2

Actual behavior
===============

1. `gnome-power-statistics` starts with "AC adapter" selected left and 
"Details" tab being shown on the right
2. Click on "Laptop battery" left: Laptop battery "Details" tab is shown on the 
right
3. Click on "History" or "Statistics" tab: The appropriate information for 
"Laptop battery" is shown on the right. So far, so good.
4. Click on "AC adapter" left again: Now, *nothing* is shown on the right. This 
should not happen.

Expected behavior
=================
4. Click on "AC adapter": "Details" tab should be shown. (In general: *Any* tab 
should be shown, but here, "Details" is the only one available.)

This is probably a result from trying to fix
https://bugs.launchpad.net/ubuntu/+source/gnome-power-
manager/+bug/766876

** Affects: gnome-power-manager (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1927958

Title:
  Switching power source retains tab, even if it does not exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/1927958/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to