Bug 429515

Summary: wrong console keyboard map handling in YaST
Product: [openSUSE] openSUSE 11.1 Reporter: Jiří Suchomel <jsuchome>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium CC: mmarek
Version: Alpha 3plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jiří Suchomel 2008-09-24 12:13:35 UTC
1. yast2 language should restart kbd if keyboard was adapted to new language

2. yast2 keyboard should adapt the console settings if keyboard was changed
Comment 1 Jiří Suchomel 2008-09-24 12:36:25 UTC
(In reply to comment #0 from Jiří­ Suchomel)
> 1. yast2 language should restart kbd if keyboard was adapted to new language

yast2-country-2.17.12


Comment 2 Jiří Suchomel 2008-09-25 07:21:29 UTC
(In reply to comment #0 from Jiří­ Suchomel)

> 2. yast2 keyboard should adapt the console settings if keyboard was changed

Use case for such requirement is:

a) Language (locale) set to en_US, user wants Czech keyboard to write in Czech on console, different console font is needed. Adapting console settings to current keyboard layout would solve this problem.

But it brings other problem:

b) if the language is cs_CZ, 'yast keyboard' changes layout to US: if keyboard layout should force adapting console settings, font would be changed the font for US (non-latin2) -> translated system texts are broken


This problem one already exists:

c) Currently changing language always changes the font according
to the language, so changing language to en_US but leaving Czech keyboard
means we have non-latin2 font -> typed texts (using CZ keyboard) are broken (yast2 language fault)


Solution: change the console font only when the language matches the
keyboard (both from language and keyboard module). Problem: YaST cannot set en_US language with cs font and keyboard (use case a))
Comment 3 Jiří Suchomel 2010-08-18 12:15:29 UTC
Well, after consideration of possible solutions, I think there's not correct way to do this automatically:
1. we do not know which keyboard layouts map to which console fonts 
2. and the language vs. keyboard inconsistency may work in some cases, while not in others

To sum it up, I'd rather leave it as it is. Anyway, no-one complained so far.