Bug 393066

Summary: No Swap partition but Swap graph present
Product: [Applications] ksysguard Reporter: markuss <kamikazow>
Component: ksysguardAssignee: KSysGuard Developers <ksysguard-bugs>
Status: CONFIRMED ---    
Severity: normal CC: bugseforuns, pointless, rea96efg, richard.llom
Priority: NOR    
Version: 5.12.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=404637
Latest Commit: Version Fixed In:
Attachments: screenshot taken on Arch Linux, plasma 5.12.4

Description markuss 2018-04-12 20:17:22 UTC
Apparently previously fixed in Plasma 4 (Bug 245762), it has returned in Plasma 5:

I have no Swap partition but a Swap graph is shown anyways (always at zero).

Expected behaviour: Don't show that graph at all.
Comment 1 Patrick Silva 2018-04-22 20:12:27 UTC
Created attachment 112173 [details]
screenshot taken on Arch Linux, plasma 5.12.4
Comment 2 someusername 2018-06-05 01:57:15 UTC
I registered here to report this.

I read kmi, Dr.Chapatin comments. Fully agree and confirm the bug presence.

Please get rid from that zero-level line of the entire swapping technology turned off.
O level line means availability of swap but not in use for that very moment.
Disabling of all swapping itself should lead to line absence, not zero-line.

Example:
Imagine we have 3 SSDs on the system. One day we removed and sold couple of them. So now we have only 1 SSD connected.
But some utility shows us that we have 3 SSDs but two of them has capacity of 0.
It is not correct and ridiculous, right?

If to hide that 0-level swap line if swapping was turn off, then we have good illustration of swapping state/mode: disabled.

Showing always 0-level swap line is not informative and leads to confusion:
(is is enabled and not using at that time)
or
(is it disabled).

May be to check, for example, the
swapon --show
output to decide to hide that line or not?

Thank you all!

---
Manjaro KDE 17.1.10 (stable branch).

KDE Plasma version: 5.12.5
KDE Frameworks version: 5.46.0
Qt version: 5.10.1
Kernel version: 4.14.44-1-MANJARO
OS type: 64-bit
Comment 3 pointless 2018-07-14 22:44:33 UTC
Still the same in v5.13.2.

If despite of all msgs you want to list that non-informative zero-level line than make is non-solid for example dashed at least.

Thanks!