Bug 473056

Summary: Czech keyboard with QWERTZ layout not working in Anaconda installer
Product: [Fedora] Fedora Reporter: Pavel Stárek (CZ) <pavel.starek>
Component: rhplAssignee: Martin Sivák <msivak>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 10CC: katzj, mschmidt, msivak, pavel.starek
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-27 12:00:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fix Czech qwertz kbd layout none

Description Pavel Stárek (CZ) 2008-11-26 10:43:32 UTC
Description of problem:

Czech keyboard with QWERTZ layout not working after selection in next steps of anaconda installation process.  

Version-Release number of selected component (if applicable):

anaconda-11.4.1.62-1.i386.rpm - I think about that this is the same version as "Anaconda runtime" on bootable DVD installation media?

How reproducible:

allways


Steps to Reproduce:

1. Boot i386 install DVD.
2. Select Czech (Čeština) language for installation
3. select Czech keyboard layout without qwerty
4. and nothing happens, Czech keyboard with QWERTY layout is still in use in next pages of installer.
  
Actual results:


Expected results:

Czech QWERTZ keyboard layout in Anaconda and in Xorg server after selecting in Anaconda installer.



Additional info:

Comment 1 Michal Schmidt 2008-11-26 14:39:02 UTC
I looked into Anaconda source and it uses system-config-keyboard to set the layout. s-c-k uses rhpl's list of keyboard layouts. That list lives in
/usr/lib/python2.5/site-packages/rhpl/keyboard_models.py.
And here's how the Czech layout is defined there:

'cz-us-qwertz'            : [N_('keyboard|Czech'), 'us,cz', 'pc1    05', '', 'grp:shifts_toggle,grp_led:scroll'],

No wonder the keyboard is not actually switched to Czech - the primary group is 'us'.

Pavel, does pressing both Shift keys switch the layout? (that
s what the 'grp:shifts_toggle' does)

If the user selects Czech, he should get it. Reassigning to rhpl. BTW, Czech is not the only layout defined this way.

Comment 2 Michal Schmidt 2008-11-26 14:49:29 UTC
Created attachment 324724 [details]
fix Czech qwertz kbd layout

Can we please have the order changed from us,cz to cz,us in the Czech layout like in this patch? Or maybe offer cz only?

Comment 4 Pavel Stárek (CZ) 2008-11-26 15:35:46 UTC
(In reply to comment #1)
> Pavel, does pressing both Shift keys switch the layout? (that
> s what the 'grp:shifts_toggle' does)
> 
> If the user selects Czech, he should get it. Reassigning to rhpl. BTW, Czech is
> not the only layout defined this way.

Pressing both Shifts after keyboard layout selection works as expected in Anaconda on F10 installation DVD! Did not occur to me to try it. Changing status to CLOSED.

Comment 5 Michal Schmidt 2008-11-26 15:45:08 UTC
Reopening. Pressing the Shifts is non-obvious and should not be required. The Czech group should be the primary one.

Comment 6 Martin Sivák 2009-01-27 12:00:35 UTC
Modified in rhpl 0.218