| Summary: | DirectorySizeJob always returns a size of zero on Windows | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Jean-Baptiste Mardelle <jb> |
| Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | kde, kdelibs-bugs-null, nate, nicolas.fella |
| Priority: | NOR | ||
| Version First Reported In: | 6.14.0 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
KIO::DirectorySizeJob always returns 0 on Windows. STEPS TO REPRODUCE KIO::DirectorySizeJob *job = KIO::directorySize(path); connect(job, &KJob::result, this, [job]() { qDebug()<<"GOT FOLDER SIZE: "<<job->totalSize(); job->deleteLater(); }); While this works correctly on Linux, it always returns 0 on Windows. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION