Bug 6172

Summary: mcc closes when typing "q"
Product: Mageia Reporter: Markus Mertens <Mertens.MPT>
Component: RPM PackagesAssignee: Internationalisation Team <i18n-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: thierry.vignaud
Version: 2Keywords: Junior_job
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: draktools CVE:
Status comment:

Description Markus Mertens 2012-05-30 13:58:45 CEST
Description of problem:

Mageia Control Center closes when user types "q" while the window has the focus. It is not possible to type something like "rpm -qa | grep ***" in the system konsole because mcc shuts down already after typing the letter "q".

It seems to be related to the German localized version.


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


How reproducible:

Always.


Steps to Reproduce:
1. Start mcc
2. press "q"
3. mcc quits

or
1. Start mcc
2. select system->konsole
3. type in any word containing the letter "q"
4. mcc quits
Comment 1 Markus Mertens 2012-05-30 14:03:22 CEST
Editing the file '/usr/sbin/drakconf.real' around line 624 helps.

The entry


my @menu_items = (
                  [ N("/_File"), undef, undef, undef, '<Branch>' ],
                  [ N("/_File") . N("/_Quit"), N("<control>Q"), \&quit_global, undef, '<Item>', N("Quit") ],



should become


my @menu_items = (
                  [ N("/_File"), undef, undef, undef, '<Branch>' ],
                  [ N("/_File") . N("/_Quit"), "<control>Q", \&quit_global, undef, '<Item>', N("Quit") ],
Comment 2 Manuel Hiebel 2012-05-30 15:50:18 CEST
Hi, thanks for reporting this bug.

Keywords: (none) => Junior_job, PATCH
CC: (none) => thierry.vignaud
Source RPM: (none) => draktools

Comment 3 Thierry Vignaud 2012-05-30 16:10:53 CEST
works fine for me.
The issue is actually the translation.
The german translators wrongly translated the "<control>" part, which should not.

I've added a note about this in git

Keywords: PATCH => (none)
Assignee: bugsquad => mageia-i18n

Comment 4 Thierry Vignaud 2012-05-30 16:27:57 CEST
Fixed in GIT.
I'll dcommit in SVN tonight

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 5 Manuel Hiebel 2012-05-30 16:35:56 CEST
you will also update drakconf in mga2 ?