| Summary: | Dolphin does not display newline character in file names | ||
|---|---|---|---|
| Product: | [Applications] dolphin | Reporter: | Yann Salmon <contact+bugs+kde> |
| Component: | view-engine: general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | dolphin-bugs-null, fanzhuyifan, nate |
| Priority: | NOR | ||
| Version First Reported In: | 19.12.3 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=452587 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
*** This bug has been marked as a duplicate of bug 422998 *** |
SUMMARY When a file name contains special characters (ie. newline), they are not visible in the displayed name. STEPS TO REPRODUCE Using Python to avoid any bizarre things with how shells interpret special characters in the input : 1. os.chdir("/tmp") 2. open("test\ntest", "w") 3. open("testtest", "w") 4. open("test\rtest", "w") 5. Show /tmp in dolphin OBSERVED RESULT Three files that appear as testtest ; only by using the renaming tool does the newline appear (but the \n and \r remain indistinguishable). EXPECTED RESULT Some visual clue that the filename contains a newline character. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 ADDITIONAL INFORMATION This might be used to craft a file mimicking another file. Inserting a tabulation gives a clue (the tabulation is displayed). Inserting other special characters (eg. ASCII 1 or 2) gives a small black box with the character mnemonic.