View Issue Details

IDProjectCategoryView StatusLast Update
0018188LazarusLCLpublic2010-12-12 19:27
ReporterJosé Mejuto Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Platformi386OSLinux 
Product Version0.9.29 (SVN) 
Summary0018188: GTK2 TCustomControl paint not update
DescriptionTesting 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 ReproduceI 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).
Additional Information[Geckoport]
http://lazarus-ccr.svn.sourceforge.net/viewvc/lazarus-ccr/components/geckoport/

[Gecko setup]
http://wiki.lazarus.freepascal.org/GeckoPort#GTK2_widgetset
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetGTK 2
Attached Files

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2010-12-11 14:26 José Mejuto New Issue
2010-12-11 14:26 José Mejuto Widgetset => GTK 2
2010-12-12 19:27 Vincent Snijders LazTarget => -
2010-12-12 19:27 Vincent Snijders Status new => acknowledged