shell: Fix panel sometimes getting shortened when dragging
positionPanel()
must be called first to make sure formFactor
is
updated, or maxSize
will be incorrect.
Connect &PanelView::locationChanged
to &PanelView::restore
directly,
do not use m_positionPaneltimer to avoid the toolbar from getting lost.