Bug 433016

Summary: ncurses UI breaks console keyboard
Product: [openSUSE] openSUSE 11.1 Reporter: Jiří Suchomel <jsuchome>
Component: YaST2Assignee: Gabriele Mohr <gs>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: gs, mmarek
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard: #8735
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jiří Suchomel 2008-10-07 12:27:19 UTC
During installation in Czech, YaST sets console keyboard using "loadkeys cz-us-qwertz.map.gz". This would work correctly (it works if I call it manually), but YaST calls also UI::SetKeyboard (). UI::SetKeyboard calls initConsoleKeyboard, which calls this command:

"/bin/dumpkeys | /bin/loadkeys --unicode"

after this, the keyboard layout is broken.

I assume it worked before, but now there were some changes in console keyboard handling, so the call in initConsoleKeyboard is probably obsolete. Michal, could you confirm?
Comment 1 Michal Marek 2008-10-09 08:46:42 UTC
Yes, a variant of this line was removed from the kbd init script recently, please also remove it from YaST.
Comment 2 Gabriele Mohr 2008-10-09 08:53:59 UTC
Stefan, could you please have a look (I'am not at the office today and tomorrow).
Comment 3 Gabriele Mohr 2008-10-14 11:11:26 UTC
I will remove the line "/bin/dumpkeys | /bin/loadkeys --unicode" from yast2-ncurses. This means NCApplication::initConsoleKeyboard() will be a NOOP. Are there any others commands to call instead? 
Why was the command removed from the kbd init script ?(to have the information available as comment in yast2-ncurses).

Comment 4 Michal Marek 2008-10-14 12:42:37 UTC
See bug 367801 comment 18 and other comments by jbohac.
Comment 5 Gabriele Mohr 2008-10-16 09:06:09 UTC
The bug is fixed in yast2-ncurses-2.17.10.