Bug 465521

Summary: onHoveredChanged signal handler in qqc2-desktop-style/Menu.qml is connected to an Item
Product: [Frameworks and Libraries] frameworks-qqc2-desktop-style Reporter: ratijas <me>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: ahiemstra, kde, nate, noahadvs, notmart
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ratijas 2023-02-09 22:39:49 UTC
SUMMARY

Item does not have hoveredChanged signal. This was probably intended for QQC2.Control.

file:///usr/local/kde/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:60:9: QML Connections: Detected function "onHoveredChanged" in Connections element. This is probably intended to be a signal handler but no signal of the "QQuickItem" target matches the name.

STEPS TO REPRODUCE
1. Open Discover
2. Go to any application page

OBSERVED RESULT
QQC2.Menu component triggers the warning above.

EXPECTED RESULT
No warning.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: git-master
Qt Version: 5.15.8
Kernel Version: 6.1.9-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
Product Name: 20QD003CRT
System Version: ThinkPad X1 Carbon 7th