View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0018188||Lazarus||LCL||public||2010-12-11 14:26||2010-12-12 19:27|
|Reporter||José Mejuto||Assigned To|
|Product Version||0.9.29 (SVN)|
|Summary||0018188: GTK2 TCustomControl paint not update|
|Description||Testing GeckoPort in my Ubuntu (running in Virtualbox) I had problem not present in the Win32 version. GeckoBrowser is a TCustomControl descendent and in the paint event I simply request the underlaying Gecko to repaint the Window, but this only happends when I change something in the Widget or in a parent widget.|
Gecko browser is aligned alTop, so if I change something in the Width the browser disappears, if I change something in height browser magically appears but widget size does not change.
The visual effect is like the browser is rendered and just after the browser the CustomControl canvas is draw over it.
Adding a "Self.AutoSize" in the paint override fixes the problem and the browser is rendered as expected (as Win32).
|Steps To Reproduce||I was unable to write a synthetic code that triggers the problem, so when all operations are done by the LCL everything seems to look fine, canvas drawing works, etc. So the only way to check it is using the Geckoport code (Additional information link).|
|Tags||No tags attached.|
|Fixed in Revision|