https://bugs.kde.org/show_bug.cgi?id=474630

            Bug ID: 474630
           Summary: Battery plasmoid could fail to report current power
                    profile
    Classification: Plasma
           Product: Powerdevil
           Version: 5.27.8
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: weihau.chi...@gmail.com
                CC: m...@ratijas.tk, natalie_clar...@yahoo.de
  Target Milestone: ---

Created attachment 161680
  --> https://bugs.kde.org/attachment.cgi?id=161680&action=edit
Screen capture of battery plasmoid display issue

SUMMARY

Battery plasmoid UI could fail to report current power profile. The slide was
immediately updated to a wrong value after releasing the mouse button, while
the power profile have been changed. Meanwhile, the plasmoid started by
plasmawindowed does not have this problem.

STEPS TO REPRODUCE
1. Click "battery" on the status bar
2. Alter the "power profile" slide

OBSERVED RESULT

The slide reports wrong value, while power profile is actually changed.

EXPECTED RESULT

The slide reports correct value indicating current power profile.

SOFTWARE/OS VERSIONS
Linux: Arch Linux, kernel version 6.5.3-arch-1-1 x86_64, fully updated
Graphics: X11
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION

The video attached contains:
- values from gdbus introspect ..., on Konsole at the top
- a functioning plasmoid started with plasmawindowed, at the left side
- a problematic plasmoid in the status bar, at the right side

It shows:
- When altering with the plasmawindowed plasmoid, everything works just as
expected.
- The status bar plasmoid display is bugged, while power values changed.

No error log was produced when tampering with the problematic plasmoid, but
when twitching the functioning one, journalctl reports error:

```
file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/PowerProfileItem.qml:108:
TypeError: Type error
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to