Public bug reported:

When I paste English text that includes a Hebrew word or phrase into
Kate and create a selection that starts xor ends within the Hebrew by
clicking and dragging, it includes all the Hebrew *except* the part I
drag over, leaving a gap. Also, within the Hebrew, Shift-Left extends or
contracts the selection to the right and vice-versa.

An example of this bug may be seen by clicking in the middle of the Hebrew 
word, and either dragging or repeatedly pressing Shift-Left or Shift-Right, in 
the following sentence:
 
Kabbalah (Hebrew: קַבָּלָה‎, lit. "receiving") is a discipline and school of 
thought concerned with the mystical aspect of Judaism.

Selection should work the same as on the English text, keeping the
selection visually contiguous and the arrow keys' function appropriate
to the direction of the arrows. Even if that isn't the default behaviour
when the UI language is English, it should be available as a setting in
KDE's System Settings, under Regional & Language, or in Kate and
Konqueror under Settings > Configure Kate/Konqueror.

In Unicode and other logical-order encodings, this will occasionally
create a selection that isn't contiguous in memory, but this can be
handled by storing the selection as an array that can hold two or three
start-point/end-point pairs. When copying to the clipboard, the
substrings are concatenated. When deleting the selection or applying a
format, they're all handled separately. For more complicated operations,
convert the text to visual order and convert it back when done, or ask
the user whether or not to do so (e.g. through another check box in
Kate's search and replace panels). The performance overhead should
hardly be noticeable even on a Pentium 1.

ProblemType: Bug
Architecture: amd64
Date: Sat Jan  2 05:46:15 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/kdeinit4
NonfreeKernelModules: nvidia
Package: kdelibs-bin 4:4.3.2-0ubuntu7.2
ProcEnviron:
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: kde4libs
Uname: Linux 2.6.31-17-generic x86_64

** Affects: kde4libs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
Unintuitive selection of text in right-to-left languages
https://bugs.launchpad.net/bugs/502290
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde4libs in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to