Bug 70064 - virtual space is visible as an vertical line
Summary: virtual space is visible as an vertical line
Status: RESOLVED NOT A BUG
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: qt (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 22:27 UTC by Arash Bijanzadeh
Modified: 2007-12-14 10:47 UTC (History)
1 user (show)

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


Attachments
Patch against qt-copy in CVS to fix the problem. (3.91 KB, patch)
2004-01-13 11:48 UTC, Behdad Esfahbod
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arash Bijanzadeh 2003-12-10 22:27:05 UTC
Version:            (using KDE KDE 3.1.93)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2.3 
OS:          Linux

We heavily use virtual space in farsi language. It suposed to seperate words without placing anything between them. This character was showing ok in versions before 3.1.2 but after that instead of a virtual space; it shows up as a vertical bar for example "مساله‌ای". (I am not sure if this context is utf enabled!) . You can see the vertical bar between two part of the word. we use this character to disable joining of utf-8 
I got to mention that the same problem happening in the openoffice. So I am not sure if it is a change in the utf standard or a bug?
Comment 1 Arash Zeini 2003-12-16 20:39:53 UTC
I assume this bug being at level of XFree86 and possibly Qt related too.
Because the same happens in KDE 3.1.X series if used with XFree86 4.3. Do you have any idea if this is the case all over KDE or in Kate only? I encounter the same all over the place with KDE 3.1.4 in Slackware with XFree86 4.3.
On Debian with a 4.2 series of XFree86 and a KDE 3.1.4 I don't have this problem at all. The same applies to my CVS KDE from few months back.
Comment 2 Aryan Ameri 2003-12-16 21:35:29 UTC
Using Libranet and Slackware, I have this problem using any KDE application (kmail, kate, kedit, ...). Both distros have XFree86 4.3 I have the same problem using KDE 3.1.3, KDE 3.1.4, and KDE 3.2 beta 2.
Comment 3 Ali Yazdi 2003-12-17 05:32:26 UTC
I'm also using Libranet 2.8. and have the same problem in kword, kate, and kedit but not in kbabel. Actually kbabel  is the only application that I can write Farsi without problem. 
Comment 4 Arash Bijanzadeh 2003-12-17 12:02:37 UTC
THis is happening on kde3.1.4 with X4.2.1 on my machine, so it is not a X relate issue ( The previous versions of kde was just fine.
Comment 5 Christoph Cullmann 2003-12-17 12:38:41 UTC
if it happens in all kde apps, this is qt related, as all use other widgets, where should I reassign that bug to, we have no qt component or ?
Comment 6 Christoph Cullmann 2003-12-17 12:43:06 UTC
ah, kdelibs/qt might be the right place
Comment 7 Arash Zeini 2003-12-18 18:15:03 UTC
yes, kdelibs/qt is most probably the right place.
Comment 8 Arash Bijanzadeh 2003-12-18 19:20:19 UTC
The charachter nake is ZWNJ and equale tp U200C. Sorry for my lack of knowledge
Comment 9 Arash Bijanzadeh 2003-12-21 16:44:23 UTC
I don't know what the font file should contain in the zwnj code point but when the font don't include any glyphs in the U+200C every thing is fine. May be the previous version of KDE didn't implented it yet!
I am changing the status of bug to RESOLVED
Comment 10 Behdad Esfahbod 2004-01-13 11:48:41 UTC
Created attachment 4138 [details]
Patch against qt-copy in CVS to fix the problem.

I have attached the patch to fix the problem.
The patch has enough comments that any of the developers can confirm that it
should be applied.
Comment 11 David Faure 2004-06-16 22:06:23 UTC
Behdad: please send the patch by mail to qt-bugs@trolltech.com, thanks!
Comment 12 Behdad Esfahbod 2004-06-16 22:22:27 UTC
I think a revised version of the patch by Lars Knoll is already applied.
Comment 13 Munzir Taha 2004-06-17 13:58:07 UTC
Behdad, can you shed some light on this topic? The Qt version of my system (Mandrake 10) is 3.2.3 and the bug is still there. Can you confirm whether the bug is fixed in latest stable or on cvs branch?

I know you are busy these days with fribidi but let's close this bug if we can.
Comment 14 Munzir Taha 2005-04-21 23:39:20 UTC
This seems to be fixed with Qt4 as far as I can test. I tested QLineEdit and QTextEdit with something like this:
       QLineEdit *line = new QLineEdit(trUtf8("بب"));
and it displays properly.
Comment 15 Diego Iastrubni 2007-12-14 10:47:50 UTC
This is a Qt4 issue, which is already fixed "upstream", lets close.