Bug 484498

Summary: Widgets/Addons cannot be updated
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: William AC <warcayac>
Component: generalAssignee: Dan Leinir Turthra Jensen <admin>
Status: REPORTED ---    
Severity: normal CC: alexander.lohnau, ben, kdelibs-bugs
Priority: NOR    
Version: 6.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Error on updating widget

Description William AC 2024-03-25 23:58:54 UTC
Created attachment 167770 [details]
Error on updating widget

SUMMARY
Widgets/Addons cannot be updated

STEPS TO REPRODUCE
1. Right-click and select `Add widgets...`
2. Click on button "Get new widgets..." and select "Download new plasma widgets"
3. in window "Plasma Widgets", click on toolbar button "Show Only Updateable Entries"
4. the window content shows "No items found" message, however if you select "Show Only Installed Entries" button, the window content shows all widgets installed, every entry showed has 2 floating buttons (Use, Uninstall) or 3 floating buttons (Use, Update, Uninstall). This means that updateable widgets are not being recognized properly,
5. for updateable widgets, if you click on "Update" button, you get an error message similar to this:

> Installation of /tmp/vsXxBE-Vivid-Dark-Plasma.tar.gz 
> failed: /home/warcayac/.local/share/plasma/desktoptheme/Vivid-Dark-Plasma already exists

the same happens when trying to update for Themes, styles, etc in the System Settings.

OBSERVED RESULT
1. Updateable widgets are not listed on clicking on "Show Only Updateable Entries" button
2. Updateable widgets raise error messages when updating

EXPECTED RESULT
1. Updateable widgets should be listed on clicking on "Show Only Updateable Entries" button
2. Updateable widgets should be able to update

SOFTWARE/OS VERSIONS
Linux distro: EndeavourOS Linux x86_64
Kernel: 6.8.1-zen1-1-zen
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0 
Qt Version: 6.6.2
Graphics platform: X11

ADDITIONAL INFORMATION