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

            Bug ID: 395652
           Summary: [Windows] Cannot remove brush presets with CJK letters
                    in their filenames
           Product: krita
           Version: git master
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Resource Management
          Assignee: krita-bugs-n...@kde.org
          Reporter: tyson...@mail.com
  Target Milestone: ---

On Windows systems, Krita cannot remove brush presets with CJK letter in their
names. Reported by Chinese Krita community. Confirmed on 4.0.4 and Nightly,
under freshly installed Windows 7 SP1 and Windows 10 1803, with all Windows
Update patches installed.

How to reproduce:
1) Edit Brush Settings >> Save New Brush Preset
2) Input some CJK letters for the new brush preset's name, for example: "测试
(Test for Chinese)", "テスト (Test for Japanese)".
3) Remove the newly created brush preset.
4) Restart Krita.
5) The supposedly removed brush preset returns.

Addtional information:
1) Windows only. Not happening on Linux.
2) Not affecting English named brush presets.
3) I suspect Qt is expecting filename character encoding as UTF-8, but on
Windows system, file system is STILL not encoded with Unicode but ANSI. English
as ISO-8859-15, Simplified Chinese as GB2312/GB18030/GBK, Japanese as
Shift-JIS. It could be that Krita sees mis-interpreted file names through Qt
under Windows and failed to delete the preset.
4) I suggest further investigation into this problem, especially where Qt is
handing file names.

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

Reply via email to