Bug 301610

Summary: Please include upstream patch for bidi-mirroring update in qt-copy
Product: [I don't know] kde Reporter: Shai <shai>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UPSTREAM    
Severity: wishlist CC: cfeck
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
URL: https://bugreports.qt-project.org/browse/QTBUG-25169
Latest Commit: Version Fixed In:

Description Shai 2012-06-10 22:12:08 UTC
(copied from the Qt bug linked as URL)

Unicode 6 changed the bidi-mirroring properties of some characters (see http://unicode.org/versions/corrigendum6.html). Of these characters, the characters 2019,201A (single quotes), 201D and 201E (double quotes) are used in Hebrew (and are to be included in a soon-to-be-released new Hebrew Keyboard Layout standard).

Qt still uses the old definitions. The result is a regression-by-default: If I wrote this comment in an RTL language (like Hebrew), using the proper Hebrew quotes (open with U201E and close with U201D), it would be presented incorrectly in any Qt-based browser.


Reproducible: Always

Steps to Reproduce:
In any KDE app which supports this,
1. Turn on BiDi support in qtconfig
2. Write RTL text containing fancy quotes like U+201D

Actual Results:  
The character U+201D is mirrored (Unicode 5.0 behavior)

Expected Results:  
The character U+201D is not mirrored (Unicode corrigendum 6 and later behavior)

Qt has included this patch in their master, and it will be released with 5.0. KDE can do so sooner.
Comment 1 Christoph Feck 2012-06-11 10:30:32 UTC
According to our sysadmins, the qt-copy repository is a direct mirror of the upstream qt, so any request to backport patches from qt-5.x to qt-4.x should be reported to the issue tracker of the qt project via https://bugreports.qt-project.org/