Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 52376

Summary: Bad font for desktop icons in russian kde
Product: [Retired] Red Hat Linux Reporter: Leonid Kanter <leon>
Component: kdebaseAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-24 17:48:29 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
screenshot
none
how it looks if kde was started for the first time with StandardFont line removed from /usr/share/config/kdesktoprc none

Description Leonid Kanter 2001-08-23 10:38:47 UTC
Description of Problem:

Looks like latin1 font is used for desktop icons, even if all possible
fonts are set for koi8-r

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

kdebase-2.2-4, kdebase-2.2-5

How Reproducible:

always

Steps to Reproduce:
1. add test user, start kde for the first time.
2. Select Russia, Russian language in kpersonalizer
3. Start kde control center and select koi8-r font (BTW, it must be
selected automatically, will be added as separate bug).
4. Restart kde.

Actual Results:

You'll see "????" under Trash and Home Directory icons

Expected Results:

Russian names must be there

Additional Information:
	
I migrated my old home directory from rh 7.1 to rh 7.1.94, for this
migrated user everything is OK. But I'm still unable to find what config
file is responsible for this desktop font.

Comment 1 Leonid Kanter 2001-08-23 10:41:50 UTC
Created attachment 29174 [details]
screenshot

Comment 2 Leonid Kanter 2001-08-24 16:16:57 UTC
I found that problem is in /usr/share/kdesktoprc. If I remove following line
from there:
StandardFont=helvetica,10,0,50,0
and perform all above listed steps, everything is ok with desktop font. The
problem is that latin1 encoding is hardcoded in that line. With current build of
kdebase, the only thing user can do with desktop fonts is to edit this line
manually in his ~/.kde/share/config/kdesktoprc and insert his encoding name or
number in third position, because there are no tool that can do it! For koi8-r,
it must be:
StandardFont=helvetica,10,16,50,0
Or:
StandardFont=helvetica,10,koi8-r,50,0
Desktop settings dialog (third button mouse menu on desktop) do not change font
encoding in this line according to current kde charset, it change only font name
and size. It also do not offer to select encoding from list.

So, as a quick workaround, this line may be removed from
/usr/share/config/kdesktoprc. In this case during first start charset of this
font will be initialised according to settings made by kpersonalizer.

Comment 3 Glen Foster 2001-08-24 17:09:29 UTC
This defect is considered SHOULD-FIX for Fairfax.

Comment 4 Leonid Kanter 2001-08-24 17:48:25 UTC
Created attachment 29394 [details]
how it looks if kde was started for the first time with StandardFont line removed from /usr/share/config/kdesktoprc

Comment 5 Bernhard Rosenkraenzer 2001-08-27 08:42:34 UTC
Fixed in 2.2-8


Comment 6 Satoru SATOH 2001-08-28 09:20:10 UTC
*** Bug 52693 has been marked as a duplicate of this bug. ***