Bug 6172 - mcc closes when typing "q"
Summary: mcc closes when typing "q"
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Internationalisation Team
QA Contact:
URL:
Whiteboard:
Keywords: Junior_job
Depends on:
Blocks:
 
Reported: 2012-05-30 13:58 CEST by Markus Mertens
Modified: 2012-05-30 16:35 CEST (History)
1 user (show)

See Also:
Source RPM: draktools
CVE:
Status comment:


Attachments

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 ?

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