Arabic issue #1: QSpinBox doen't work properly with Arabic locale
by Munzir Taha
Hi Sirs!
Due to a message from Matthias Ettrich, I am retesting the Arabic and RTL bugs
from the beginning against the latest snapshot.
Qt Version: qt-x11-opensource-4.0.0-b2-snapshot-20050131
System: Mandrake 10.1 on AMD64
QSpinBox was not working when reversed but now it's working but with many
issues.
CODE: LC_ALL=ar qt/examples/widgets/spinboxes/spinboxes
shows the year like this 1059 and could only be increased to 1109 though the
code is:
dateEdit->setDateRange(QDate(2005, 1, 1), QDate(2010, 12, 31));
dateLabel->setText(tr("Appointment date (between %0 and %1):")
.arg(dateEdit->minimumDate().toString(Qt::ISODate))
.arg(dateEdit->maximumDate().toString(Qt::ISODate)));
I guess the issue has something to do with my ar locale and Hijri Calendar. I
can see functions like
Also,
$ LC_TIME=ar /usr/local/qt/examples/widgets/spinboxes/spinboxes
shows another problem.
PROBLEM: When I click many times in the strange Arabic letters/glyphs that
appeared on the first QDate spin box that says "Appointment date (between
2005, 1, 1 and 2010, 12, 31:", the program crashes with the error:
ASSERT: "glyph_pos != -1" in file text/qtextlayout.cpp, line 1719
Aborted
LC_ALL=ar_SA.UTF-8
shows broken glyphs of Sunday (in Arabic) though it's Tuesday today as my
$ date command shows!
even LC_ALL=C shows the year as either 05 or 10! so I can't use 06, 07, 08 and
09 as per the code setDateRange() function.
What about Hijri date functions: isn't it implemented here? Can you copy it
from KDE code?
WoW the bugs are getting nasty now ;)
--
Munzir Taha PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821
Telecommunications and Electronics Engineer
Mandrake Club Member
Maintainer of the Open Arabic Bugs Project at
http://wiki.arabeyes.org/OpenBugs
Maintainer of Fedora Arabic Translation Project
https://listman.redhat.com/mailman/listinfo/fedora-trans-ar
CIW Designer, ICDL, MOUS, Linux+, LPI 101
New Horizons CLC, Riyadh, SA
19 years
Ping Everyone - Status?
by Sherif Abdelgawad
Good Morning everyone :)
I would like to wish everyone of you a very happy new year. A littel bit
late but it is never too late.
I have been lacking contribution lately due to some personal issues, but I am back :)
I would like to inqure about our status on review, I know Munizr has assigened a file
or different files to different ppl including myself. So I would like to do:
- Munzir, can you publish this file again? Send it to the list and I will put it to the site?
- Everyone of active member here .. Start reviewing the files, and send to the list
with how long you will take to finish.
I think this should be fair .. Again I would like to ping everyone who is not yet active
in this mailing-list .. We have quite number of people but I only see emails from specific
people.
So .. For everyone who is registered to this mailing list and did not contribute anything,
even by saying "good work" or "bad work" .. would you kindly introduce yourself and
share at least your openion?
I am flying to Egypt for two weeks tomorrow .. Desoky , would you like to do something
with Linux-Egypt LUG while I am in Egypt (We can take this off-list) :)
Thanks
Sherif
19 years, 2 months
Re: Qt4 beta1 Arabic Bugs
by Munzir Taha
On Yaum al-Jumma 17 Thu al-Hijjah 1425 12:40 am, Dimitri wrote:
> Hi,
>
> > I wonder is it that I am missing something or is it no body have
> > developed Arabic software with Qt!
>
> Yes, I assume not much Arabic software has been written with Qt 4 :-)
> Seriously, some of these issues may be specific to Qt 4.
Thanks at least now I know those are real bugs and not just silly postings out
of ignorance ;)
8. Accelerator and QMenu
CODE: From the Qt examples I tested like this:
/examples/mainwindows/application/mainwindow.cpp:
editMenu = menuBar()->addMenu(trUtf8("ﺕ&ﺡﺮﻳﺭ"((;
The order of Arabic letters is messed
9. Arabic letters disappear when diacritics are used!
I manage to reproduce this in QLabel, QTextEdit and QLineEdit
اً
The above line is the first letter of the Arabic alphabet and a diacritic over
it (FATHATAN). When I type or paste this, it disappears!
10. Shortcuts don't work when an Arabic letter is used:
CODE:
pb.setShortcut(QObject::trUtf8("Ctrl+ن", "Quit"));
11. setReverseLayout() is not a member of QApplication!
QApplication::setReverseLayout();
gives
error: `setReverseLayout' is not a member of `QApplication'
Is this related to styles not being implemented yet or what?
12.
5. Arabic letters disappear when diacritics are used!
I managed to reproduce this with
CODE:
QTextEdit *text = new QTextEdit(QObject::trUtf8("ا"));
PROBLEM: you want see any letters displayed!
اً
The above line is the first letter of the Arabic alphabet and a diacritic over
it (FATHATAN). When I type or paste this, it disappears!
Keep up the good work and thanks blanchette, ... for the nice book!
--
Munzir Taha PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821
Telecommunications and Electronics Engineer
Mandrake Club Member
Maintainer of the Open Arabic Bugs Project at
http://wiki.arabeyes.org/OpenBugs
Maintainer of Fedora Arabic Translation Project
https://listman.redhat.com/mailman/listinfo/fedora-trans-ar
CIW Designer, ICDL, MOUS, Linux+, LPI 101
New Horizons CLC, Riyadh, SA
19 years, 3 months
Re: Arabizing ar.po file
by Munzir Taha
On Yaum al-Jumma 17 Thu al-Hijjah 1425 2:51 pm, Turki Al-Ibrahim wrote:
> Al-Salam Alaykom Munzir, Eid mubarak ..
>
> The ar.po file I have received from you earlier is 100% translated (0
> Untranslated , 0 Fuzzy).
> I have reviewed the file, didn't fine any errors or untranslated
> terms. I assume that no work is needed in this file, right ?
وعليكم السلام ورحمة الله وبركاته
You are right the file has no lots of mistakes but I can figure out some of
those creatures like:
msgid "unlocking would make the password field empty"
msgstr "ألغاء التأمين سوف يترك حقل كلمة المرور فارغاً"
#: It should be إلغاء not ألغاء
msgid "Copying user structure:\n"
msgstr "جاري نسخ بناء موطن المستخدم:\n"
#: It should be جاري نسخ بنية المستخدم
Please correct them and commit. I suggest you take any file you want instead
but always remember we need you to find 20 mistakes, correct them and post
them here (don't count these two ;)). It's your chance to be the first since
most of the people here seems very busy nowadays ;)
--
Munzir Taha PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821
Telecommunications and Electronics Engineer
Mandrake Club Member
Maintainer of the Open Arabic Bugs Project at
http://wiki.arabeyes.org/OpenBugs
Maintainer of Fedora Arabic Translation Project
https://listman.redhat.com/mailman/listinfo/fedora-trans-ar
CIW Designer, ICDL, MOUS, Linux+, LPI 101
New Horizons CLC, Riyadh, SA
19 years, 3 months
Fw: Fedora Core 4
by Sherif Abdelgawad
>A Fedora Core 4 proto-schedule is available at:
>
> http://fedora.redhat.com/participate/schedule/
>
> Generally, it's 3 4-week test releases, with a release in early/mid May.
>
> So, what's planned for Fedora Core 4? Here's what we're looking
> at from the Red Hat side of things:
>
> - GCC 4, if it's ready
>
> We're not planning on holding for it, but if it's out in a
> reasonable time, sure. Failing that, we're looking at making
> more of the FORTIFY_SOURCE and other gcc & glibc security extensions
> integrated, if at all possible.
>
> - The usual new stuff - GNOME 2.10, KDE 3.4, Xorg 6.8.2,
> OpenOffice 2.0 (maybe), etc.
>
> - Xen and Virtualization
>
> This starts by integrating the Xen kernel stuff, and going
> from there.
>
> - SELinux Episode III: Revenge of the AVC
>
> Yet more targets in the targeted policy.
>
> - Faster boot
>
> Eliminating redundancy and old cruft in the bootup process,
> starting GDM early if possible, using newer and faster
> udev codebases, and other related tweaks.
>
> - Java
>
> More native-compiled GCJ stuff. Including Eclipse.
>
> - Package management
>
> GUI integration of system-config-packages, yum, and friends.
>
> - more networking changes
>
> Further integration of NetworkManager
>
> - PPC support
>
> For your brand spanking new MiniMac, or the p655 under your
> desk.
>
> - Extras at launch time. Or else.
>
> Hopefully, self explanatory. Could coincide with the move
> of some bits from Core to Extras. In fact, some of the
> stuff on this list of features may *be* in Extras.
>
> Probably other stuff that I'm forgetting in here. I'm sure
> more people can remind me.
>
> Bill
>
19 years, 3 months
Re: Qt4 beta1 Arabic Bugs
by Munzir Taha
On Yaum al-Ithnain 13 Thu al-Hijjah 1425 8:56 pm, Munzir Taha wrote:
> Hi!
> QSpinBox and QSlider appear nicely laid out side by side inside the QHBox
> which automatically assigns reasonable positions and sizes to its children
> based on their needs but when I use the -reverse option I notice two
> problems:
>
> 1. QSpinBox didn't work at all.
Now, I discovered the examples and the same happen with
/usr/local/qt/examples/widgets/spinboxes/spinboxes -reverse
I can't increase or decrease any value.
> 2. the left edge of the slider in -reverse mode doesn't have any spacing at
> all so it looks cut whereas in normal mode it looks as if rendered with
> setSpacing(1) or something similar.
>
> Please, make sure to test the other widgets (TreeView, ...) since I am not
> sure whether I will find time to learn how to render the other widget
> before the release ;)
>
> Keep up the high level of this marvellous peace of software.
3.
/usr/local/qt/examples/widgets/transformations/transformations -reverse
All the items on the QComboBox (Rotate, Scale, Translate) disappears!!
4. In QLineEdit I expect the true implementation to have directionality to be
checked and reveresed (RTL) automatically when an RTL language like Arabic is
detected. This is what I understand the Unicode standard advocates and what
GTK+ and Windows implements, am I wrong?
5.
http://bugs.kde.org/show_bug.cgi?id=81858
This should be a Qt bug. I discussed this before with Mr. Lars Knoll but not
sure how can I test it now with Qt examples. lars?
6.
/usr/local/qt/examples/dialogs/standarddialogs/standarddialogs -reverse
The "Basic colors" and "Custom colors" palette doesn't respond to -reverse
option when I tested with QColorDialog::getColor()
7. The back arrow <- in QFileDialog::getExistingDirectory()
and ::getOpenFileName(s)() and ::getSaveFileName() should be mirrored too.
--
Munzir Taha PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821
Telecommunications and Electronics Engineer
Mandrake Club Member
Maintainer of the Open Arabic Bugs Project at
http://wiki.arabeyes.org/OpenBugs
Maintainer of Fedora Arabic Translation Project
https://listman.redhat.com/mailman/listinfo/fedora-trans-ar
CIW Designer, ICDL, MOUS, Linux+, LPI 101
New Horizons CLC, Riyadh, SA
19 years, 3 months
Re: arabic support fedora
by Sherif Abdelgawad
Hi .. Thanks for your feedback. Translation is almost done and we are
in the QA and fixing grammar/spelling mistakes or proper translation
sometimes
in the translation.
Also there are quite some effort with different groups/projects to report
and/or fix bugs
related to RTL for better support of Arabic.
Again on behave of the Arabic Fedora team I would like to thank you for your
feedback
and would like to ask you to bring anything to our attention if you see any
improvement and/or suggestions for better translation.
Thanks
Sherif
> hello ! i was just wanted to find oiut when the arabic support will be
> finished. i noticed only a few things werent done well thanks and i
> apriciate your reply
>
>
19 years, 3 months
Qt Arabic Bugs!
by Munzir Taha
Hi!
I would like to inform you that these days I am testing the new Qt4 b1 for
bugs related to Arabic.
I compiled it and now sending messages to their mailing list. From now on, I
will cc the list here for those who are interested. It would be good if some
one would take the responsibility of contacting GTK+ mailing, too. Let's see
which toolkit would be RTL bug free first.
--
Munzir Taha PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821
Telecommunications and Electronics Engineer
Mandrake Club Member
Maintainer of the Open Arabic Bugs Project at
http://wiki.arabeyes.org/OpenBugs
Maintainer of Fedora Arabic Translation Project
https://listman.redhat.com/mailman/listinfo/fedora-trans-ar
CIW Designer, ICDL, MOUS, Linux+, LPI 101
New Horizons CLC, Riyadh, SA
19 years, 3 months
what do you want to translate today?
by Munzir Taha
Salaam,
This is a Request for Comment (RFC). I would/may be involved in other
translation projects besides Fedora and I need your help in deciding which
applications have more priorites or you think is well needed. These
translation projects are adopted by King Abdulaziz City for Science and
Technology (KACST) in Riyadh, Saudi Arabia. It's better if those suggested
apps are in Fedora and other distros by default.
Thanks for your cooperation in advance!
--
Munzir Taha PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821
Telecommunications and Electronics Engineer
Mandrake Club Member
Maintainer of the Open Arabic Bugs Project at
http://wiki.arabeyes.org/OpenBugs
Maintainer of Fedora Arabic Translation Project
CIW Designer, ICDL, MOUS, Linux+, LPI 101
New Horizons CLC, Riyadh, SA
19 years, 3 months