I think I used Canvas.DrawFocusRect on Paintbox in Delphi to select part of image inside MouseMoveEvent, but on linux that do not draw anything.
For instance, plain PaintBox1.Canvas.DrawFocusRect (rect(0,0,100,100)) draw nothing, while Canvas.Rectangle draws rectangle...
Can anyone provide working example?