Bug 340007

Summary: Cannot drag applets which have a MouseArea of their own
Product: [Plasma] plasmashell Reporter: Kai Uwe Broulik <kde>
Component: ContainmentAssignee: Sebastian Kügler <sebas>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, kde, mklapetek
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kai Uwe Broulik 2014-10-15 20:59:23 UTC
Widgets that have a MouseArea of their own, for instance in a custom CompactRepresentation to open/close the plasmoid (but I have also noticed the default iconified representation to suffer from this) cannot be dragged around on the Desktop by dragging their contents. You can only move them using the applet handle or the thin border/shadow around the widget.

This can be observed with most widgets like digital clock, analog clock, fuzzy clock, battery monitor, mediacontroller. The only applets I've seen that still work is the calendar (in the heading area) and quite a few others when expanded.

I dump this here just FTR since Marco told me it's not trivial with all this event handling and propagation and needs further discussion.

Furthermore, a lot of applets just have a MouseArea because they show a custom compact representation (like the clocks) and just need a way of bringing up the popup, or because they want to do wheel events (which SNI can but default iconified plasmoids cannot).

Reproducible: Always
Comment 1 Aleix Pol 2014-11-24 16:24:31 UTC
bump? At least confirm the bug?
Comment 2 David Edmundson 2014-12-26 19:00:11 UTC
It's draggable from the handles, what else does it need? 

I don't see what's different.
Comment 3 David Edmundson 2015-05-04 16:13:15 UTC
I asked a question 5 months ago...
Comment 4 Martin Klapetek 2016-02-03 20:18:35 UTC
With the long-press-to-drag I am able to move the said widgets.

Seems fixed.