Summary: | Selection in RTL mode is broken | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Zayed Al-Saidi <zayed.alsaidi> |
Component: | kwrite | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | david.nolden.kde |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | wrong behavior of selection in kwrite |
Description
Zayed Al-Saidi
2008-06-26 13:41:44 UTC
Created attachment 25617 [details]
wrong behavior of selection in kwrite
Confirmed in trunk SVN commit 825757 by rodda: Fix drawing of selection beyond selected text range for RTL languages Also fix a few other hidden bugs (Just noticed a mouse-select RTL bug, will investigate) BUG:165001 M +23 -18 katerenderer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=825757 The problem is still in kde 4.1.2. I can not select the first two digits from any paragraph. Just past this text in RTL kwrite mode: الرياض ـ العمانية: أعلنت مؤسسة العالم للصحافة والنشر والتوزيع عن اختيار حضرة صاحب الجلالة السلطان قابوس بن سعيد المعظم ـ حفظه الله ورعاه ـ شخصية العدالة والإنسانية للعام الجاري 2008م وذلك بمباركة وتزكية عربية وإسلامية ودولية. Then try to select all the text. You will can not select the fist two digits. Has it worked after hamishs commit? Maybe it was broken again. Can you test that? I do not know ! Hamishs any comment ? SVN commit 873764 by rodda: Remove restrictions on X which were incorrect for RTL lines. The algorithm here to determine cursor position past end of line is wrong for RTL lines, but that's a separate issue. BUG:165001 M +2 -10 katerenderer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=873764 |