Bug 344431 - Containment::addApplet missing position parameter
Summary: Containment::addApplet missing position parameter
Status: CONFIRMED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasma (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-21 18:37 UTC by Kai Uwe Broulik
Modified: 2020-01-31 20:36 UTC (History)
2 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 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