Bug 276293

Summary: Wrong Icon at new Database Project
Product: [Applications] KEXI Reporter: Dimitrios T Tanis <dimitrios.tanis>
Component: GeneralAssignee: Jarosław Staniek <staniek>
Status: CLOSED WAITINGFORINFO    
Severity: minor    
Priority: NOR    
Version First Reported In: 2.4 alpha1 (Calligra 2.4 alpha1)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Kexi wrong empty db icon

Description Dimitrios T Tanis 2011-06-23 00:13:31 UTC
Version:           2.4 alpha1 (Calligra 2.4 alpha1) (using KDE 4.6.0) 
OS:                Linux

When launching Kexi, Selecting Blank Database, on the description to the right next to "New Blank Database Project" the icon is a header file icon, not the black database icon (a perforated sheet of paper)

Reproducible: Always

Steps to Reproduce:
Launch Kexi ALPHA 2, Select Create Project tab, Blank Database

Actual Results:  
The wrong icon is displayed in the description

Expected Results:  
The Icon corresponding to the one on the left (pick list),a perforated sheet of paper should appear (in a smaller size)
Comment 1 Jarosław Staniek 2011-06-23 22:52:18 UTC
The icon is called x-office-document what is a standard for neutral icon. 
You should be able to find it in your /usr/share/icons (where, depends on your icon theme). If you set your theme to KDE's Oxygen or any other of enough quality, x-office-document should be present.

x-office-document name is defined by the Icon Naming Specifications at http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html#names

Could you use the link below 'Add an attachment' to show screenshot how does your Kexi window look?
Comment 2 Dimitrios T Tanis 2011-06-24 22:15:34 UTC
Created attachment 61307 [details]
Kexi wrong empty db icon
Comment 3 Dimitrios T Tanis 2011-06-24 22:16:03 UTC
Hi Jaroslaw.

It doesn't show x-office-document it shows text-x-objchdr.

I'm set to Oxygen.

For clarity's sake. Here you go!
Comment 4 Jarosław Staniek 2011-06-25 19:51:01 UTC
No idea. In fact we set the icon (x-office-document) in single place so there's no chance different icon is substituted unless the icon matching system is too intelligent.

Maybe it's good idea to clear the cache (or move it out temporarily); the cache is in ~/.kde4/cache-{machinename}/kpc/kde-icon* files.
Comment 5 Dimitrios T Tanis 2011-06-26 13:47:25 UTC
Cleared up the cache as you suggested (moved it to another partition), still no change.

I am on openSUSE 11.4 with KDE.

FYI the same icon issue is also on KOffice 2.3.1 (Included with the distro)

PS. When kde-icon-cache.data and kde-icon-cache.index are recreated, they are exactly the same size as before. Shouldn't they be near zero, as the cache is recreated? The cache sym link points to /var/tmp/kdecache-{user}