Kaydet (Commit) f307d1a0 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Miklos Vajna

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
(cherry picked from commit d40d756f)
(cherry picked from commit c3a4bfcb)
Reviewed-on: https://gerrit.libreoffice.org/20374Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst 04899220
...@@ -1004,11 +1004,13 @@ const Link<>& SystemWindow::GetCloseHdl() const ...@@ -1004,11 +1004,13 @@ const Link<>& 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();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment