Resolves: tdf#95700 index dialog cut off
queue_resize needs to invalidate the size cache even if there is a pending layout idle awaiting Change-Id: I6dba3d37fbb33125cc3f5d17aff6d2f7a3388654
This commit is contained in:
@@ -1016,11 +1016,13 @@ const Link<SystemWindow&,void>& SystemWindow::GetCloseHdl() const
|
|||||||
|
|
||||||
void SystemWindow::queue_resize(StateChangedType /*eReason*/)
|
void SystemWindow::queue_resize(StateChangedType /*eReason*/)
|
||||||
{
|
{
|
||||||
if (hasPendingLayout() || isCalculatingInitialLayoutSize())
|
|
||||||
return;
|
|
||||||
if (!isLayoutEnabled())
|
if (!isLayoutEnabled())
|
||||||
return;
|
return;
|
||||||
|
if (isCalculatingInitialLayoutSize())
|
||||||
|
return;
|
||||||
InvalidateSizeCache();
|
InvalidateSizeCache();
|
||||||
|
if (hasPendingLayout())
|
||||||
|
return;
|
||||||
maLayoutIdle.Start();
|
maLayoutIdle.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user