https://bugs.kde.org/show_bug.cgi?id=411243

            Bug ID: 411243
           Summary: Average file size unit in the tooltip has wrong
                    encoding
           Product: filelight
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: martin.sandsm...@kde.org
          Reporter: b7.10110...@gmail.com
  Target Milestone: ---

Created attachment 122322
  --> https://bugs.kde.org/attachment.cgi?id=122322&action=edit
Screenshot of the problem

SUMMARY
When average file size is reported in a tooltip, like "N files, with an average
size of X KiB\nY MiB" on a Russian-localized Windows, "KiB" is apparently
translated into Russian "КиБ", but, instead of displaying it properly, it's
showed as if the text were stored in UTF-8 and read as CP1251, resulting in
"РљРёР‘" (which is mojibake). Interestingly, "MiB" does get translated properly
into "МиБ".

STEPS TO REPRODUCE
1. Install the "latest version" of Filelight for windows from
https://utils.kde.org/projects/filelight/ (which is 17.12.0 as of this
writing).
2. Run Filelight, point it to a directory with multiple multi-kilobyte files in
addition to several larger ones
3. Hover over the dark-red-colored sector, look closely at the tooltip.

OBSERVED RESULT
Unit for average file size has wrong encoding, while that of total size is OK.

EXPECTED RESULT
Both units should look properly.

SOFTWARE/OS VERSIONS
Windows: 7 Starter SP1 32 bit
KDE Frameworks Version: 5.37.0
Qt Version: 5.9.1

ADDITIONAL INFORMATION
A screenshot is attached.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to