Bug 483570 - Cannot update widgets via `Get New Plasma Widgets` Dialog
Summary: Cannot update widgets via `Get New Plasma Widgets` Dialog
Status: RESOLVED DUPLICATE of bug 484057
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.0.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-14 15:51 UTC by jonathansimon
Modified: 2024-08-25 16:10 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.4
Sentry Crash Report:


Attachments
Error message (92.76 KB, image/png)
2024-03-14 15:51 UTC, jonathansimon
Details
My system details (104.28 KB, image/png)
2024-03-14 15:52 UTC, jonathansimon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jonathansimon 2024-03-14 15:51:40 UTC
Created attachment 167180 [details]
Error message

SUMMARY
The plasmoids do not update when clicking the update button


STEPS TO REPRODUCE
1. From the Add Widgets sidebar, select `Get New Widgets` and then `Download New Plasma Widgets`
2. In the subsequent dialog, click `Everything` and select `Only Show Updateable Entries`
3. Click the `Update` button on a widget that indicates an update is available.
4. A warning appears to indicate the update cannot occur because the widget installation folder already exists.
5. Ok, click into the widget details and click `Update` there. Nothing at all happens.
  - Observe this error in the system journal lining up with clicking the `Update` button in the widget details.

```
...
Mar 14 11:40:12 COMPUTERNAME plasmashell[1964]: qrc:/qt/qml/org/kde/newstuff/EntryDetails.qml:125: TypeError: Property 'update' of object ItemsModel(0x5c7a49cd7800) is not a function
...
```

OBSERVED RESULT
Widgets cannot be updated. The only way to is to uninstall them and reinstall them.

EXPECTED RESULT
Widgets update.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Comment 1 jonathansimon 2024-03-14 15:52:02 UTC
Created attachment 167182 [details]
My system details
Comment 2 ManuelBoe 2024-04-07 23:06:17 UTC
I have have the same issue since upgrading to Plasma 6.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux (unstable branch)
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.8.3-1-MANJARO (64-bit)
Graphics Platform: Wayland
Comment 3 jonathansimon 2024-04-08 15:50:09 UTC
I would add that manually deleting the appropriate folder from ~/.local/share/plasma/plasmoids/ and the clicking Update in the widget overview (not the details for the specific widget) does result in the widget being updated (only running the updated version on next plasma launch, tho).
Comment 4 Nate Graham 2024-08-05 19:56:04 UTC
This was fixed in a subsequent frameworks release, 6.4 IIRC.
Comment 5 kerown 2024-08-05 23:11:55 UTC
(In reply to Nate Graham from comment #4)
> This was fixed in a subsequent frameworks release, 6.4 IIRC.

I still have the issue with framework 6.4:

Installation of /tmp/hIpQoz-applet-wunderground-pws.plasmoid failed: ~.local/share/plasma/plasmoids/com.github.k-donn.plasmoid-wunderground already exists
Comment 6 Nate Graham 2024-08-06 19:25:06 UTC
Ok, then your issue is different.
Comment 7 kerown 2024-08-09 19:42:05 UTC
(In reply to Nate Graham from comment #6)
> Ok, then your issue is different.

I'm not sure how is that different though. Steps I follow and observed results are exactly the same as jonathansimon describes.
Comment 8 jonathansimon 2024-08-09 19:46:18 UTC
I can confirm that this issue persists on 6.1.4. I get a new error now where the error message dialog trying to tell me it failed also fails to load properly and I get this in the journal

```
Aug 09 15:45:12 arescube plasmashell[2010]: qrc:/qt/qml/org/kde/newstuff/Page.qml:152:5: QML ErrorDisplayer: Binding loop detected for property "y"
Aug 09 15:45:12 arescube plasmashell[2010]: qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight"
Aug 09 15:45:12 arescube plasmashell[2010]: qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight"
Aug 09 15:45:12 arescube plasmashell[2010]: qrc:/qt/qml/org/kde/newstuff/Page.qml:152:5: QML ErrorDisplayer: Binding loop detected for property "y"
```

Operating System: EndeavourOS 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.3-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 24 × 13th Gen Intel® Core™ i7-13700
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7E01
System Version: 4.0
Comment 9 Major Tom 2024-08-25 16:10:09 UTC

*** This bug has been marked as a duplicate of bug 484057 ***