MouseEventListener in CompactApplet
@mart Since you were the one who wrote it, this is the question primarily for you :)
In desktop package, the CompactApplet component has a popup with a mainItem as follow:
desktoppackage/contents/applet/CompactApplet.qml:
- mainItem: Item {
+ //It's a MouseEventListener to get all the events, so the eventfilter will be able to catch them
+ mainItem: MouseEventListener {
It dates back to commit 6ffef979 from Aug 2014.
Other compact representation in system tray containment doesn't use that, but Plasma SDK does. Tray simply uses plain Item
. So, the question is: whether this event listener is still relevant today? Which applets can it be tested with to observe different behavior? How the code should be synced in between these copy-pasted components?