Version: (using Devel) Installed from: Compiled sources I recently added KNewStuff3 support to Okteta and while doing so I noticed that nothing happens on the file system when I click the uninstall button. After looking at the sources that the problem lies withing KNS3::Engine::uninstall() here the entry from the provider is used (which does not have any installed files), so nothing gets deleted. I created a patch which fixes this problem. Should I attach it to this Bug or upload it to ReviewBoard?
Created attachment 43235 [details] Proposed patch
I just noticed that uninstalling does not always fail without this patch. It works as long as khotnewstuff4 is not restarted between installing and uninstalling. If it is restarted, and you click on uninstall it displays "install again", but if you then start khotnewstuff4 again the entry is still installed, since no files were deleted and the registry was not updated.
2 years passe, still same problems present. GHNS feature is REALLY buggy. It's an incredible feature exclusive to Kde, my concern is why this has been introduced if it's clearly full of problems. Uninstalling extensions is a critrical feature that doesn't work in almost any place GHNS is used. Waiting a replay to report more useful infos to squash these bugs once for all.
*** Bug 305479 has been marked as a duplicate of this bug. ***
It happens in KDE 4.10; and remove “things” myself cause also problems (https://bugs.kde.org/show_bug.cgi?id=176033).
*** Bug 245086 has been marked as a duplicate of this bug. ***
Ugh, 3 years ago, sorry all. I just tested okteta and confirmed this bug and will test the patch and add it next. I'll back port it to 4.11 also, so it should get into KDE SC 4.11.0 I believe.
Git commit 04548d934a8e31dfa11f9ae92ae2632d30cd4d29 by Jeremy Whiting. Committed on 02/08/2013 at 17:01. Pushed by whiting into branch 'master'. Fix uninstalling of knewstuff data by using registry entry for uninstall rather than provider entry. Thanks to Alex Richardson <arichardson.kde@googlemail.com> for the patch. M +25 -2 knewstuff/knewstuff3/core/engine.cpp http://commits.kde.org/kdelibs/04548d934a8e31dfa11f9ae92ae2632d30cd4d29
Git commit dd74f97c139c493ccf18d99286cfc85700bd994a by Jeremy Whiting. Committed on 02/08/2013 at 17:01. Pushed by whiting into branch 'KDE/4.11'. Fix uninstalling of knewstuff data by using registry entry for uninstall rather than provider entry. Thanks to Alex Richardson <arichardson.kde@googlemail.com> for the patch. (cherry picked from commit 04548d934a8e31dfa11f9ae92ae2632d30cd4d29) M +25 -2 knewstuff/knewstuff3/core/engine.cpp http://commits.kde.org/kdelibs/dd74f97c139c493ccf18d99286cfc85700bd994a