22.02.2017, 02:45, "Juha Manninen via Lazarus" <lazarus@lists.lazarus-ide.org>: > What revision caused the freezing?
Unfortunately I wasn't able to track the culprit commit. I tried building with year old Lazarus sources (the earliest my project builds from), but the bug was still there. I reckon some changes in gtk/other libs triggered that. I managed to make a fix/hack for my case though. See attachment. Please take a look and comment. -- Regards, Denis Golovan
diff --git a/lcl/interfaces/gtk2/gtk2proc.inc b/lcl/interfaces/gtk2/gtk2proc.inc index 54a08ad..4792709 100644 --- a/lcl/interfaces/gtk2/gtk2proc.inc +++ b/lcl/interfaces/gtk2/gtk2proc.inc @@ -6509,7 +6509,7 @@ var LCLHeight:=LCLControl.Height; WidthHeightChanged:=(LCLWidth<>GtkWidth) or (LCLHeight<>GtkHeight); if LCLControl.ClientRectNeedsInterfaceUpdate then begin - WidthHeightChanged:=true; + //WidthHeightChanged:=true; //DebugLn(['UpdateLCLSize InvalidateClientRectCache ',DbgSName(LCLControl)]); LCLControl.InvalidateClientRectCache(false); end;
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus