Bug 258418 - kcm session settings: excluded applications not recognized
Summary: kcm session settings: excluded applications not recognized
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_smserver (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-30 19:25 UTC by Christian González
Modified: 2020-10-14 15:22 UTC (History)
3 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 Christian González 2010-11-30 19:25:41 UTC
Version:           1.0 (using KDE 4.5.3) 
OS:                Linux

KDE does not remember the excluded applications mentioned in systemsettings' session management kcm.



Reproducible: Always

Steps to Reproduce:
Systemsettings -> start and stop (?don't know english name) -> Session management: here the last item: Applications to excluded from sessions:
there is a single QLineEdit. fill in "kate" e.g.


Actual Results:  
If I fill in ANY program, it is ignored, just try it with kate.
start kate, logout, login, kate is there again.

Expected Results:  
the program, e.g. "kate" should not get started at login.

OS: Linux (x86_64) release 2.6.35-23-generic
Compiler: cc

I don't know if I chose the right package, there is no kcm_session or similar, please correct me.

Sidenote: This is very unhandy.
I by luck found a hint somewhere in the internet that you have to put colons (?!?) between the app names to separate them?
This is bad style. NO user knows that. Ideally there should be a list of open programs, or at least a QListView with add/remove buttons.
Comment 1 Guido Schmidt 2011-03-18 10:36:25 UTC
I can confirm that using KDE 4.6.1 with Linux (x86_64) release 2.6.37.1-1.2-desktop (OpenSUSE 11.4-Binaries).

I tried "kmail,akregator,amarok,krandrtray,kgpg" but they all are restarted at next login.
Comment 2 Jekyll Wu 2012-11-09 06:45:11 UTC
According to the code of ksmserver, it expected ',' or ':' as delimiter.

    excludeApps = generalGroup.readEntry( "excludeApps" ).toLower().split( QRegExp( "[,:]" ), QString::SkipEmptyParts );

But in practice that "excluding application" feature does not seem to work. 

So there are two related problems: 

   * The UI is not user friendly. At least there should be some tooltip informing users the expected format.
 
   * The feature seems broken.
Comment 3 Jekyll Wu 2012-11-09 13:51:45 UTC
For the broken feature itself, see bug 242760.
Comment 4 Nate Graham 2020-09-29 04:07:54 UTC
Is this still happening for yo in a recent version of Plasma, like 5.19 or later?
Comment 5 Bug Janitor Service 2020-10-14 04:33:23 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Guido Schmidt 2020-10-14 07:58:17 UTC
Using Plasma 5.19.5 (OpenSUSE Tumbleweed) it is still broken.