Summary: | Average file size unit in the tooltip has wrong encoding | ||
---|---|---|---|
Product: | [Applications] filelight | Reporter: | Ruslan Kabatsayev <b7.10110111> |
Component: | general | Assignee: | Martin Sandsmark <martin.sandsmark> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://commits.kde.org/filelight/69a707b455739d6acac56a52e1953b9e8b283031 | Version Fixed In: | 19.08.2 |
Sentry Crash Report: | |||
Attachments: | Screenshot of the problem |
Description
Ruslan Kabatsayev
2019-08-24 10:54:14 UTC
Git commit 69a707b455739d6acac56a52e1953b9e8b283031 by Christoph Feck. Committed on 21/09/2019 at 12:52. Pushed by cfeck into branch 'Applications/19.08'. Fix encoding of size tooltip in radial map class File (see fileTree.h) internally stores filenames in 8 bit encoding. The size tooltip uses the same API, but does not correctly encode the tooltip to 8 bit. It uses UTF-8, while the system might have a different local encoding. Changing toUtf8() to QFile::encodeName() fixes this. FIXED-IN: 19.08.2 Reviewed by: aacid Differential Revision: https://phabricator.kde.org/D24013 M +1 -1 src/radialMap/map.cpp https://commits.kde.org/filelight/69a707b455739d6acac56a52e1953b9e8b283031 |