Bug 232779

Summary: konsole fails to save default font for the default profile
Product: [Applications] konsole Reporter: Vadym Krevs <vkrevs>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: adaptee, cfeck, wstephenson
Priority: NOR    
Version: 2.4.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Vadym Krevs 2010-03-31 00:56:28 UTC
Version:           2.4.2 (using 4.4.2 (KDE 4.4.2) "release 231", KDE:KDE4:Factory:Desktop / openSUSE_11.2)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.31.12-0.2-default

I've installed a KDE 4.4.2 live cd from http://ftp5.gwdg.de/pub/opensuse/repositories/KDE:/Medias/images/iso/KDE-Four-Live.x86_64-4.4.1-Build10.30.iso.

Then I've added the Qt46 repo http://download.opensuse.org/repositories/KDE:/Qt46/openSUSE_11.2/ and updated to Qt 4.6.3+4.6.20100330 from it in order to fix rendering of fixed width fonts such as Misc Fixed.

However each time konsole is restarted if uses the Monospace font, even though I had explicitly chosen to use Misc Fixed instead.
Comment 1 Christoph Feck 2010-04-01 17:10:29 UTC
Does this also fail when setting a different equal-width font as the Konsole font? There might be a problem detecting the "Fixed" font, as there are probably multiple fonts installed with that name. For example, try setting the font to "DejaVu Sans Mono", "Andale Mono" etc.
Comment 2 Vadym Krevs 2010-04-01 20:38:00 UTC
Yes, it fails the same way with both "DejaVu Sans Mono" and "Andale Mono".
Comment 3 Vadym Krevs 2010-04-01 21:02:39 UTC
Aha, here it is. Basically, out-of-the box konsole in KDE 4.4.2 does not have any profiles defined in Settings->Manage Profiles and the .kde4/share/apps/konsole/ folder is empty. However, Settings->Edit Profile claims one is editing the "Shell" profile. 

So I went into Settings->Manage Profiles and added a new profile that uses a fixed width font and set that profile as default. And now konsole does save the default font into the <profile name>.profile file in the .kde4/share/apps/konsole/ folder and loads the settings from that profile.

I guess you need to ensure konsole creates some default .profile file in .kde4/share/apps/konsole/ folder.