Bug 524919 - xkb option misc:typo does not enable symbols/misc(typo) section
Summary: xkb option misc:typo does not enable symbols/misc(typo) section
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libxkbfile
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Søren Sandmann Pedersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-22 17:31 UTC by Alexey Torkhov
Modified: 2014-06-18 09:11 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-08 06:28:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 24048 0 None None None Never

Description Alexey Torkhov 2009-09-22 17:31:44 UTC
Description of problem:
The problem is that it is impossible to enable "extra typographic characters" from gnome keyboard properties dialog. But it is possible to enable it if pass option "typo" directly to setxkbmap -symbols.
Investigation led to following:

Xkb properties have "misc:typo":

$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "evdev", "us", "", ""
_XKB_RULES_NAMES(STRING) = "evdev", "evdev", "us,ru", "altgr-intl,typewriter", "grp:shifts_toggle,terminate:ctrl_alt_bksp,lv3:ralt_switch,compose:rwin,grp_led:scroll,misc:typo"

But then it does not present in constructed layout:

$ setxkbmap -print
xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete+ledscroll(group_lock)"	};
	xkb_symbols   { include "pc+us(altgr-intl)+ru(typewriter):2+inet(evdev)+group(shifts_toggle)+level3(ralt_switch)+compose(rwin)+terminate(ctrl_alt_bksp)"	};
	xkb_geometry  { include "pc(pc104)"	};
};

And passing option directly to setxkbmap also does nothing:

$ setxkbmap -layout us -option misc:typo -print
xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete+ledscroll(group_lock)"        };
        xkb_symbols   { include
"pc+us+inet(evdev)+group(shifts_toggle)+level3(ralt_switch)+compose(rwin)+nbsp(level3)+srvr_ctrl(terminate_ctrl_alt_bksp)"
     };
        xkb_geometry  { include "pc(pc104)"     };
};


Version-Release number of selected component (if applicable):
xkeyboard-config-1.6-3.fc12.noarch
xorg-x11-font-utils-7.2-9.fc12.x86_64
xorg-x11-proto-devel-7.4-31.fc12.noarch
xorg-x11-server-common-1.6.99.901-3.fc12.x86_64
xorg-x11-server-utils-7.4-11.fc12.x86_64
xorg-x11-server-Xorg-1.6.99.901-3.fc12.x86_64
xorg-x11-utils-7.4-6.fc12.x86_64
xorg-x11-xauth-1.0.2-7.fc12.x86_64
xorg-x11-xinit-1.0.9-12.fc12.x86_64
xorg-x11-xkb-utils-7.4-5.fc12.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Enable misc:typo xkb option.
  
Actual results:
No effect.

Expected results:
"typo(base):1+typo(base):2" is added to xkb_symbols

Additional info:
The same behaviour is also on F-11.

Comment 1 Alexey Torkhov 2009-09-30 21:17:29 UTC
Added link to xkeyboard-config bug, where it was found that it works with same rules under other distro.

Comment 2 Alexey Torkhov 2009-10-07 06:29:28 UTC
Please update libxkbfile to 1.0.6 - this will fix the bug:
http://lists.freedesktop.org/archives/xorg-announce/2009-October/001108.html

Comment 3 Peter Hutterer 2009-10-08 06:28:50 UTC
ajax updated yesterday.

http://koji.fedoraproject.org/koji/buildinfo?buildID=135571

thanks for reporting.


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