a bug in Spec that I wont fix

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

a bug in Spec that I wont fix

Hartmut Krasemann-2
Hi to whom it concerns.

Working with Spec (Pharo 4.0) I needed to dynamically update the ButtonModel BalloonHelp.
Since it did not work, I searched and found that ButtonModel initializes helpHolder again thus removing the changeBlock set in AbstractWidgetModel.

The statement <  helpHolder := nil asValueHolder.  > in ButtonModel>>initialize has to be removed.

Since I do not yet work with Pharo 5 I propose that somebody working with Pharo 5 would fix this.

Thanks
--
signatur

Hartmut Krasemann
Königsberger Str. 41 c
D 22869 Schenefeld
Tel. 040.8307097
Mobil 0171.6451283
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: a bug in Spec that I wont fix

Ben Coman
On Wed, Jul 6, 2016 at 11:42 PM, Hartmut Krasemann
<[hidden email]> wrote:

> Hi to whom it concerns.
>
> Working with Spec (Pharo 4.0) I needed to dynamically update the ButtonModel
> BalloonHelp.
> Since it did not work, I searched and found that ButtonModel initializes
> helpHolder again thus removing the changeBlock set in AbstractWidgetModel.
>
> The statement <  helpHolder := nil asValueHolder.  > in
> ButtonModel>>initialize has to be removed.
>
> Since I do not yet work with Pharo 5 I propose that somebody working with
> Pharo 5 would fix this.

Hi Hartmut,
Thanks for your report.  Could you add this to our issue tracker
https://pharo.fogbugz.com/default.asp?W41

and hopefully could you include some code in the form of a test that
fails before your change and succeeds afterwards (like checking
whether the value of helpHolder is nil or not)

cheers -ben