Bug 257708 - KPart doesn't save profile "Show in Menu" option
Summary: KPart doesn't save profile "Show in Menu" option
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: kpart (show other bugs)
Version: 0.9
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 15:44 UTC by Juan Luis Baptiste
Modified: 2011-10-08 13:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Luis Baptiste 2010-11-23 15:44:22 UTC
Version:           SVN (using KDE 4.5.3) 
OS:                Linux

When having multiple profiles configured, yakuake won't remember the "Show in Menu" setting after closing. So, each time I launch yakuake and wan't to access my configured profiles I have to go to Settings->Manage Profiles and click on "Show in Menu" again for all of the profiles (less the default one).

Reproducible: Always

Steps to Reproduce:
1. Open yakuake
2. Create a custom profile.
3. check the "Show in Menu" checkbox for the new profile on "Manage Profiles".
4. Restart yakuake
5. right click on the terminal and select the "Change Profile" menu and see the new profile isn't listed.

Actual Results:  
The custom profile isn't listed in the "Change Profile" menu as it should.

Expected Results:  
The custom profile should be listed in the "Change Profile" menu (as the "Show in Menu configuration option for tha profile is selected").

I'm using the default widget style, oxygen.
Comment 1 Eike Hein 2010-11-23 22:46:14 UTC
That menu is part of the Konsole KPart component Yakuake embeds. Reassigning.
Comment 2 Juan Luis Baptiste 2010-11-23 23:00:21 UTC
I thought that too, but the strange thing is this doesn't happen with konsole, just with yakuake.
Comment 3 gauauu 2011-01-24 22:32:18 UTC
Unlike Juan, I do also see this bug in konsole, not just with yakuake.  (Konsole 2.5, KDE 4.5.1)  Same steps to reproduce as in yakuake.
Comment 4 Jekyll Wu 2011-08-02 14:37:36 UTC
just notice another strange thing:

Even though my profiles are all setup as 'show in menu' correctly and do show up in konsole, when the profiles manager dialog is open from yakuake, none of the profiles have the 'show in menu' item enabled.

I guess that is a good implication.
Comment 5 Jekyll Wu 2011-10-08 13:24:59 UTC
One recent commit which fixes bug #200987 should also fix this problem.

Git commit ae44eb4c4b552f60572cf86402674a2936651594 by Jekyll Wu.
Committed on 06/10/2011 at 11:12.
Pushed by jekyllwu into branch 'master'.

Save default-profile/favorites/shortcuts settings into disk ASAP.

Those settings are now synced into disk right after the
ManageProfilesDialog is closed.

BUG: 200987
FIXED-IN: 4.8
REVIEW:102781

M  +1    -1    src/Application.cpp
M  +7    -0    src/ManageProfilesDialog.cpp
M  +2    -0    src/ManageProfilesDialog.h
M  +1    -1    src/Part.cpp
M  +10   -1    src/SessionManager.cpp
M  +5    -5    src/SessionManager.h

http://commits.kde.org/konsole/ae44eb4c4b552f60572cf86402674a2936651594