Bug 280738 - Select text with mouse in bidi text, like Arabic, highlights wrong part of sentence
Summary: Select text with mouse in bidi text, like Arabic, highlights wrong part of se...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.9
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: rtl
Depends on:
Blocks:
 
Reported: 2011-08-24 21:45 UTC by Fred Vos
Modified: 2017-02-13 03:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fred Vos 2011-08-24 21:45:42 UTC
Version:           2.6.2 (using KDE 4.6.2) 
OS:                Linux

Arabic text in Konsole with BiDi text mode activated for the current profile, shows Arabic text from right to left. That's the correct behavior for Konsole.

However, if you select a word at the end of a line of text, a part from the start of the line is highlighted and vice versa.

Best regards,

Fred



Reproducible: Always

Steps to Reproduce:
1. Make sure BiDi is activated for the selected profile (advanced tab)

2. Paste the following text in konsole on the command line:

أنا أحب اللغة العربية

(Anaa Uhibbu alluga alarabyya, I love the Arabic language)

3. Use the mouse to select a word at the beginning (right) or end (left) of this line.

4. Use the mouse to select a word at the end or a word at the beginning of this sentence.



Actual Results:  
Text from the beginning highlights if you select a word from the end and vice versa. 

Expected Results:  
Highlighted text from selected part of the string.
Comment 1 Fred Vos 2012-08-16 21:19:27 UTC
In Konsole version 2.8.4 (KDE Development Platform version 4.8.4) th problem still exists.