Bug 104089 - Unable to use or set ca (canadian multilingual) layout
Summary: Unable to use or set ca (canadian multilingual) layout
Status: RESOLVED FIXED
Alias: None
Product: kxkb
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Andriy Rysin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-17 21:22 UTC by Yan Morin
Modified: 2006-03-05 21:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
/etc/X11/xkb/rules/xorg (6.38 KB, text/plain)
2006-03-03 14:46 UTC, Yan Morin
Details
~/.kde/share/config/kxkbrc (229 bytes, text/plain)
2006-03-03 16:42 UTC, Yan Morin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yan Morin 2005-04-17 21:22:19 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    RedHat RPMs
OS:                Linux

Like 
http://bugs.kde.org/show_bug.cgi?id=9063
http://bugs.kde.org/show_bug.cgi?id=9064

When you choose the "ca" keyboard (canadian multilingual), it's use the "ca_enhanced" keyboard command line.

When you choose the "ca" and "ca_enhanced", it's add only one flag keyboard in the status bar.

We have to change the keyboard with this command line:
setxkbmap -model pc105 -layout ca -variant basic

ca is the current standard (ISO-...)
ca_enhanced is the most used
Comment 1 Thiago Macieira 2005-04-17 21:44:21 UTC
Does your /etc/X11/xkb/symbols/ca file contain "hidden" in the basic variant?
Comment 2 Yan Morin 2005-04-17 22:12:01 UTC
I don't have any "hidden" word in my /etc/X11/xkb/symbols/ca file.
Comment 3 Yan Morin 2005-12-19 17:35:57 UTC
The bug only happen when I set the locale (Country/Region & language) in Control Center to "French".
With English US, the bug doesn't happen.

I now use KDE3.5.
Comment 4 Andriy Rysin 2006-03-03 05:04:56 UTC
Could you please tell which version of X you`re using and if this is still a problem. In Xorg 6.9.0 at least there`s no ca_enhanced layout only ¨ca¨ with different variants.
Comment 5 Yan Morin 2006-03-03 05:29:37 UTC
From Fedora Core 4: xorg-x11-6.8.2-37.FC4.49.2
Comment 6 Andriy Rysin 2006-03-03 05:45:33 UTC
Thanks for quick feedback, then I´d need a bit more detailed description of the problem.
1) Please attach your ~/.kde/share/config/xkbrc file
2) Please attach your /etc/X11/xkb/rules/xorg file

also as far as I understood you´re using two layouts ca and ca_enchanced and the problem is that they have the same indicator in tray?
Comment 7 Yan Morin 2006-03-03 14:46:54 UTC
Created attachment 14935 [details]
/etc/X11/xkb/rules/xorg
Comment 8 Yan Morin 2006-03-03 14:48:51 UTC
I don't have a ~/.kde/share/config/xkbrc

I'm almost sure that this bug is related to i18n() function in the source code.
Comment 9 Andriy Rysin 2006-03-03 15:14:36 UTC
sorry I meant ~/.kde/share/config/kxkbrc
Comment 10 Yan Morin 2006-03-03 16:42:25 UTC
Created attachment 14938 [details]
~/.kde/share/config/kxkbrc
Comment 11 Andriy Rysin 2006-03-05 21:39:42 UTC
SVN commit 516051 by rysin:

- fix guessing flag name form layout both for Xorg >= 6.9.0 and before
- show long layout names better for Xorg <= 6.8.2 and XFree86
- differenciate between layouts like xx and xx_qwerty etc. (see bug 104089)
BUG: 104089



 M  +1 -4      extension.cpp  
 M  +1 -1      kcmlayout.cpp  
 M  +3 -3      kxkbtraywindow.cpp  
 M  +176 -94   pixmap.cpp  
 M  +14 -6     pixmap.h  
 M  +11 -11    rules.cpp  
 M  +39 -27    x11helper.cpp  
 M  +5 -2      x11helper.h