[Gambas-user] Paint misbehaves on QT when a ValueBox.value is changed (v3.5.4)

Benoît Minisini gambas at ...1...
Fri Oct 10 01:32:10 CEST 2014


Le 10/10/2014 00:04, T Lee Davidson a écrit :
> If a form's ValueBox.value is modified, subsequent Paint'ing on a cached
> DrawingArea of the form doesn't produce the draw when the gb.qt4
> component is loaded. It does work if, instead, the gb.gtk component is
> manually selected in the project. Trying to set the focus back to the
> DrawingArea, "DrawingArea1.SetFocus", after modifying the ValueBox.value
> did not help.
>
> I have attached an archive of a sample project that shows this.
>
> Also, the sample project contains two methods to clear the DrawingArea,
> because what works for GTK does not work for QT.
>
> Is this a bug, or am I doing something wrong?
>
>
> Thanks for any help,
> Lee
>
>

I saw no problem in the drawing, whatever the GUI component (gb.qt4, 
gb.gtk or gb.gtk3). But I saw that there are bugs in DrawingArea.Clear() 
in all components!

Regards,

-- 
Benoît Minisini




More information about the User mailing list