vcl/unx/gtk3/gtk3gtkframe.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit a0e8a42a45abc7e626346bf01903ed81a026287d Author: Jan-Marek Glogowski <jan-marek.glogow...@extern.cib.de> AuthorDate: Sat Feb 29 19:37:35 2020 +0100 Commit: Jan-Marek Glogowski <glo...@fbihome.de> CommitDate: Mon Mar 2 10:34:03 2020 +0100
tdf#131031 Gtk3 presume the resize did happen Regression from commit b26ca5b13733b46c2df0787502f885e15b390956 ("tdf#130841 resize to client size after SetPosSize"). It just happens for me on gtk3, not gen and not win. But since gtk3 also sets the nX and nY value SetPosSize eventually before the fact, do the same for the nWidth and nHeight. Change-Id: I2898c403b73de790f3f988b8b8ec2067f4b0b43f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89760 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glo...@fbihome.de> diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx index 12df8c289fae..a4f90290e3bd 100644 --- a/vcl/unx/gtk3/gtk3gtkframe.cxx +++ b/vcl/unx/gtk3/gtk3gtkframe.cxx @@ -1482,6 +1482,9 @@ void GtkSalFrame::SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_u { m_bDefaultSize = false; + maGeometry.nWidth = nWidth; + maGeometry.nHeight = nHeight; + if( isChild( false ) ) widget_set_size_request(nWidth, nHeight); else if( ! ( m_nState & GDK_WINDOW_STATE_MAXIMIZED ) ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits