Bug 494432 - file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/ThumbnailsComponent.qml: QML Action: Accessible must be attached to an Item
Summary: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/ThumbnailsCompo...
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_wallpaper (show other bugs)
Version: 6.2.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-10 12:51 UTC by postix
Modified: 2024-11-02 14:10 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.