Bug 494432

Summary: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/ThumbnailsComponent.qml: QML Action: Accessible must be attached to an Item
Product: [Applications] systemsettings Reporter: postix <postix>
Component: kcm_wallpaperAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: meven, nate
Priority: NOR    
Version First Reported In: 6.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description postix 2024-10-10 12:51:54 UTC
SUMMARY

Open the wallpaper kcm

```
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/ThumbnailsComponent.qml:62:17: QML Action: Accessible must be attached to an Item
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/ThumbnailsComponent.qml:69:17: QML Action: Accessible must be attached to an Item
```

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241007
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.11.2-1-default (64-bit)
Comment 1 Méven 2024-11-02 09:26:26 UTC
Those warnings were introduced because of ef02acf719c185c07f5e087bc7add5a51ef40849

`QML Action: Accessible must be attached to an Item`

Apparently this triggers a warning, despite actions should be allowed for actions.

qtdeclarative/src/quick/items/qquickaccessibleattached.cpp only supports this for items.

Nate: I think we should remove those unusable attachments here. wdyt?
Comment 3 Méven 2024-11-02 11:47:17 UTC
68099423054093ef71263e9e31a701ec168785ba in plasma-desktop cause the same errors.
Comment 4 Nate Graham 2024-11-02 14:10:20 UTC
They're harmless and go away automatically in Qt 6.8.1. No sense in doing anything here IMO.