SUMMARY The Widget Explorer shows widgets from KDE Store incompatible with Plasma 6 after selecting "Uninstallable" filter on top of it, but I'm unable to uninstall any of them because the "Remove" button is greyed out. STEPS TO REPRODUCE 1. use Plasma 6 beta and have incompatible Plasma widgets 2. open the widget Explorer 3. select "Uninstallable" filter on top EXPECTED RESULT we are able to uninstall incompatible Plasma widgets SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.90.0 KDE Frameworks Version: 5.246.0 Qt Version: 6.6.1 Graphics Platform: Wayland
This bug occurs on neon unstable, sorry. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.81.80 KDE Frameworks Version: 5.245.0 Qt Version: 6.6.0 Graphics Platform: Wayland
Which remove button? Can you share a screenshot?
Created attachment 163724 [details] "Uninstall widget" button
Ah, silly me! Can reproduce.
But is the KNewStuff dialog able to uninstall them?
Created attachment 164439 [details] error after uninstalling via KNewStuff dialog Some installed widgets are listed in the KNewStuff dialog, but are not in the Widget Explorer after selecting its "Uninstallable" filter. The widgets that are not listed in the Widget Explorer can be installed via the KNewStuff dialog despite de error messages seen in the attached screenshots. The widgets that are listed on both Widget Explorer and KNewStuff dialog can be uninstalled without any error message. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.91.90 KDE Frameworks Version: 5.248.0 Qt Version: 6.6.1 Graphics Platform: Wayland
Created attachment 164440 [details] error after uninstalling via KNewStuff dialog 2
oops, I meant "The widgets that are not listed in the Widget Explorer can be UNINSTALLED via the KNewStuff dialog despite..."
Git commit 8f42a086820b34b01005dc2812da3092106c19f8 by Marco Martin. Committed on 30/01/2024 at 08:27. Pushed by mart into branch 'master'. Support desktop files for plasmoids Like themes, support desktop file metadata for plasmoids. This is just needed to list old plasmoids in the widget explorer, to let the user uninstall them. M +7 -0 src/plasma/packagestructure/plasma_applet_packagestructure.cpp https://invent.kde.org/plasma/libplasma/-/commit/8f42a086820b34b01005dc2812da3092106c19f8
Git commit d52a4af773df1bea952c1cc3cd72d7a6a5c913cf by Marco Martin. Committed on 30/01/2024 at 08:27. Pushed by mart into branch 'master'. Separate listing for incorrect json and .desktop applets After listing the "proper" applets, list those that have metadata.desktop, and then those that have a maetadata.json but is not correct (ie missing "KPackageStructure": "Plasma/Applet") Unfortunately there isn't a way to get everything to list with a single query: either the desktop ones or the incorrect json ones will be missing. Therefore put separate on one side the legacy queries, which will hopefully be possible to drop some day M +13 -1 components/shellprivate/widgetexplorer/plasmaappletitemmodel.cpp M +9 -1 components/shellprivate/widgetexplorer/widgetexplorer.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/d52a4af773df1bea952c1cc3cd72d7a6a5c913cf
Git commit 0c33616fb3760f46e1efbd9911e6887d30034b19 by Marco Martin. Committed on 30/01/2024 at 08:30. Pushed by mart into branch 'Plasma/6.0'. Support desktop files for plasmoids Like themes, support desktop file metadata for plasmoids. This is just needed to list old plasmoids in the widget explorer, to let the user uninstall them. M +7 -0 src/plasma/packagestructure/plasma_applet_packagestructure.cpp https://invent.kde.org/plasma/libplasma/-/commit/0c33616fb3760f46e1efbd9911e6887d30034b19
Git commit 17fb5367f112ebc86d95e2641fc71f1436ca1ef6 by Marco Martin. Committed on 30/01/2024 at 08:31. Pushed by mart into branch 'Plasma/6.0'. Separate listing for incorrect json and .desktop applets After listing the "proper" applets, list those that have metadata.desktop, and then those that have a maetadata.json but is not correct (ie missing "KPackageStructure": "Plasma/Applet") Unfortunately there isn't a way to get everything to list with a single query: either the desktop ones or the incorrect json ones will be missing. Therefore put separate on one side the legacy queries, which will hopefully be possible to drop some day M +13 -1 components/shellprivate/widgetexplorer/plasmaappletitemmodel.cpp M +9 -1 components/shellprivate/widgetexplorer/widgetexplorer.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/17fb5367f112ebc86d95e2641fc71f1436ca1ef6