Bug 30233

Summary: xkb layouts that include nbsp not working with 1.9 release
Product: xkeyboard-config Reporter: Parag <panemade>
Component: GeneralAssignee: xkb
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: panemade
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: This is the required output when used existing Fedora 1.9 rpm
This is the required output when used usptream git source code

Description Parag 2010-09-16 22:16:45 UTC
I am using Fedora 14. I think there is some problem with xkeyboar-config-1.9-1.fc14 package. When I installed previous version build 1.8.1-6.fc13, its working fine.

While adding few xkb maps from India say Hindi Wx, Hindi Bolnagari, I got
following error message
======================================================================
Error activating XKB configuration.
It can happen under various circumstances:
 • a bug in libxklavier library
 • a bug in X server (xkbcomp, xmodmap utilities)
 • X server with incompatible libxkbfile implementation

X server version data:
Fedora Project
10900000

If you report this situation as a bug, please include:
 • The result of xprop -root | grep XKB
 • The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
==========================================================================

Here is output for "xprop -root | grep XKB"

_XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "pc105+inet", "us", "", ""
_XKB_RULES_NAMES(STRING) = "evdev", "pc105+inet", "us", "",
"grp:shift_caps_toggle"

Here is output for "gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd"

 layouts = [us,in bolnagri]
 options = [grp grp:shift_caps_toggle]
 model = 



Steps to Reproduce:
1. Select India as country while adding new keymap
2. Try to add Hindi Bolnagri map
3. Observe error message after you clicked on "Add" button

Actual results:
Unable to use or select maps in panel

Expected results:
Should add maps without error message and able to change and use them
Comment 1 Sergey V. Udaltsov 2010-09-17 11:00:08 UTC
Try

setxkbmap -rules evdev -layout us,in -variant ,bolnagri -option '' -option grp:shift_caps_toggle -print

and then

setxkbmap -rules evdev -layout us,in -variant ,bolnagri -option '' -option grp:shift_caps_toggle -print | xkbcomp - -xkb out.xkb

Do you see any errors? Please attach out.xkb

Try to do that with the latest git source code.
Comment 2 Parag 2010-09-19 21:16:35 UTC
Created attachment 38806 [details]
This is the required output when used existing Fedora 1.9 rpm
Comment 3 Parag 2010-09-19 21:20:46 UTC
Created attachment 38807 [details]
This is the required output when used usptream git source code

I have not got any warning with this installation while adding new keymap. But I am not able to select keymap in panel whereas when tried to see which keymaps are added in keyboard preference, I can see Hindi Bolnagri there.
Comment 4 Parag 2010-09-19 21:25:57 UTC
After removing .gconf directory and re-adding India-Hindi Bolnagri keymap, I am still not able to change/select this keymap. All I see is USA in panel. But Keyboard-preference-> Layouts is showing me both "USA" and "India Hindi Bolnagri" maps.
Comment 5 Jens Petersen 2010-09-19 23:35:33 UTC
Yes looks like nbsp is also breaking other layouts than "in" in 1.9.
Comment 6 Sergey V. Udaltsov 2010-09-20 00:30:59 UTC
Yes, there was a problem with include stmts:

http://cgit.freedesktop.org/xkeyboard-config/commit/?id=393204e792de332457b1175b3831170d6970a98f

So it if fixed now. The release 2.0 is due next Tuesday
Comment 7 Parag 2010-09-20 01:43:17 UTC
Thanks for quick fix. I have tested git source code and everything is working fine. I can add maps and switch maps in panel.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.