Created attachment 138560 [details] Dolphin reversed statusbar description SUMMARY The description in the status bar is vulnerable to the U+202E (https://www.fileformat.info/info/unicode/char/202e/index.htm) character. Other KDE applications may also be affected. STEPS TO REPRODUCE 1. Open Konsole and type: fname=$(echo -e "test.txt\u202e") 2. Make new file with U202e char: echo "Some text" > $fname 3. Move the cursor over the created file with Dolphin and check the description on the status bar. OBSERVED RESULT The description content from the status bar is reversed back, while elsewhere it is displayed normally. EXPECTED RESULT Ignore U+202E and display the description correctly. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.21.5 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.2 Kernel Version: 5.12.4-arch1-2 OS Type: 64-bit Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-4790K CPU @ 4.00GHz Memory: 15.6 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 980/PCIe/SSE2
I disagree about completely ignoring the directional override, but it definitely shouldn't affect anything other that what comes between the override and the end of the string. It seems like the direction is switched during the parsing of the filename, and then it stays switched during subsequent unrelated string operations.