Bug 463004 - plasma-nm applet spamming log with "Accessible must be attached to an Item" messages
Summary: plasma-nm applet spamming log with "Accessible must be attached to an Item" m...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networks widget (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-13 13:45 UTC by Erik Quaeghebeur
Modified: 2024-12-23 18:25 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2022-12-13 13:45:09 UTC
SUMMARY
My log is spammed by the following message;

file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/ConnectionItem.qml:45:32: QML Action: Accessible must be attached to an Item
kf.quickcharts.deprecated: ValueHistorySource is deprecated (since 5.78): Use HistoryProxySource instead
kf.quickcharts.deprecated: Note: Instantiated from "...plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/TrafficMonitor.qml"

I do not know whether there are any adverse effects or whether this is just noise. In either case, I hope it can be dealt with.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2022-12-13 14:33:33 UTC
Thank you for the bug report!

Please note that Plasma 5.25.5 is not supported for much longer by KDE; supported versions are 5.24, and 5.26 or newer.

If at all possible please upgrade to a supported version and verify that the bug is still happening there.

If you're unsure how to do this, contact your distributor about it.
Comment 2 Nate Graham 2023-01-04 18:29:54 UTC
It's mostly noise and most have been fixed now. "Accessible must be attached to an Item" is still present though. Let me see if I can fix it.
Comment 3 Nate Graham 2023-01-11 22:12:42 UTC
Git commit b0642d4a1aed6945c0d63384f61d9852856c424b by Nate Graham.
Committed on 11/01/2023 at 22:09.
Pushed by ngraham into branch 'master'.

Remove Accessible.description set on Action

the Accessible property only works for objects that inherit from Item.
Action inherits from QtObject, so setting Accessible.description on it
unfortunately does not work and instead just generates log error
messages.

PlasmaExtras.ExpandableListItem only allows you to set an action to
customize the default button, and doesn't expose the button object
itself, which is where accessibility properties would need to be set. So
this will require some refactoring to work properly.

CCMAIL: qydwhotmail@gmail.com
FIXED-IN: 5.27

M  +0    -2    applet/contents/ui/ConnectionItem.qml

https://invent.kde.org/plasma/plasma-nm/commit/b0642d4a1aed6945c0d63384f61d9852856c424b
Comment 4 Ben Cooksley 2024-12-23 18:25:57 UTC
Bulk transfer as requested in T17796