MouseMove is not called for ScrolledWinControl lazarus / 31-LCL ---------------------------------------------------------------------- Alexander Sviridenkov · 2017-12-11 15:08 Looks like there is a bug is ScrolledWinControl on Linux. MouseMove is not called when mouse is below "initial" window rectangle and left button is pressed. How to reproduce: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i TTestWindow = class(TScrollingWinControl)  public    procedure MouseMove(Shift: TShiftState; X, Y: Integer); override;  end;       procedure TTestWindow.MouseMove(Shift: TShiftState; X, Y: Integer);begin  inherited MouseMove(Shift, X, Y);  TForm(Owner).Caption := inttostr(GetTickCount)+' '+ inttostr(integer(Shift));end;  procedure TForm1.FormCreate(Sender: TObject);var W:  TTestWindow;begin  W := TTestWindow.Create(Self);  W.Parent := Self;  W.Align := alClient;  W.HorzScrollBar.Visible := true;  W.VertScrollBar.Visible := true;  W.VertScrollBar.Page := ClientHeight;  W.VertScrollBar.Range := 2000;end;   1. Start application. 2. Press left button somewhere and move mouse - caption is changed. 3. Scroll to bottom. 4. Press left button somewhere and move mouse - caption is not changed. Is there any workaround for this? Ubuntu, Lazarus 1.9.0, FPC 3.0.2. ---------------------------------------------------------------------- Handoko · 2017-12-11 15:21 Hello Alexander Sviridenkov, Welcome to the forum. No problem here on my test on Ubuntu Mate 17.10 Lazarus 1.8.0RC5 64-bit Gtk2. The caption is always changed if I move the mouse even scrolled to the bottom. I provide the compilable source in the Test.zip below for anyone interested to test.