ScrollBox & Gtk2 very slow, is it a bug? lazarus / 1-Linux ---------------------------------------------------------------------- luigi65 · 2008-11-03 13:19 I must have capture mouse movement over a scrollbox, but I have noted this occurs very slow if compile my application with gtk2 widget (Lazarus 0.9.26 on Fedora 8 ). To try this I have used the following code: Code: [Select] unit Unit1; {$mode objfpc}{$H+} interface uses   Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs,   StdCtrls, ExtCtrls; type   { TForm1 }   TForm1 = class(TForm)     Label1: TLabel;     ScrollBox1: TScrollBox;     procedure ScrollBox1MouseMove(Sender: TObject; Shift: TShiftState; X,       Y: Integer);   private     { private declarations }   public     { public declarations }   end; var   Form1: TForm1; implementation { TForm1 } procedure TForm1.ScrollBox1MouseMove(Sender: TObject; Shift: TShiftState; X,   Y: Integer); begin   Label1.Caption:=IntToStr(X)+'; '+IntToStr(Y); end; initialization   {$I unit1.lrs} end. The caption of Label1 changes slowly, this not happens if I compile with gtk widget. This behavior is a bug? Thanks