free -h total used free shared buff/cache available Mem: 3.8G 1.4G 1.5G 50M 1.0G 2.2G Swap: 8.4G 0B 8.4G So it seems as if I am using none of my swap, Yet, it seems to show the same amount used as my root partition. Reproducible: Always Steps to Reproduce: 1. Start Partition Manager 2. View > Refresh Devices and File > Quit and re-starting it return the same results Actual Results: See URL and Attachment. Expected Results: Something like the results from free -h total used free shared buff/cache available Mem: 3.8G 1.4G 1.5G 50M 1.0G 2.2G Swap: 8.4G 0B 8.4G Actually Manjaro, but Arch was the closest in the pull-down. Version 2.2.1 Using: KDE Frameworks 5.24.0 Qt 5.7.0 (built against 5.7.0) The xcb windowing system
Created attachment 100651 [details] Screenshot of Partition Manager
*** Bug 367474 has been marked as a duplicate of this bug. ***
Created attachment 100652 [details] Screenshot from GParted from a live USB
Created attachment 100653 [details] Screenshot of Partion Manager from Kubuntu Live USB
We don't really have code to read swap usage. I guess one way to fix this bug is to add that code, e.g. check /proc/swaps like GParted does. The other is to simply do not report swap usage (since it is not really relevant for resizing, you can't resize active swap partition and inactive does not have any used space), but I guess the first option is nicer.
Git commit 5ab60c6dfadd5cf2e941d0105ff598092031f9b5 by Andrius Štikonas. Committed on 29/08/2016 at 11:12. Pushed by stikonas into branch 'master'. Enable used space reporting for swap. M +5 -0 src/core/lvmdevice.cpp M +26 -5 src/fs/linuxswap.cpp M +5 -0 src/fs/linuxswap.h M +4 -0 src/plugins/libparted/libpartedbackend.cpp http://commits.kde.org/kpmcore/5ab60c6dfadd5cf2e941d0105ff598092031f9b5