Summary: | Cannot uninstall newly installed Plasma Style (not active currently) | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kpackage | Reporter: | Piotr Mierzwinski <piotr.mierzwinski> |
Component: | default | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexander.lohnau, bugseforuns, forestix, leinir, nate, qydwhotmail, sephiroth_pk |
Priority: | NOR | ||
Version: | 5.102.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kpackage/commit/1bdaf324a7b78738ffc09ed4a5563666fa85e9d2 | Version Fixed In: | 5.104 |
Sentry Crash Report: | |||
Attachments: | Error uninstalling Plasma Style |
I can confirm the bug. I reproduced this on a fresh install from neon-testing-20230207-0250.iso. Steps: Settings: Appearance: Plasma Style: Get New Plasma Styles... Install one of them Close the Download New Plasma Styles window Select the new theme Apply changes Click the theme's Trash icon Apply changes A red error banner appears with this message: "Removing theme failed: Error: Plugin [...] is not installed." The style remains in the installed styles list, even after a reboot. Do other themes also have the problem? Yes. I reproduced it with several different themes. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kpackage/-/merge_requests/65 Git commit 1bdaf324a7b78738ffc09ed4a5563666fa85e9d2 by Fushan Wen. Committed on 11/02/2023 at 08:54. Pushed by alex into branch 'kf5'. Check pluginId contains '/' before using it as package type Some old packages do not contain ServiceTypes field, and their plugin name/id is not a package type. Usually a package type string contains '/', so add check for that. FIXED-IN: 5.104 A +18 -0 autotests/data/testplasmathemepackagewithoutservicetypes/metadata.desktop M +12 -0 autotests/querytest.cpp M +2 -0 autotests/querytest.h M +4 -3 src/kpackage/private/utils.h https://invent.kde.org/frameworks/kpackage/commit/1bdaf324a7b78738ffc09ed4a5563666fa85e9d2 *** Bug 418099 has been marked as a duplicate of this bug. *** |
Created attachment 146370 [details] Error uninstalling Plasma Style SUMMARY I installed Plasma Style by "Gen New Plasma Style", applied it to check how it looks in real, and after back to my previous. Later I wanted to remove this newly installed "Plasma Style" but wasn't able. Always I got error message saying that "Removing theme failed Error: Plugin [its name] is not installed" I tried with: "Greybird-Dark" and also tried with other. Result was the same. STEPS TO REPRODUCE 1. Install new Plasma Style by "Gen New Plasma Style" (I tested "Greybird-Dark") 2. Apply it 3. Back to your previous 4. Try to delete newly installed OBSERVED RESULT Appears error: "Removing theme failed Error: Plugin [name] is not installed" EXPECTED RESULT I should be able to remove newly installed theme. SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90 Qt Version: 5.15.2 with last KDE patches ADDITIONAL INFORMATION