Hi There,<br><br>I've been away from Laz for a few months. And just tried the daily build on Windows. Now having a few questions:<br><br>1) How is the status of latest Lazarus on Ubuntu? I had very bad experience during Ubuntu 11.04 and 11.10, notable problem is Laz does not play well with Unity global menu.<br>
<br>2) There is a problem with Canvas, I reported a bug already (<a href="http://bugs.freepascal.org/view.php?id=22163">http://bugs.freepascal.org/view.php?id=22163</a>) Please create a new project, add an Form.OnPaint event handler:<br>
<br>procedure TForm1.FormPaint(Sender: TObject);<br>begin<br> with Canvas do begin<br> Pen.Width:=1;<br> Pen.Color:=clRed;<br> MoveTo(0, 0);<br> LineTo(100, 0);<br> LineTo(0, 100);<br> LineTo(0, 0);<br>
MoveTo(Width - 1, Height - 1);<br> LineTo(Width - 101, Height - 1);<br> LineTo(Width - 1, Height - 101);<br> LineTo(Width - 1, Height - 1);<br> end;<br>end;<br><br>While the program is running there are two triangles on the top left and bottom right corner of the form. Now you maximize the form, the 2 triangles are redrawn. But then you restore the form, the bottom triangle is NOT drawn!<br>
<br>3) I tried to use TCanvas.FloodFill, but compiler told me incorrect number of arguments. I traced down into the fpcanvas source, the signature is correct, I wonder if that method is implemented or not?<br><br>Thanks!<br>
Shannon<br clear="all"><br>-- <br><img src="http://fxronline.info/xrfang.png"><br><br>