Bug 466627 - some non-functional keys Arabic keyboard layout
Summary: some non-functional keys Arabic keyboard layout
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libX11
Version: 10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Søren Sandmann Pedersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F10Target F10DesktopTarget
TreeView+ depends on / blocked
 
Reported: 2008-10-11 17:51 UTC by Muayyad Alsadi
Modified: 2014-06-18 09:10 UTC (History)
3 users (show)

Fixed In Version: 1.1.5-1.fc10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-23 22:13:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
/usr/share/X11/xkb/symbols/ara and /usr/share/X11/locale/en_US.UTF-8/Compose (37.18 KB, application/x-bzip2)
2008-10-11 17:51 UTC, Muayyad Alsadi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 19291 0 None None None Never
GNOME Bugzilla 574581 0 None None None Never

Description Muayyad Alsadi 2008-10-11 17:51:09 UTC
Created attachment 320100 [details]
/usr/share/X11/xkb/symbols/ara and /usr/share/X11/locale/en_US.UTF-8/Compose 

Description of problem:
because X can generate only one character per key the key لا is mapped to
U+FEFB ARABIC LIGATURE LAM WITH ALEF ISOLATED FORM

but it should be mapped to the sequence U+0644 U+0627
U+0644 ARABIC LETTER LAM followed by U+0627 ARABIC LETTER ALEF

when this problem noticed they disabled the key completely
(map it to null)

http://lists.arabeyes.org/archives/developer/2008/May/msg00013.html

Version-Release number of selected component (if applicable):
libX11-1.1.4-1.fc9.i386

How reproducible:
always

Additional info:
solution can be found here
http://lists.arabeyes.org/archives/developer/2008/June/msg00001.html
http://mail.gnome.org/archives/gnome-i18n/2008-June/msg00030.html

it means that the files
/usr/share/X11/xkb/symbols/ara
/usr/share/X11/locale/en_US.UTF-8/Compose 
must be replaced (no matter one uses Arabic keyboard or not)

and a file called /etc/X11/xinit/xinitrc.d/xim.sh should contain
export GTK_IM_MODULE="xim"
export QT_IM_MODULE="xim"

I'm not sure if this last step affects other languages
so I'm not requesting it, the first step will be enough
and we will tell Arabic users to create it themselves
(not creating the second file has no side effects)

Comment 1 Bug Zapper 2008-11-26 03:47:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Fedora Update System 2009-03-01 23:24:50 UTC
libX11-1.1.5-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/libX11-1.1.5-1.fc10

Comment 3 Fedora Update System 2009-03-01 23:36:23 UTC
xkeyboard-config-1.4-7.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/xkeyboard-config-1.4-7.fc10

Comment 4 Muayyad Alsadi 2009-03-01 23:39:44 UTC
is libX11-1.1.5-1.fc10 after or before Sergey's commit in the upstream ?

>Sergey committed the change to symbols/ara earlier this month
>with commit c3b2fd97444f47e726b7916dd1a3ce04ada2d88d.

Comment 5 Peter Hutterer 2009-03-02 00:00:14 UTC
I patched xkeyboard-config with sergey's commit, but you need both libX11-1.1.5 and the new xkeyboard-config (AFAIU anyway).

Comment 6 Fedora Update System 2009-03-02 17:02:10 UTC
xkeyboard-config-1.4-7.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update xkeyboard-config'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-2234

Comment 7 Muayyad Alsadi 2009-03-02 21:30:41 UTC
the xkeyboard-config portion of the problem is solved I guess
ie. when b is pressed in Arabic layout I got the unicode char U+FEFB  ﻻ

but this is another bug as it should be ل followed by ا

maybe that part will be solved when I update to the other libX11-1.1.5-1.fc10
but that can't be done because version number of xkeyboard-config should match that of libX11

so please don't push it to stable until it's fixed in both
-----------
reasoning:
having one but not the other will generate U+FEFB not the sequence ل followed by ا

Comment 8 Peter Hutterer 2009-03-02 21:33:35 UTC
(In reply to comment #7)
> maybe that part will be solved when I update to the other libX11-1.1.5-1.fc10
> but that can't be done because version number of xkeyboard-config should match
> that of libX11

well, you're already running libX11 1.1 and xkeyboard-config 1.4. so no - the versions don't need to match, you can just upgrade.

Comment 9 Muayyad Alsadi 2009-03-02 21:52:40 UTC
yes, I installed both and it works [in the first time it was a missing -devel that I forgot lead me to break the dependency]

but of course that required this like
cat <<EOF >/etc/X11/xinit/xinitrc.d/xim.sh
export GTK_IM_MODULE="xim"
export QT_IM_MODULE="xim
EOF

how can we tell users to do that step [I'm told setting xim as default is not good for other people]

Comment 10 Fedora Update System 2009-03-04 16:24:45 UTC
libX11-1.1.5-1.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update libX11'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-2307

Comment 11 Muayyad Alsadi 2009-03-04 16:39:33 UTC
I already use that from comment #2

[alsadi@pc1 ~]$ rpm -q libX11
libX11-1.1.5-1.fc10.i386

how to tell people about #9

Comment 12 Peter Hutterer 2009-03-05 02:19:30 UTC
the update system message is automatic, there's more of those to come when the update gets pushed to stable.

As for your Comment #9 - I don't actually know. It's probably best if you ask on fedora-devel, I'm sure there's someone that knows the best procedure.

Comment 13 Muayyad Alsadi 2009-03-08 20:00:50 UTC
a similar problem exists on GTK+ on windows I'm not sure how is this related to the topic, it could be something in gdk

the upstream bug for that is added

> I don't actually know. It's probably best if you ask on fedora-devel
thanks I'll take your advice

Comment 14 Fedora Update System 2009-03-18 19:10:08 UTC
xkeyboard-config-1.4-7.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2009-03-23 15:54:32 UTC
libX11-1.1.5-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Muayyad Alsadi 2009-03-23 18:44:14 UTC
I'm already using them and the problem is not solved

[alsadi@pc1 ~]$ rpm -q libX11 xkeyboard-config
libX11-1.1.5-1.fc10.i386
xkeyboard-config-1.4-7.fc10.noarch

Comment 17 Peter Hutterer 2009-03-23 21:45:00 UTC
just confirming: the remaining issue is what you mentioned in Comment #9?

Comment 18 Muayyad Alsadi 2009-03-23 22:13:54 UTC
I guess comment #9 is not a critical thing, mentioning it in release notes will be sufficient
--
sorry, I was confused with with this one

https://bugzilla.redhat.com/show_bug.cgi?id=487583

that bug is not yet solved
I ment to keep that one opened not this one


Note You need to log in before you can comment on or make changes to this bug.