Re: [Pharo-users] SpecBooklet: Strange behavior of ProtocolBrowser

2016-09-09 Thread stepharo
Le 8/9/16 à 15:14, Johan Fabry a écrit : Thanks Stef ! There will be a new chapter for you to review soon ;-) eagerly waiting :) Johan we should say that the booklet is for Pharo 60. Like that we have the time to finish it. Stef -- Does this mail seem too brief? Sorry for that, I don’t

Re: [Pharo-users] SpecBooklet: Strange behavior of ProtocolBrowser

2016-09-08 Thread Johan Fabry
Thanks for your kind words and also for the report of the issues, I will take care of that ASAP! -- Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org . Johan Fabry - http://pleiad.cl/~jfabry PLEIAD and RyCh labs - Computer Science

Re: [Pharo-users] SpecBooklet: Strange behavior of ProtocolBrowser

2016-09-08 Thread Matteo via Pharo-users
--- Begin Message --- Hi Jhoan, Does static typing could fix these kind of bugs? [hahaha, just kidding ;) ] About the SpecBooklet, for now there's only 3 (really) small issues: at page 3 --> the phrase "You could can use the rest..." should be fixed; at page 5 --> to

Re: [Pharo-users] SpecBooklet: Strange behavior of ProtocolBrowser

2016-09-08 Thread Johan Fabry
Hi Matteo, glad to be of help. And sorry but these kinds of concurrency bugs are the hardest to catch, there is no straightforward solution. -- Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org . Johan Fabry -

Re: [Pharo-users] SpecBooklet: Strange behavior of ProtocolBrowser

2016-09-08 Thread Johan Fabry
Thanks Stef ! There will be a new chapter for you to review soon ;-) -- Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org . Johan Fabry - http://pleiad.cl/~jfabry PLEIAD and RyCh labs - Computer Science Department (DCC) -

Re: [Pharo-users] SpecBooklet: Strange behavior of ProtocolBrowser

2016-09-08 Thread Matteo via Pharo-users
--- Begin Message --- thanks Jhoan for the explanation! Do you know some technique to intercept this kind bug? (...or to avoid them?) thanks Matteo On 08/09/16 01:11, Johan Fabry wrote: > Excellent, you found a bug in my code! > > What happens is that when one item is selected in a list, in the

Re: [Pharo-users] SpecBooklet: Strange behavior of ProtocolBrowser

2016-09-08 Thread stepharo
Johan let me know if there is anything that I should do. Stef Le 8/9/16 à 01:11, Johan Fabry a écrit : Excellent, you found a bug in my code! What happens is that when one item is selected in a list, in the other list the currently selected item is de-selected. This causes *both* blocks

Re: [Pharo-users] SpecBooklet: Strange behavior of ProtocolBrowser

2016-09-07 Thread Johan Fabry
Excellent, you found a bug in my code! What happens is that when one item is selected in a list, in the other list the currently selected item is de-selected. This causes *both* blocks (whenAPIChanged: and whenEventChanged:) to be executed, and depending on what order they are executed the

Re: [Pharo-users] SpecBooklet: Strange behavior of ProtocolBrowser

2016-09-07 Thread Matteo via Pharo-users
--- Begin Message --- Hello Johan, I've coded all the examples manually, changing the names to avoid any conflict with the ProtocolBrowser "bundled" in the Pharo 5 image (i.e. instead of "ProtocolBrowser" I've named my class as "ProtcolFlipper"). But the result is the same. Things improve if

Re: [Pharo-users] SpecBooklet: Strange behavior of ProtocolBrowser

2016-09-07 Thread Johan Fabry
Hello Matteo, are you using the ProtocolBrowser class that comes default with Pharo 5? (In the Spec-Examples package). This is different from what is in the booklet, the code in Pharo 5 is not up to date. For now, you should define a new protocol browser class (MyProtocolBrowser for example)

[Pharo-users] SpecBooklet: Strange behavior of ProtocolBrowser

2016-09-07 Thread Matteo via Pharo-users
--- Begin Message --- Hi, I'm playing with the ProtocolBrowser class, as coded in the "SpecBooklet.pdf" document (release of the 3rd August 2016). I'm using Pharo 5. I'm experiencing a strange behavior of the ProtocolBrowser instance: -if I open a ProtocolBrowser instance, and I click on