Bug 487464

Summary: Plasma widgets with QQC2.Action in PlasmaExtras.PlaceholderMessage break with error: Cannot assign object of type “QQC2.Action” to property of type “Action_QMLTYPE_111*” as the former is neither the same as the latter nor a sub-class of it.
Product: [Plasma] kdeplasma-addons Reporter: Mészáros Tamás <tamasm78>
Component: WeatherAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: antxzq, cmillar6, committer, eamonnrea, isma.af, jr, nate, notmart, postix, rune.fritzsche
Priority: HI Keywords: regression
Version: 6.0.5   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: Frameworks 6.4
Attachments: Desktop

Description Mészáros Tamás 2024-05-24 08:28:45 UTC
Created attachment 169761 [details]
Desktop

Brake my widget. Error message:

file:///usr/share/plasma/plasmoids/org.kde.plasma.weather/contents/ui/main.qml:452:25: Type FullRepresentation unavailable

file:///usr/share/plasma/plasmoids/org.kde.plasma.weather/contents/ui/FullRepresentation.qml:38:24: Cannot assign object of type “QQC2.Action” to property of type “Action_QMLTYPE_111*” as the former is neither the same as the latter nor a sub-class of it.


Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-35-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 5 2400G with Radeon Vega Graphics
Memory: 13.5 GiB of RAM
Graphics Processor: AMD Radeon Vega 11 Graphics
Comment 1 Mészáros Tamás 2024-05-24 08:34:13 UTC
Weather Widget colapse Brake my widget. Error message:

file:///usr/share/plasma/plasmoids/org.kde.plasma.weather/contents/ui/main.qml:452:25: Type FullRepresentation unavailable

file:///usr/share/plasma/plasmoids/org.kde.plasma.weather/contents/ui/FullRepresentation.qml:38:24: Cannot assign object of type “QQC2.Action” to property of type “Action_QMLTYPE_111*” as the former is neither the same as the latter nor a sub-class of it.
Comment 2 Nate Graham 2024-05-24 23:08:05 UTC
Hmm, this may be a Neon packaging issue.
Comment 3 Marco Martin 2024-06-06 14:52:00 UTC

*** This bug has been marked as a duplicate of bug 487904 ***
Comment 4 Marco Martin 2024-06-06 16:14:39 UTC
can you try to delete the qml cache and restart plasma to see if the problem persists?

the folder to delete should be

 ~/.cache/plasmashell/qmlcache/
Comment 5 Nate Graham 2024-07-01 18:06:46 UTC
This turns out to be a slightly different bug; using this ticket as the master report for it.
Comment 6 Nate Graham 2024-07-01 18:07:24 UTC
Fixed by https://invent.kde.org/plasma/libplasma/-/commit/d91e9a330eacf673c6c3e18ae218e3d1fb81f7fe in Frameworks 6.4. We're not getting any new reports, so I think distros have probably backported it already.
Comment 7 Nate Graham 2024-07-01 18:08:05 UTC
*** Bug 487597 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2024-07-01 18:08:08 UTC
*** Bug 488907 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2024-07-01 18:08:11 UTC
*** Bug 488945 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2024-07-01 18:20:54 UTC
*** Bug 487904 has been marked as a duplicate of this bug. ***