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, johnmaverick74, kdelibs-bugs, kerown, saunders
Priority: NOR    
Version: 6.5.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
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
Comment 1 saunders 2024-07-10 22:47:17 UTC
Finally had a widget update today and can confirm this still happens in 6.1.2

"Installation of /tmp/atAjEv-zayron.simple.separator.tar.xz failed: /home/zzz/.local/share/plasma/plasmoids/zayron.simple.separator already exists"

Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.8 (64-bit)
Graphics Platform: Wayland
Comment 2 John 2024-08-28 16:01:26 UTC
Dupe of bug 484057 (now fixed!)???