don't set min and max sizes twice. We would set it, which would trigger a resize event..which would position panel which would set them again.
Remove rather incorrect emit
We've clearly not changed any of these properties in this method.
Don't save and restore panel length
length gets overriden from the QML side so there is no point loading and
restoring it.
This patch puts all logic for resizing the panel within panelview, with Panel.qml providing only a size hint.
Resizing and positioning are discrete functions which only do their one job, rather than both doing a mismatch.
Seems to fix resizing actually working reliably.
(patch requires change in plasma-desktop)