Bug 174646 - self-populating "root shell" profiles
Summary: self-populating "root shell" profiles
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 183456 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-08 19:27 UTC by Maciej Pilichowski
Modified: 2011-07-30 22:40 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
shows the konsole profile (36.89 KB, image/png)
2009-03-28 14:15 UTC, Harald Nikolisin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Pilichowski 2008-11-08 19:27:12 UTC
Version:            (using KDE 4.1.3)
Installed from:    SuSE RPMs

self-populating "root shell" profiles

When I looked for the first time in profile management, there was one root shell (AFAIR). I added it to menu. Then, I saw 2 root shells in PM. I restarted KDE and now I have 4 root shells in PM.
Comment 1 Robert Knight 2009-01-26 21:22:56 UTC
Did the first 'root shell' come with Konsole, did you create it or was it copied over from KDE 3?
Comment 2 Maciej Pilichowski 2009-01-27 12:55:40 UTC
Robert, the first one -- it came with Konsole.
Comment 3 Andrey Rakhmatullin 2009-01-28 20:04:53 UTC
$ l ~/.kde4/share/apps/konsole/*.profile
-rw------- 1 wrar wrar 182 Сен 21 18:11
/home/wrar/.kde4/share/apps/konsole/Dark bg.profile
-rw------- 1 wrar wrar 239 Сен 21 17:44
/home/wrar/.kde4/share/apps/konsole/Shell.profile
-rw------- 1 wrar wrar 270 Авг 23 21:48
/home/wrar/.kde4/share/apps/konsole/mutt.profile

But profile manager shows 2 x mutt and 2 x Dark bg (but 1 x Shell, which is
default), and if I set one profile to be included in the menu, its pair is also
shown as enabled (though only one copy exists in the menu).
Comment 4 Robert Knight 2009-01-29 00:56:37 UTC
Konsole as shipped by KDE does not have a 'root shell' profile, this is a deliberate choice on my part.  The 'root shell' profile is an OpenSuSE add-on.

Nevertheless, I had a look at the profile and there is nothing wrong with it, so I'll leave this report open.
Comment 5 Robert Knight 2009-02-07 13:11:08 UTC
*** Bug 183456 has been marked as a duplicate of this bug. ***
Comment 6 adam 2009-02-20 12:59:40 UTC
Every time I launch a Root User profile in openSUSE it defaults to a tiny 8-point font size. For some reason I am unable to alter this setting because these multiple root shell profiles do not retain the changes at next launch. I can delete and recreate them as much as I want, but they just keep coming back with the same settings.
Comment 7 Maciej Pilichowski 2009-02-20 13:08:22 UTC
Adam, what self-populating root shell profile has to do with inability to save the settings?
https://bugs.kde.org/show_bug.cgi?id=184959
Comment 8 Harald Nikolisin 2009-03-28 14:15:40 UTC
Created attachment 32447 [details]
shows the konsole profile
Comment 9 Harald Nikolisin 2009-03-28 14:15:58 UTC
I have the same problem and it's going to be worser with ongoing time.
I attached a screenshot with my profiles:

* I created a "development" profile - ok
* additionally I have 4 root shells profiles
* and 2 empty profiles

I cannot delete anyone of the last 6 profiles. 
The profiles are coupled. When I click on "select profile" either "root" or "Root Shell" or "", both of them are selected.
Comment 10 Harald Nikolisin 2009-03-28 18:42:10 UTC
ok, there are two profiles coming from openSUSE, not KDE4 itself

/usr/share/kde4/apps/konsole/Root_Shell.profile from the package "kde4-konsole"
and
/usr/share/kde4/apps/konsole/Shell.profile from the package "kdebase4-workspace-branding-openSUSE"

If I rename the suffix of these files, I have a clean environment (only my profiles located under ~./kde4/share......)

But there is something odd with konsole behaviour with profiles located in global area:

If I reactivated "Root_Shell.profile" in the global area, my konsole-plasmoid noticed that immediately and inserted 1(!) "Root_Shell" profile into the displayed list.

Konsole itself doesn't show me the new available profile. If I restart the KDE4 session, Konsole presents now 2(!) "Root_Shell" profiles.
Comment 11 Robert Knight 2009-03-28 23:04:11 UTC
Hi Harald - Please my comment #4.  As I said, I don't want OpenSuse to ship this profile but there is nothing 'wrong' with it and that it doesn't work is indeed a bug in Konsole.
Comment 12 Tristan Miller 2009-06-19 11:48:02 UTC
Confirming that in Konsole 2.2.3 (on openSUSE 11.1), there is only one "Root Shell" profile in /usr/share/kde4/apps/konsole, but two "Root Shell" profiles appear in the "Manage Profiles" dialog.  (There's also nothing in ~/.kde4/share/apps/konsole.)
Comment 13 Tristan Miller 2009-06-19 11:48:40 UTC
*** This bug has been confirmed by popular vote. ***
Comment 14 Damir Islamov 2009-06-23 18:00:21 UTC
The same issue takes place for Debian as well as for Suse. On open a new konsole window the application 'forgets' about all profiles, all of them become inactive but system-wide profile (from /usr/share/kde4/apps/konsole/Shell.profile) is active only.
Checked on kdebase 4.2.4.
Comment 15 Harald Nikolisin 2009-06-24 20:54:30 UTC
I have on openSUSE 11.0 with latest KDE 4.2.4 rpm's following behaviour:

The global "Root Shell" profile is correctly shown only once in the profile management. So I cannnot confirm comment #12

The curious empty global profile "/usr/share/kde4/apps/konsole/Shell.profile" (see comment #10) is listed twice if you open the profile management dialog for the first time. If you close the dialog and reopen it, it is also listed only one time.

The local profiles are handled correctly - as always - so I cannot confirm comment #14
Comment 16 Damir Islamov 2009-06-26 05:52:44 UTC
upd for comment #14: checked it on 2 different installations and found that it happens just after login. A new second/third/etc konsole window run during a session handle profiles more accurately.
Comment 17 Kurt Hindenburg 2009-06-29 00:11:37 UTC
FYI, KDE 4.3 has some new code dealing with the Managing Profile dialog.  It was not to fix this issue but it may have fixed it.
Comment 18 adam 2009-06-29 00:33:43 UTC
In kde 3.2 Beta2 ("release 138") under openSUSE, the duplicate "Root Shell" profiles still exist (I see 2 of them) and I am unable to delete the duplicate.
Comment 19 Harald Nikolisin 2009-08-22 03:08:01 UTC
This specific bug can probably closed since KDE 4.3, at least I have no longer duplications in the profile management.

The not-named Shell.profile from openSuSE will be named up from openSUSE 11.2, see:
http://bugzilla.novell.com/show_bug.cgi?id=492290

The profile management is still not bug-free, current bugs in KDE 4.3 are here reported:
https://bugs.kde.org/show_bug.cgi?id=204715