[Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

Benoît Minisini gambas at ...1...
Sun Sep 30 22:05:12 CEST 2012

Le 30/09/2012 18:42, Benoît Minisini a écrit :
> Le 30/09/2012 15:15, RICHARD WALKER a écrit :
>> Some more information, but I am not sure what it means...
>> I have written a rudimentary testbed program to emulate the operation
>> of the colour chooser thing and it works in both qt4 and gtk modes.
>> What it does:
>> 1. Take a screenshot of the area around the mouse to prove that
>> screenshots work
>> 2. Click to grab the mouse cursor and track its movement, proving that
>> I can track it and display a zoomed area around the mouse as it is
>> dragged across the screen.
>> 3. Proof that the grabbed keyboard/mouse are correctly released when
>> the mouse button is released.
>> What it doesn't do yet is the vast amount of housework needed to
>> update colour values and colour maps but I will be adding that bit by
>> bit.
>> The other thing it doesn't yet do is copy the method of the colour
>> chooser thing in releasing the mouse and keyboard. I haven't yet
>> identified the ways of doing this and on investigation it seems that I
>> was just lucky when my test program met conditions which forced the
>> Grab to un-grab.
>> Richard
> I'm currently investigating... The Control.Grab() method does not work
> anymore in gb.gtk, I have to fix it...

OK, it is fixed in revision #5213 and will be backported to Gambas 3.3.2.


Benoît Minisini

More information about the User mailing list