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

            Bug ID: 430448
           Summary: .blacklist does not handle paths containing some
                    characters correctly.
           Product: krita
           Version: 4.4.2-beta1
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Resource Management
          Assignee: krita-bugs-n...@kde.org
          Reporter: thetaforbug...@gmail.com
  Target Milestone: ---

Created attachment 134106
  --> https://bugs.kde.org/attachment.cgi?id=134106&action=edit
Zip compressed sample files

SUMMARY
.blacklist(Brush, Gradation, SeExpr, etc) cannot handle paths that contain some
characters.

Character examples:
Hiragana (あいうえお, etc)
Katakana (アイウエオ, etc)
Kanji    (甲乙丙上中下一二三, etc)
Hangul   (안녕하세요, etc)
Cyrillic (αβ γΔΕΖ, etc)

STEPS TO REPRODUCE
*Let's take SeExpr as an example.
1. Create a SeExpr with a name containing the above characters.
2. Delete it.(Trashcan icon)
3. Restart Krita.
4. Make sure that it has not been removed from the SeExpr list.

OBSERVED RESULT
It is not removed from the list.

EXPECTED RESULT
It will be removed from the list even after restart.

SOFTWARE/OS VERSIONS
Windows 10 Home (64bit) 1909
Krita 4.4.1 / 4.4.2-beta1

ADDITIONAL INFORMATION
[.blacklist]
***After Step 4***

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE m_blackListFile>
<resourceFilesList>
 <file>
  <name>~/AppData/Roaming/krita/seexpr_scripts/Hiragana-あいうえお.kse</name>
 </file>
 <file>
  <name>~/AppData/Roaming/krita/seexpr_scripts/Hangul-?????.kse</name>
 </file>
 <file>
  <name>~/AppData/Roaming/krita/seexpr_scripts/Kanjis-甲乙丙上中下一二三.kse</name>
 </file>
 <file>
  <name>~/AppData/Roaming/krita/seexpr_scripts/Cyrillic-αβ_γΔΕΖ.kse</name>
 </file>
</resourceFilesList>

***Then I tried to delete it again***

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE m_blackListFile>
<resourceFilesList>
 <file>
  <name>~/AppData/Roaming/krita/seexpr_scripts/Hiragana-??????????.kse</name>
 </file>
 <file>
  <name>~/AppData/Roaming/krita/seexpr_scripts/Hangul-?????.kse</name>
 </file>
 <file>
 
<name>~/AppData/Roaming/krita/seexpr_scripts/Kanjis-?b?????????????O.kse</name>
 </file>
 <file>
 
<name>~/AppData/Roaming/krita/seexpr_scripts/Cyrillic-????_????????.kse</name>
 </file>
 <file>
  <name>~/AppData/Roaming/krita/seexpr_scripts/Cyrillic-αβ_γΔΕΖ.kse</name>
 </file>
 <file>
  <name>~/AppData/Roaming/krita/seexpr_scripts/Hangul-?????.kse</name>
 </file>
 <file>
  <name>~/AppData/Roaming/krita/seexpr_scripts/Hiragana-あいうえお.kse</name>
 </file>
 <file>
  <name>~/AppData/Roaming/krita/seexpr_scripts/Kanjis-甲乙丙上中下一二三.kse</name>
 </file>
</resourceFilesList>


[Attachment]
The same sample files(SeExpr) is attached.

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

Reply via email to