Kaydet (Commit) 65823d69 authored tarafından Pranav Kant's avatar Pranav Kant Kaydeden (comit) Andras Timar

lokdialog: Invalidate upon window size change

This problem can be seen with some of the dialogs like chart dialogs
where not all of the area which should be invalidated is invalidated.
The reason being that their container gets resized but not
lok-invalidated.

Change-Id: I12eb68e8644ca67b2666badb7b772b92a145c624
Reviewed-on: https://gerrit.libreoffice.org/51264Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarpranavk <pranavk@collabora.co.uk>
(cherry picked from commit b2428496)
üst 0d863ee8
...@@ -1386,6 +1386,12 @@ void Window::queue_resize(StateChangedType eReason) ...@@ -1386,6 +1386,12 @@ void Window::queue_resize(StateChangedType eReason)
if (pBorderWindow) if (pBorderWindow)
pBorderWindow->Resize(); pBorderWindow->Resize();
} }
if (VclPtr<vcl::Window> pParent = GetParentWithLOKNotifier())
{
if (GetParentDialog())
LogicInvalidate(nullptr);
}
} }
namespace namespace
......
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