Bug 358083 - Modifying the default profile does not work
Summary: Modifying the default profile does not work
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL: http://bugzilla.opensuse.org/show_bug...
Keywords:
: 360816 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-16 16:56 UTC by Wolfgang Bauer
Modified: 2018-03-04 12:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 16.04.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Bauer 2016-01-16 16:56:48 UTC
Changes to the default profile are not remembered.

Actually the default profile is not even shown in "Manage Profile", but if you use "Edit current profile" a new one appears named "Profile #1", but without the modified settings.
Setting this profile as default and modifying that works then and actually changes the default settings.

Creating a new profile and modifying seems to work as expected too.

Reproducible: Always

Steps to Reproduce:
1. Start Konsole with the default profile
2. Select "Edit current profile..." from the menu
3. Change some setting, e.g. the appearance

Actual Results:  
After closing and restarting Konsole, the old settings are back. A new profile "Profile #1" has been created, but not even that one contains the changed settings.

Expected Results:  
The default settings should have been changed, and been re-applied on next start with the default profile.
Comment 1 Wolfgang Bauer 2016-01-16 16:58:24 UTC
PS, forgot to mention:
This is with Konsole 15.12.1 (KF 5.18.0).
According to the openSUSE bug report, this bug already happens in 15.12.0 though.

IIRC, it worked fine in 15.08.3.
Comment 2 Wolfgang Bauer 2016-03-26 11:03:49 UTC
*** Bug 360816 has been marked as a duplicate of this bug. ***
Comment 3 Łukasz Żarnowiecki 2016-04-08 22:10:58 UTC
I can confirm presence of the issue on konsole 15.12.3 as well as on yakuake 3.0.2 which seems to be based on some common component.
Comment 4 Wolfgang Bauer 2016-07-02 09:30:29 UTC
This is fixed in Konsole 16.04.2.
Thank you!

@Lukasz:
It still doesn't work in yakuake (not even modifying a new profile), but that's probably related to bug#360072 (i.e. "Manage Profiles" is completely broken currently in yakuake because of the changes in konsole).
Yakuake' konsole-part should pick up konsole's settings though, so changing your profile settings in konsole should be a workaround for you.
Comment 5 Wolfgang Bauer 2016-07-02 09:59:56 UTC
(In reply to Wolfgang Bauer from comment #4)
> @Lukasz:
> It still doesn't work in yakuake (not even modifying a new profile), but
> that's probably related to bug#360072 (i.e. "Manage Profiles" is completely
> broken currently in yakuake because of the changes in konsole)

As I just noticed, yakuake not remembering profile changes has been reported as bug#364336 actually.
It seems not to be related to bug#360072 after all, but FWICS the reason seems to just be that yakuake saves the profiles to ~/.local/share/yakuake/, but konsole-part reads them from ~/.local/share/konsole/. So yakuake's changes are lost obviously.

In any case, that's a different problem than what I reported here, which is fixed.
Comment 6 Sergio Torres Soldado 2018-03-03 20:37:22 UTC
This still happens for me, specifically I wan't to set the font to bold. The set profile at $HOME/.local/share/konsole/ has the right settings:

"""
[Appearance]
ColorScheme=WhiteOnBlack
Font=Hack,9,-1,5,75,0,0,0,0,0,Bold

[General]
Name=New Profile
Parent=FALLBACK/
"""

But the font is always regular.

I don't know if it is relevant but looking at strace I see:

"""
close(12)                               = 0
openat(AT_FDCWD, "/usr/share/fonts/TTF/Hack-Bold.ttf", O_RDONLY) = 12
fcntl(12, F_SETFD, FD_CLOEXEC)          = 0
fstat(12, {st_mode=S_IFREG|0644, st_size=318100, ...}) = 0
mmap(NULL, 318100, PROT_READ, MAP_PRIVATE, 12, 0) = 0x7f9d84154000
close(12)                               = 0
openat(AT_FDCWD, "/usr/share/fonts/TTF/Hack-Regular.ttf", O_RDONLY) = 12
fcntl(12, F_SETFD, FD_CLOEXEC)          = 0
"""

As expected overwriting the actual font file is the workaround I am currently using..
Comment 7 Wolfgang Bauer 2018-03-04 02:11:32 UTC
(In reply to Sergio Torres Soldado from comment #6)
> This still happens for me, specifically I wan't to set the font to bold.

This bug report was about profile changes were not saved at all.

In your case they are saved obviously, just setting the font to bold apparently doesn't work somehow.

Maybe related to bug#390629 (or maybe not), but definitely a completely different problem than I originally reported here.
Comment 8 Wolfgang Bauer 2018-03-04 02:23:30 UTC
(In reply to Wolfgang Bauer from comment #7)
> Maybe related to bug#390629 (or maybe not)
Might also be related to bug#389725 ...
Comment 9 Sergio Torres Soldado 2018-03-04 12:02:32 UTC
You are right, thank you.