[Lazarus] Strange screen flickering Lazarus revision > 57000

John Landmesser jmlandmesser at gmx.de
Tue Feb 20 14:56:00 CET 2018


the delivered patch in https://bugs.freepascal.org/view.php?id=33198 is:

Index: grids.pas
===================================================================
--- grids.pas    (revision 57332)
+++ grids.pas    (working copy)
@@ -9414,6 +9414,8 @@
  procedure TCustomGrid.Loaded;
  begin
    inherited Loaded;
+  if not (csDesigning in ComponentState) then
+    DoubleBuffered := DoubleBuffered or 
(GetSystemMetrics(SM_REMOTESESSION)=0); // force DoubleBuffered if not 
used in remote session
    VisualChange;
  end;


but in Grid.pas Revision 57333

procedure TCustomGrid.Loaded;
begin
   inherited Loaded;
   VisualChange;
end;


so the patch was never applied??


Am 20.02.2018 um 14:24 schrieb Juha Manninen via Lazarus:
> This report is about the same issue:
>   https://bugs.freepascal.org/view.php?id=33198
>
> On Tue, Feb 20, 2018 at 10:44 AM, Landmesser John via Lazarus
> <lazarus at lists.lazarus-ide.org> wrote:
>> Lazarus 1.9.0 57333 FPC 3.0.4 i386-win32-win32/win64
>> Windows XP SP3
>> No flickering with same app and Windows 2003 !!
> Maybe the solution should be specific to LCL-Win32 and Windows version.
>
> Juha



More information about the Lazarus mailing list