Bug 254551 - Cannot delete profile in Konsole
Summary: Cannot delete profile in Konsole
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-18 16:30 UTC by mathew
Modified: 2011-08-29 14:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The profiles dialog showing the two entries (13.96 KB, image/png)
2010-10-18 16:30 UTC, mathew
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mathew 2010-10-18 16:30:54 UTC
Created attachment 52652 [details]
The profiles dialog showing the two entries

Version:           2.5 (using KDE 4.5.1) 
OS:                Linux

Konsole has two profiles, the default (which cannot be deleted because the button is grayed out when it is selected), and a second profile.

The Delete Profile button is enabled when I click the second profile, but clicking the button does not delete it.

I also have no idea where this second profile came from; as far as I know, I've never created any beyond the default.

Reproducible: Didn't try

Steps to Reproduce:
Click the non-default profile (the one without the red dot).
Click the Delete Profile button.

Actual Results:  
Nothing happens.

Expected Results:  
Profile is deleted.

OS: Linux (i686) release 2.6.32-23-generic-pae
Compiler: cc
Comment 1 Jekyll Wu 2011-07-30 18:58:47 UTC
Is that second profile named as 'Shell'? That is a internal fallback profile defined in the source code of konsole.

Since deleting a fallback profile is counter-intuitive, I think the delete button should be grayed not only for default profile , but also  for fallback profile.
Comment 2 Jekyll Wu 2011-07-31 01:55:07 UTC
(In reply to comment #1)
> 

Another misleading comment from me :(. Please ignore it
Comment 3 Jekyll Wu 2011-08-29 14:05:42 UTC
That looks-deletable-but-can-not-be-deleted 'Shell' profile should correspond to /usr/share/apps/konsole/Shell.profile. It can't be deleted by normal users because normal users do not have enough permission. 

Of course, such a system profile should have been also marked as undeletable, just like the default profile. This problem should be fixed in KDE-4.8[1].

[1] - http://quickgit.kde.org/?p=konsole.git&a=commit&h=e25962af065b93cc11f4f558d45c09c0a6454d6c