Bug 165723 - Manage profiles list includes one profile twice and the show menu setting isn't saved
Summary: Manage profiles list includes one profile twice and the show menu setting isn...
Status: RESOLVED REMIND
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-04 16:10 UTC by auxsvr
Modified: 2010-08-26 18:40 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description auxsvr 2008-07-04 16:10:18 UTC
Version:            (using KDE 4.0.83)
Installed from:    SuSE RPMs
Compiler:          gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] 
OS:                Linux

When starting konsole, the manage profiles list has 3 entries, two of them corresponding to the same profile, and the "show in menu" setting is cleared for all of them. After I set "show in menu" and close the menu, the "manage profiles" list lists everything normally, until I restart konsole. I checked, and there are only 2 profile files in ~/.kde4/share/apps/konsole.
Comment 1 Robert Knight 2008-07-13 02:21:23 UTC
Can you please post the contents of your ~/.kde4/share/config/konsolerc file
Comment 2 auxsvr 2008-07-13 10:05:09 UTC
Well, this was always happening during the first week I was using KDE4, now it has stopped... Anyway, here's ~/.kde4/share/config/konsolerc:

[$Version]
update_info=konsole.upd:kde2.2/r1,konsole.upd:kde3.0/r1

[Colors]
CurrentPalette=Forty Colors

[Desktop Entry]
DefaultProfile=Shell.profile

[Favorite Profiles]
Favorites=/home/auxsvr/.kde4/share/apps/konsole/Root shell.profile,/home/auxsvr/.kde4/share/apps/konsole/Shell.profile

[MainWindow]
Height 768=769
State=AAAA/wAAAAD9AAAAAAAAA/YAAAKIAAAABAAAAAQAAAAIAAAACPwAAAAA
Width 1024=1025

[TipOfDay]
TipLastShown=2008,6,14,21,56,18
Comment 3 Robert Knight 2008-07-13 18:09:56 UTC
> Well, this was always happening during the first week I was using KDE4,
> now it has stopped

In that case as close as REMIND for now.  If it happens again, please post the contents of konsolerc
Comment 4 auxsvr 2008-11-08 14:02:23 UTC
This happens again after I upgraded to 4.1.3, however the "show in menu" setting is saved. Here's konsolerc:

[$Version]
update_info=konsole.upd:kde2.2/r1,konsole.upd:kde3.0/r1

[Colors]
CurrentPalette=Forty Colors

[Desktop Entry]
DefaultProfile=Shell.profile

[Favorite Profiles]
Favorites=/home/auxsvr/.kde4/share/apps/konsole/Shell.profile,/home/auxsvr/.kde4/share/apps/konsole/Root shell.profile

[MainWindow]
Height 480=481
Height 600=601
Height 768=769
State=AAAA/wAAAAD9AAAAAAAAA/YAAAKCAAAABAAAAAQAAAAIAAAACPwAAAAA
Width 1024=1025
Width 640=641
Width 800=801

[TipOfDay]
TipLastShown=2008,6,14,21,56,18

Thanks for the session support, it works great.
Comment 5 Mike 2008-11-21 13:32:42 UTC
I am still getting this bug in a recent SVN.  Keep in menu is not saved and sometimes the profiles appear twice in the menu.  I cannot find my konsolerc file.  Has it moved?
Comment 6 peter.hine 2009-02-18 23:27:38 UTC
Just wanted to add that this bug has reared itself again.
Note the Favourite Profile that was created automatically. It doesn't exist. Will need to play with this, i guess.

Opensuse 11.1


my /home/phine/.kde4/share/config/konsolerc
[Desktop Entry]
DefaultProfile=.profile

[Favorite Profiles]
Favorites=/home/phine/.kde4/share/apps/konsole/.profile,/usr/share/kde4/apps/konsole/Root_Shell.profile

[MainWindow]
Height 1024=682
State=AAAA/wAAAAD9AAAAAAAABB8AAAKVAAAABAAAAAQAAAAIAAAACPwAAAAA
Width 1280=1055

rpm -qa | grep -i kde                                                                                                
kde-susetranslations-11.1-6.4                                                                                                             
kdebase4-workspace-ksysguardd-4.1.3-10.1                                                                                                  
kde4-kupdateapplet-packagekit-0.8.34-2.1                                                                                                  
libkdepimlibs4-4.1.3-5.1                                                                                                                  
kde4-akregator-4.1.3-3.13                                                                                                                 
kde4-kgpg-4.1.3-2.12                                                                                                                      
kde4-keditbookmarks-4.1.3-3.7                                                                                                             
kde4-kmines-4.1.3-3.8                                                                                                                     
kde4-kwrite-4.1.3-3.7                                                                                                                     
kdebase4-openSUSE-11.1-66.4                                                                                                               
kdebluetooth4-0.2-12.38                                                                                                                   
kdebase4-workspace-branding-openSUSE-11.1-66.4                                                                                            
kdebase4-runtime-4.1.3-4.1                                                                                                                
kde4-konqueror-plugins-4.1.3-2.10                                                                                                         
kde4-ksudoku-4.1.3-3.8                                                                                                                    
kde4-kgreeter-plugins-4.1.3-10.1                                                                                                          
kdeartwork4-screensaver-4.1.3-1.26                                                                                                        
bundle-lang-kde-en-11.1-11.6                                                                                                              
kde4-kompare-4.1.3-2.8                                                                                                                    
kde4-kdm-branding-openSUSE-11.1-66.4                                                                                                      
kdelibs3-default-style-3.5.10-21.9                                                                                                        
libkde4-4.1.3-4.9                                                                                                                         
kdebase4-libkonq-4.1.3-3.7                                                                                                                
kdepimlibs4-4.1.3-5.1                                                                                                                     
kde4-kaddressbook-4.1.3-3.13                                                                                                              
kde4-kscd-4.1.3-4.14                                                                                                                      
kde4-gwenview-4.1.3-4.7                                                                                                                   
kde4-kio_kamera-4.1.3-4.7                                                                                                                 
PolicyKit-kde-0.2-6.3                                                                                                                     
kde4-kreversi-4.1.3-3.8                                                                                                                                                     
kde4-krfb-4.1.3-4.13                                                                                                                                                        
kdegames4-carddecks-other-4.1.3-3.9                                                                                                                                         
kde4-kcolorchooser-4.1.3-4.7                                                                                                                                                
kde4-kmail-4.1.3-3.13                                                                                                                                                       
kdebase4-workspace-4.1.3-10.1                                                                                                                                               
kde4-kget-4.1.3-4.13                                                                                                                                                        
kdebase4-4.1.3-3.7                                                                                                                                                          
kde4-plasmoid-quicklauncher-0.4-4.23                                                                                                                                        
kde4-kontact-4.1.3-3.13                                                                                                                                                     
kde3-i18n-en_GB-3.5.10-2.41                                                                                                                                                 
kdebase3-3.5.10-17.4                                                                                                                                                        
kdegames4-carddecks-default-4.1.3-3.9                                                                                                                                       
kdebase3-runtime-3.5.10-17.4                                                                                                                                                
kdebase3-nsplugin-3.5.10-17.4                                                                                                                                               
libkdegames4-4.1.3-3.8                                                                                                                                                      
kdelibs4-4.1.3-4.9                                                                                                                                                          
NetworkManager-kde-0.7r848570-23.1                                                                                                                                          
kde4-kopete-4.1.3-4.13                                                                                                                                                      
kde4-kio_audiocd-4.1.3-4.14                                                                                                                                                 
kde4-kio_sysinfo-11.1-66.4                                                                                                                                                  
kde4-krdc-4.1.3-4.13                                                                                                                                                        
kde4-kmix-4.1.3-4.14
kde4-ark-4.1.3-2.12
kde4-kwalletmanager-4.1.3-2.12
kde4-kmahjongg-4.1.3-3.8
kde4-kgamma-4.1.3-4.7
compiz-kde4-0.7.8-36.1
simple-ccsm-kde-1.0-20.24
kde4-kdnssd-4.1.3-4.13
kdepim4-4.1.3-3.13
kde4-kio_sysinfo-branding-openSUSE-11.1-66.4
kdepim4-wizards-4.1.3-3.13
kde4-knewsticker-4.1.3-4.13
kdebase4-session-4.1.3-2.1
kdebase4-nsplugin-4.1.3-3.7
kde4-l10n-en_GB-4.1.3-2.1
OpenOffice_org-kde-3.0.0.9-1.9
kdelibs3-3.5.10-21.9
kdelibs4-core-4.1.3-4.9
kde4-kupdateapplet-0.8.34-2.1
kde4-konsole-4.1.3-3.7
kdenetwork4-filesharing-4.1.3-4.13
kde4-kcalc-4.1.3-2.12
kde4-kdm-4.1.3-10.1
kde4-plasma-addons-4.1.3-5.21
kdelibs3-doc-3.5.10-21.9
libkdeedu4-4.1.3-4.2
kde4-kalzium-4.1.3-4.2
kde4-filesystem-4.1.3-1.9
qtcurve-kde-0.59.5-1.83
libkdecore4-4.1.3-4.9
kde4-kcm_gtk-1.1-115.17
libkdepim4-4.1.3-3.13
kde4-okular-4.1.3-4.7
kde4-knotes-4.1.3-3.13
kde4-kfind-4.1.3-3.7
kde4-kpat-4.1.3-3.8
kde4-ksnapshot-4.1.3-4.7
kde4-kwin-4.1.3-10.1
kde4-korganizer-4.1.3-3.13
kde4-plasmoid-quickaccess-0.7.1-4.22
Comment 7 auxsvr 2010-07-15 07:28:24 UTC
When kde4 was initially released, konsole had no profiles shipping with it, so I created the Root shell one. After some releases, profiles would ship with it in /usr/share/kde4/apps/konsole, one of which is Root_Shell.profile, which happened to have the same settings as mine except for the font. The two profiles, Root Shell.profile and Root_Shell.profile, have the same Name setting, and probably konsole was as confused as I when it displayed them in the profile list, i.e. they are different profiles that appear to have the same name. Any settings of the shipped Root_Shell.profile I make are saved in Root Shell.profile in ~/.kde4, which complicates the matter even more.

It appears that konsole in some places treats Name as set in the .profile file as the profile object, and in others treats the name of the profile file as the profile object.
Comment 8 Robert Knight 2010-07-15 12:35:19 UTC
> After some releases, profiles would ship with it
> in /usr/share/kde4/apps/konsole, one of which is Root_Shell.profile,
> which happened to have the same settings as mine except for the font.

Upstream Konsole still does not include any profiles out of the box except for the default one which is a plain shell.  This is deliberate and I would prefer that Linux distributions aimed at a general audience do not add any themselves.

Which Linux distribution are you using?
Comment 9 auxsvr 2010-07-15 13:00:15 UTC
I'm using opensuse.
Comment 10 auxsvr 2010-08-26 18:40:44 UTC
So the culprit is the second profile shipped with the distribution? What if someone changes some settings for the default profile, won't the same problem occur in this case?