Bug 28098 - Dolphin shows nonsense calculated size for a root partition
Summary: Dolphin shows nonsense calculated size for a root partition
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-15 09:21 CET by marc fanjoux
Modified: 2021-01-18 17:29 CET (History)
1 user (show)

See Also:
Source RPM: dolphin-20.12.0-3.mga8.src.rpm
CVE:
Status comment:


Attachments
Dolphin partition Properties/General display showing nonsense calculated size (119.55 KB, image/png)
2021-01-16 21:31 CET, Lewis Smith
Details

Description marc fanjoux 2021-01-15 09:21:53 CET
hi 

my ssd :

|----- sda1 (/) 20Go ---|------sda2 (home) 100Go ----|---sd3 (swap) 4Go---|

sda1 /
sda2 home
sda3 swap

why dolphin on sda1: / properties : 128To !!!

Steps to reproduce:
1 open / with dolphin
2 calculation button

Thank you !
Comment 1 Lewis Smith 2021-01-15 15:59:17 CET
Thanks for the report, but it needs some clarification:
Please always say in a bug report for a known package its version:
 $ rpm -q <packagename>
I have presumed the latest.

Please post the output from:
 $  inxi -Dp
and one of EITHER:
 # fdisk -l /dev/sda
OR, if the disc is GPT:
 # gdisk -l /dev/sda
 
Please describe the exact manipulations in Dolphin to show the fault; every single click along the way. And what you mean by "calculation button".

I cannot get it to show '/' for the root partition. Indeed, to open that partition, I had to use the command line with the partition ID. Then it just shows a blank window, Properties for which show 0 bytes. No sign of 'calculate'.

Source RPM: (none) => dolphin-20.12.0-3.mga8.src.rpm
CC: (none) => lewyssmith

Comment 2 marc fanjoux 2021-01-16 09:11:21 CET
Thanks for your answer

dolphin v 20 12 00
kernel-desktop-5.10.7-1.mga8

[marc@localhost ~]$ inxi -Dp
Drives:    Local Storage: total: 119.24 GiB used: 54.94 GiB (46.1%) 
           ID-1: /dev/sda vendor: SanDisk model: SDSSDHP128G size: 119.24 GiB 
Partition: ID-1: / size: 19.1 GiB used: 13.01 GiB (68.1%) fs: ext4 dev: /dev/sda1 
           ID-2: /home size: 94.66 GiB used: 41.93 GiB (44.3%) fs: ext4 dev: /dev/sda2 
           ID-3: swap-1 size: 3.03 GiB used: N/A (0.0%) fs: swap dev: /dev/sda3 
[marc@localhost ~]$ sudo fdisk -l /dev/sda
[sudo] Mot de passe de marc : 
Désolé, essayez de nouveau.
[sudo] Mot de passe de marc : 
Disque /dev/sda : 119,24 GiB, 128035676160 octets, 250069680 secteurs
Modèle de disque : SanDisk SDSSDHP1
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Type d'étiquette de disque : dos
Identifiant de disque : 0x000d82b9

Périphérique Amorçage     Début       Fin  Secteurs Taille Id Type
/dev/sda1                  2048  40962047  40960000  19,5G 83 Linux
/dev/sda2              40962048 243720191 202758144  96,7G 83 Linux
/dev/sda3             243720192 250068991   6348800     3G 82 partition d'échange Linux / Solaris
[marc@localhost ~]$ 


open dolphin
go to sda1 racine (/)
right click .... properties
calculate button

location : /
size :128,1 TiB (140 796 133 743 097)  ???
483 891 files, 40 411 sub-folders

thank you
Comment 3 Lewis Smith 2021-01-16 21:31:23 CET
Created attachment 12221 [details]
Dolphin partition Properties/General display showing nonsense calculated size

Thanks for the disc details.
I at last have found where you are, am with you:
> go to sda1 racine (/)
Right-click the root partition entry in the 'Devices' section of the LH pane.
> calculate button
In the Properties window 'General' pane, under 'Size' is a button which shows 'Renew' or 'Calculate' (if size blank).

I got a similar sort of result to you:
128.0 TiB (140,775,196,432,497)        *****
700,181 files, 80,806 sub-folders

Screenshot attached.
Comment 4 Lewis Smith 2021-01-16 21:38:02 CET
Assigning to the KDE team.

Summary: dolphin error => Dolphin shows nonsense calculated size for a root partition
Assignee: bugsquad => kde
CC: lewyssmith => (none)

Comment 5 Aurelien Oudelet 2021-01-18 17:21:13 CET
https://bugs.kde.org/show_bug.cgi?id=423057

Old KDE/Plasma bug.
Note that bug duplicates in upstream bugzilla.
Fantastic this is reported since KDE 4 era...

URL: (none) => https://bugs.kde.org/show_bug.cgi?id=423057
CC: (none) => ouaurelien

Comment 6 Aurelien Oudelet 2021-01-18 17:21:48 CET
https://bugs.kde.org/show_bug.cgi?id=298133

Very old upstream bugreport.
Aurelien Oudelet 2021-01-18 17:29:52 CET

URL: https://bugs.kde.org/show_bug.cgi?id=423057 => https://bugs.kde.org/show_bug.cgi?id=298133


Note You need to log in before you can comment on or make changes to this bug.