https://bugs.kde.org/show_bug.cgi?id=516273
Bug ID: 516273
Summary: Konsole ignore BiDi control characters in the first
column.
Classification: Applications
Product: konsole
Version First unspecified
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: emulation
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
Konsole ignore BiDi control characters in the first column if the line start
with LTR word (for example English word) or the opposite
STEPS TO REPRODUCE
1. Create new Profile.
2- In the Appearance --> Complex Text layout, check “Enable Bi-Directional text
rendering” and uncheck “force LTR line direction”
2. run the following script:
#!/bin/bash
LRM=$'\u200e' # Left-to-right mark (invisible strong character)
RLM=$'\u200f' # Right-to-left mark (invisible strong character)
RLI=$'\u2067' # Right-to-left isolate
LRI=$'\u2066' # Left-to-right isolate
PDI=$'\u2069' # Pop directional isolate (terminates LRI/RLI/FSI block)
echo "Normal without any Bidi controls:"
echo "اسم الملف"
echo "filename"
echo "------------Adding RLM/RTL at the beginning of line, not
working!-----------------"
echo "${LRM}اسم الملف" #This should start from first column
echo "${RLM}filename" # This should starts from the last column
echo "------------Adding space before RLM/RTL at the beginning of line, it
works!-----------------"
echo " ${LRM}اسم الملف" #This should starts from first column
echo " ${RLM}filename" # This should start from the last column
echo "--------------Directional Isolate (RLI-LRI/PDI), Not
Working---------------"
echo "${LRI}اسم الملف${PDI}" #This should be start from first column
echo "${RLI}filename${PDI}" # This should start from the last column
echo "--------------Adding space before Directional Isolate (RLI-LRI/PDI),
works for LRI but not for RLI---------------"
echo " ${LRI}اسم الملف${PDI}" #This should be start from first column
echo " ${RLI}filename${PDI}" # This should start from the last column
OBSERVED RESULT
No effect for adding BiDi controls. If I add space before LRM and RLM, it
works.
EXPECTED RESULT
The text must folow BiDi algrothim when adding BiDi controls
SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 45
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Kernel Version: 6.20.0-0.rc0.260217g9702969978695.10.fc45.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 8.5 غ.بايت of usable RAM
Graphics Processor: SVGA3D; build: RELEASE; LLVM;
Manufacturer: innotek GmbH
Product Name: VirtualBox
System Version: 1.2
--
You are receiving this mail because:
You are watching all bug changes.