Bug 333241

Summary: Scripts are not read/saved and add program crashes
Product: [Applications] systemsettings Reporter: Luiz Angelo De Luca <luizluca>
Component: kcm_autostartAssignee: Laurent Montel <montel>
Status: RESOLVED FIXED    
Severity: major    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Luiz Angelo De Luca 2014-04-09 18:32:52 UTC
Hello,

I'm using systemsetting v 4.95.0 in kf5.

Kf5 seems to read what was present in kde4 (one time import or they look at the same location?). However, only programs are read. No scripts are present, even after adding them to kde4.

In kf5, if I add a new script, it simply looses it when it exists. Also, the "select file" component does not read what the file dialog selects.

In kf5, if I add a new program, it crashes



Reproducible: Always

Steps to Reproduce:
a) adding programs
1. open systemsettings
2. autostart
3. add a program

b) adding scripts
1. open systemsettings
2. autostart
3. add a script
4. type manually (do not use the open dialog)
5. close autostart
6. open autostart

c) adding scripts using file dialog
1. open systemsettings
2. autostart
3. add a script
4. click on "open file dialog" button
5. select a script
6. ok
Actual Results:  
a)
4. crash

b)
7. no script is present

c)
7. no script is selected in the "select file" box

Expected Results:  
a)
4. no crash

b)
7. added scripts is present

c)
7. file dialog fills the "select file" box
Comment 1 Luiz Angelo De Luca 2014-05-22 18:51:17 UTC
Fixed. Now I guess there is only the bug 333793