Bug 305253

Summary: after removing kdm, the kcm_kdm systemsetings icon is still present
Product: [Applications] systemsettings Reporter: Christian González <christian.gonzalez>
Component: generalAssignee: System Settings Bugs <sourtooth+ssbugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: cfeck, kde
Priority: NOR    
Version First Reported In: 4.9.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christian González 2012-08-16 12:05:30 UTC
I don't know if this is a packaging bug in Ubuntu, if so, please simply mark it as invalid:

When you deinstall kdm, systemsettings still shows the kcm_kdm module as icon, and if you click on it, you see an error, that the kcm_kdm module can't be found.

Reproducible: Always

Steps to Reproduce:
1. deinstall kdm
2. open systemsettings
Actual Results:  
the kdm icon is still there and leads to an error page

Expected Results:  
I would expect that the icon is gone as nothing refers to it any more.
It should be part of the kdm package (which maybe is just a packaging issue?)
Comment 1 Christoph Feck 2012-08-16 12:15:39 UTC
Does running "kbuildsycoca4 --noincremental" between removing kdm and starting System Settings help?
Comment 2 Christian González 2012-08-17 11:20:30 UTC
2012/8/16 Christoph Feck <christoph@maxiom.de>

> https://bugs.kde.org/show_bug.cgi?id=305253
>
> Christoph Feck <christoph@maxiom.de> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |christoph@maxiom.de
>
> --- Comment #1 from Christoph Feck <christoph@maxiom.de> ---
> Does running "kbuildsycoca4 --noincremental" between removing kdm and
> starting
> System Settings help?


Yes, perfectly. after running  "kbuildsycoca4 --noincremental" the kdm
entry is gone.
So where is the problem? Is this a packaging bug - there seems to be this
command missing in the postrm script of apt in (K)ubuntu (what I'm using)?
Normally after removing a kde component that has a link in systemsettings
there should be run this command, right?

Should I report it in Launchpad/Ubuntu?
Comment 3 Christoph Feck 2012-08-21 19:26:30 UTC
> So where is the problem?

I have no idea. Normally, I would expect that removing files from the service directories would trigger an sycoca refresh, but it could also be a bug in System Settings itself.

Reassigning.
Comment 4 Christian González 2012-08-21 19:33:56 UTC
How can I help?
Comment 5 Ben Cooksley 2012-08-21 20:51:29 UTC
kded4 is responsible for firing the kbuildsycoca4 process off. System Settings will need to be restarted however for old modules to disappear.
Comment 6 David Edmundson 2015-01-21 20:10:48 UTC
KDM no longer exists in Plasma 5