Sensor bug

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Sensor bug

Stéphane Ducasse
Hi mike

it seems that any of the Form methods using Sensor blocks the image.
how do we fix that?
I have a lecture monday and I wanted to have fun with that.

        Form exampleMagnify.
        Form exampleBorder
None of the alphablending bitBlt examples work.

Clicking on any colored text in Form also blocks.

Stef





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Sensor bug

Mariano Martinez Peck


On Fri, May 22, 2009 at 5:16 PM, Stéphane Ducasse <[hidden email]> wrote:
Hi mike

it seems that any of the Form methods using Sensor blocks the image.
how do we fix that?
I have a lecture monday and I wanted to have fun with that.

       Form exampleMagnify.
       Form exampleBorder
None of the alphablending bitBlt examples work.

I could reproduce them.

I created the ticket: http://code.google.com/p/pharo/issues/detail?id=841

Cheers,

Mariano
 


Clicking on any colored text in Form also blocks.

Stef





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Sensor bug

Michael Rueger-6
In reply to this post by Stéphane Ducasse
Stéphane Ducasse wrote:

> Hi mike
>
> it seems that any of the Form methods using Sensor blocks the image.
> how do we fix that?
> I have a lecture monday and I wanted to have fun with that.
>
>     Form exampleMagnify.
>     Form exampleBorder
> None of the alphablending bitBlt examples work.
>
> Clicking on any colored text in Form also blocks.
Apologies it took so long, fixes attached.

Michael

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

sensor-fixes.2.cs.gz (574 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Sensor bug

Stéphane Ducasse
Thanks, mike

this is strange once I loaded your change

alphaBlendDemo is really getting slow.
and the other form examples too.
It looks like if not enough events would be treated.

Stef

On May 25, 2009, at 1:49 PM, Michael Rueger wrote:

> Stéphane Ducasse wrote:
>> Hi mike
>> it seems that any of the Form methods using Sensor blocks the image.
>> how do we fix that?
>> I have a lecture monday and I wanted to have fun with that.
>> Form exampleMagnify.
>> Form exampleBorder
>> None of the alphablending bitBlt examples work.
>> Clicking on any colored text in Form also blocks.
>
> Apologies it took so long, fixes attached.
>
> Michael
> <sensor-fixes.2.cs.gz>_______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Sensor bug

Michael Rueger-6
Stéphane Ducasse wrote:
> Thanks, mike
>
> this is strange once I loaded your change
>
> alphaBlendDemo is really getting slow.
> and the other form examples too.
> It looks like if not enough events would be treated.

you could try to shorten the Delay in the waitButton etc methods.
But the real problem is that these methods should be completely
rewritten as they are based on polling the sensor.

Michael

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Sensor bug

Stéphane Ducasse
Do you have a sample because I could give a try.
I want to have fun with bitblt anyway.

Stef
On May 25, 2009, at 10:09 PM, Michael Rueger wrote:

> Stéphane Ducasse wrote:
>> Thanks, mike
>>
>> this is strange once I loaded your change
>>
>> alphaBlendDemo is really getting slow.
>> and the other form examples too.
>> It looks like if not enough events would be treated.
>
> you could try to shorten the Delay in the waitButton etc methods.
> But the real problem is that these methods should be completely
> rewritten as they are based on polling the sensor.
>
> Michael
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project