Bug 244578

Summary: KDE Control Center: Keyboard Layout, missing flag icons
Product: [Fedora] Fedora Reporter: Gianluca Varisco <gvarisco>
Component: kdebaseAssignee: Than Ngo <than>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: low    
Version: 7CC: nobody, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-17 16:10:43 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
keyboard layout missing flag icons none

Description Gianluca Varisco 2007-06-17 15:58:32 UTC
Description of problem: There are missing icons in the "Keyboard Layout" module
of the KDE Control Center. 
According to kdebase-3.5.6/kxkb/pixmap.cpp (lines 20,21,22):

const QString LayoutIcon::flagTemplate("l10n/%1/flag.png");
const QString& LayoutIcon::ERROR_CODE("error");
LayoutIcon* LayoutIcon::instance;

Where /%1/ is the country prefix (e.g /it/); %1/ contains two files:
- entry.desktop
- flag.png

Seems that these flag.png aren't displayed in this KDE module and I haven't
found any of these flag.png in my system.

Version-Release number of selected component (if applicable):
kdebase-3.5.6-12.fc7 
 
Steps to Reproduce:
1. K menu - Control Center (or by typing "kcontrol", or directly by typing
"kcmshell keyboard_layout") 
2. Flag icons are missing.
  
Actual results:

See the attachment.

Expected results:

Flag icons are displayed correctly.

Additional info:

I'll also try, as soon as possible, the kdebase-3.5.7 package available here:
http://koji.fedoraproject.org/koji/buildinfo?buildID=8256 and try to see if the
problem is still unresolved.

Comment 1 Gianluca Varisco 2007-06-17 15:58:32 UTC
Created attachment 157226 [details]
keyboard layout missing flag icons

Comment 2 Ignacio Vazquez-Abrams 2007-06-17 16:10:43 UTC
This is intentional.

http://fedoraproject.org/wiki/Languages#head-2ae52dbef2515e18d66fba220112c712c9d2eb14