Bug 437361

Summary: Description in the Dolphin status bar susceptible to the character "RIGHT-TO-LEFT OVERRIDE"
Product: [Applications] dolphin Reporter: Domker <domker2>
Component: bars: statusAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel, nate, popov895
Priority: NOR    
Version: 21.04.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=260677
Latest Commit: Version Fixed In:
Attachments: Dolphin reversed statusbar description

Description Domker 2021-05-19 13:00:52 UTC
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