| Summary: | IDEOGRAPHIC SPACE (U+3000) in subtitles is converted to regular SPACE (U+0020) on loading | ||
|---|---|---|---|
| Product: | [Applications] kdenlive | Reporter: | Huanyu Liu <1293660441> |
| Component: | Title Clips & Subtitles | Assignee: | Ron <kdenlive-bugs> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | fritzibaby |
| Priority: | NOR | ||
| Version First Reported In: | 24.12.2 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Confirming I can reproduce this with the 25.04.01 appimage, but not with the code in my subtitle handling dev branch, which does already contain fixes for better preserving and round-tripping whitespace in subtitle files. So this should be fixed when those changes land in a release. Just updated my Kdenlive to 25.08.0, and the bug is still not fixed. |
SUMMARY IDEOGRAPHIC SPACE (U+3000) in subtitles is converted to regular SPACE (U+0020) on loading. STEPS TO REPRODUCE 1. Start Kdenlive, create a new project and save it to somewhere (e.g. /tmp/tmp.kdenlive) 2. Use "Project → Subtitles → Add Subtitle" (or Shift+S) to add a clip of subtitle with IDEOGRAPHIC SPACE (U+3000) (e.g. "文 本") 3. Save the project and close Kdenlive 4. Restart Kdenlive and load the saved project OBSERVED RESULT The IDEOGRAPHIC SPACE (U+3000) is converted to a regular SPACE (U+0020) in the subtitle editor ("文 本"). On the other hand, if you open the generated subtitle file (/tmp/tmp.kdenlive.ass) with a text editor, you can find the IDEOGRAPHIC SPACE is correctly saved. Therefore, this is a bug related to loading, not saving. EXPECTED RESULT The IDEOGRAPHIC SPACE should be retained. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.3.0 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.2 Kernel Version: 6.13.2-arch1-1 (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION IDEOGRAPHIC SPACE is usually used in CJK subtitles for text alignment. Other fullwidth characters (e.g. "1", "!") are not affected.