[Fedora-trans-ar] Re: Arabic issue #22: qTextEdit->setAlignment(Qt::AlignRight) problems.

Munzir Taha munzirtaha at newhorizons.com.sa
Wed May 25 05:42:48 UTC 2005


On Yaum al-Khamees 22 Muharram 1426 01:48, Munzir Taha wrote:
> With Qt::AlignRigth the text is aligned to the right but whenver I press
> space while typing Arabic the cursor jumps every time to the begining of
> the line and again to the correct position when a letter is typed. This is
> very distracting.

I should mention that I also setLayoutDirection(Qt::RightToLeft);

> If more than one space is pressed the cursor would go out 
> of the window and hence can't even be seen. Tabs in the beginning of the
> line doesn't show and in the middle of a text push go in the wrong
> direction!

This has been fixed. Thanks. But now a TAB after an Arabic text show no jump 
on screen!
Using Qt version 4.0.0-rc1-snapshot-20050523

> Another more serious issue happen when I type 1-2 ARABIC (that's 1 first
> then a dash then 2 then ARABIC letters) like the case in outline numbering
> at the beginning of a paragraph it displays as  ARABIC 1-2 (that's
> beginning from the right 2 then a dash then 1 then the ARABIC) instead of
> ARABIC 2-1 so though I mean section 1 subsection 2, it will be read section
> 2 subsection 1!

Generally speaking the order of the numbers 1 and 2 when typing 1-2 ARABIC 
should not be affected whether we have Arabic text before it. The case now it 
DOES make a difference.

> I filed a similar bug to OpenOffice.org with screenshots in case it's not
> clear.
>
> SCREENSHOTS:
> http://www.openoffice.org/issues/show_bug.cgi?id=34309

-- 
Munzir Taha  PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821

Telecommunications and Electronics Engineer
Maintainer of Fedora Arabic Translation Project
https://listman.redhat.com/mailman/listinfo/fedora-trans-ar
Maintainer of the OpenBugs project page at
http://www.arabic-fedora.org/munzir/OpenBugs.html
Master CIW Designer, ICDL, MOUS, Linux+, LPI 101
New Horizons CLC, Riyadh, SA




More information about the Fedora-trans-ar mailing list