Bug 344431

Summary: Containment::addApplet missing position parameter
Product: [Frameworks and Libraries] libplasma Reporter: Kai Uwe Broulik <kde>
Component: libplasmaAssignee: Marco Martin <notmart>
Status: CONFIRMED ---    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kai Uwe Broulik 2015-02-21 18:37:57 UTC
The documentation says "* @param pos the containment-relative position" but there is no such parameter which makes it impossible for widget explorer to determine an initial position for the applet not obscured by it

Reproducible: Always
Comment 1 Marco Martin 2015-03-12 09:24:19 UTC
yeah, that is a remain from plasma4..
the part in libplasma doesn't know anything about geoometry because doesn't know anything about graphics, or QML.
there is some private method about this in the QML scriptengine..
do you have a particular use case  for having applet repositioning publicsomewhere?
Comment 2 Kai Uwe Broulik 2015-04-27 20:40:13 UTC
So that double clicking a widget in the widget explorer adds it to the desktop in a way it's not obscured by the widget explorer.
Comment 3 Marco Martin 2015-04-27 20:46:32 UTC
ok, have some ideas about possibilities on how to do it, either in the arguments or moving the appletinterface right after is created but right before the signal is forwarded to containment interface, will give it a try