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

            Bug ID: 468816
           Summary: After disabling swap, the value of "Used Swap memory
                    percentage" sensor is "nan%"
    Classification: Plasma
           Product: plasmashell
           Version: 5.27.4
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: System Monitor
          Assignee: plasma-b...@kde.org
          Reporter: bugsefor...@gmx.com
                CC: ahiems...@heimr.nl, notm...@gmail.com
  Target Milestone: 1.0

Created attachment 158328
  --> https://bugs.kde.org/attachment.cgi?id=158328&action=edit
screenshot

STEPS TO REPRODUCE
1. add "Memory usage" widget to desktop
2. open the widget settings, go to "sensors details", add "Used Swap memory
percentage" sensor and click on "OK"
3. disable your swap by running "# swapoff /dev/sdxy", where "/dev/sdxy" is
your swap partition

OBSERVED RESULT
as seen in the attached screenshot, "Used Swap memory percentage" is "nan%"

EXPECTED RESULT
replace "nan%", I'm not sure with what. Maybe "Disabled", "Not available,
"Off", etc.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Graphics Platform: Wayland

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

Reply via email to