Bug 445299

Summary: Dolphin and Disks & Devices applet report capacity of removable device as '0 B' after formatting without label
Product: [Frameworks and Libraries] frameworks-kio Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: a.samirh78, kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: 5.87.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.89
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2021-11-10 22:07:29 UTC
Created attachment 143427 [details]
screenshot

STEPS TO REPRODUCE
1. open Dolphin
2. connect a removable storage device to usb port (I use a flash drive)
3. format your device without any label (I used Gnome Disks to format my device with ntfs file system)
4.  observe the capacity of your device in the Places panel of Dolphin
5. click on Disks & Devices applet in system tray and observe the capacity of your device there

OBSERVED RESULT
as we can see in the attached screenshot, device capacity is incorrectly reported as '0 B' in the Places panel of Dolphin and Disks & Devices applet

EXPECTED RESULT
the capacity of a device should always be correctly reported

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Graphics Platform: Wayland