Bug 301610 - Please include upstream patch for bidi-mirroring update in qt-copy
Summary: Please include upstream patch for bidi-mirroring update in qt-copy
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL: https://bugreports.qt-project.org/bro...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-10 22:12 UTC by Shai
Modified: 2012-06-11 10:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/