Bug 82202 - Typing ZWNJ makes the line shift left
Summary: Typing ZWNJ makes the line shift left
Status: RESOLVED FIXED
Alias: None
Product: kword
Classification: Miscellaneous
Component: general (show other bugs)
Version: 1.5 or before
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-25 21:13 UTC by Arash Zeini
Modified: 2012-02-01 21:15 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 Arash Zeini 2004-05-25 21:13:06 UTC
Version:           1.3 (using KDE KDE 3.2.2)
Installed from:    Debian testing/unstable Packages
OS:                Linux

This bug is reported based on a request by Nicolas Goutte and references bug no. 70986.
The original bug report makes a mistake by mentioning a shif to right. The line actually shifts to its left after entering a ZWNJ.

Inserting a ZWNJ (U+200c) while typing Farsi makes the whole line shift to its left. Thereafter the carret position is not the real cursor position anymore. So if you move the carret to a position on the string and type a character it appears some place else. This makes Farsi text editing in KDE almost impossible.

This bug applies to KPresenter too.
Comment 1 Ali Yazdi 2004-05-26 02:53:37 UTC
I've this in kmail, kedit, kbabel too. 
Comment 2 David Faure 2004-05-26 10:18:20 UTC
> I've this in kmail, kedit, kbabel too.
It's a Qt bug, not a koffice bug, then.

What's your Qt version? I'll report the bug to TT.

Comment 3 Arash Zeini 2004-05-26 21:53:20 UTC
We are talking about two different issues here.
This behavior is based on a Qt bug, which is described in bug no. 70986. Ali should have not reported his bug here, but there (bug 70986).

This bug (82202) was created based on a request by Nicholas, who says that KWord and KPresenter are handling justification in KoText. You may need to check this with him for more details, because this is not exactly a justification problem.
Comment 4 Arash Zeini 2004-05-26 21:55:03 UTC
Forgot to mention that I am using Qt version 3.2.3
Comment 5 Ali Yazdi 2004-05-27 11:13:26 UTC
My QT is 3.2.3.  sorry for that. I'm not a tech guy. So for me they are all the same. typing Farsi in all kde application that I've used till now have the same behavior. I voted for that bug too.
Comment 6 Médéric Boquien 2005-11-13 13:39:45 UTC
*** This bug has been confirmed by popular vote. ***
Comment 7 MohamadReza Mirdamadi 2008-06-10 08:18:34 UTC
seems that this bug exists yet. I have Kubuntu 8.04 and it is really bothering... 
Comment 8 David Faure 2008-06-10 11:02:26 UTC
"yet" -- does that mean, in KDE 3 or in KDE 4?
Comment 9 MohamadReza Mirdamadi 2008-06-10 11:23:50 UTC
KDE3 ;) I'll try this in KDE4 and will tell you soon
Comment 10 MohamadReza Mirdamadi 2008-06-19 07:36:26 UTC
 > ------- Additional Comment #8 From David Faure 2008-06-10 11:02 -------
 > "yet" -- does that mean, in KDE 3 or in KDE 4? 

I can reproduce this bug in Kate 3.0.3 in KDE 4.0.3
Comment 11 Thomas Zander 2008-12-27 00:31:53 UTC
Can not reproduce in 2.0
Comment 12 MohamadReza Mirdamadi 2012-02-01 21:15:33 UTC
I can reproduce this bug in KDE 4.8:

Steps to reproduce:
1) Go to System Settings->Input Devices->Keyboard->Layouts
2) Add Persian Layout
3) Open up Kate or Kwrite
4) Change keyboard layout to Persian
5) Write a word in Kate (without any space)
6) Press shift+space