Bug 340007 - Cannot drag applets which have a MouseArea of their own
Summary: Cannot drag applets which have a MouseArea of their own
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 20:59 UTC by Kai Uwe Broulik
Modified: 2016-02-03 20:18 UTC (History)
3 users (show)

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


Attachments

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