Bug 430448 - .blacklist does not handle paths containing some characters correctly.
Summary: .blacklist does not handle paths containing some characters correctly.
Status: RESOLVED DUPLICATE of bug 395652
Alias: None
Product: krita
Classification: Applications
Component: Resource Management (show other bugs)
Version: 4.4.2-beta1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Halla Rempt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-15 23:29 UTC by ThetaForBugRep
Modified: 2021-03-30 13:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Zip compressed sample files (3.25 KB, application/x-zip-compressed)
2020-12-15 23:29 UTC, ThetaForBugRep
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ThetaForBugRep 2020-12-15 23:29:48 UTC
Created attachment 134106 [details]
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.
Comment 1 Halla Rempt 2020-12-16 09:38:24 UTC
I'm pretty sure we already have a bug report for this issue, but I cannot find it. There's no blacklist file in master anymore because of the resource system rewrite, but we still need to test this bug in master to make sure it's gone when the rewrite is complete.
Comment 2 Halla Rempt 2021-03-30 13:30:18 UTC
*** This bug has been marked as a duplicate of bug 395652 ***