Well, as long as you're happy with the way Keymapping is integrated in Spec, 
it's moving forward a bit. But I'm not sure Spec current focusOrder will still 
work; it may needs to be rewritten using Keymapping.

There is something else I discovered when reverting to Morphic instead of Spec 
is that my Spec-based app seemed to be very memory hungry compared to the 
Morphic version with the same code and functionality. Old instances of the app 
seemed to be very hard to garbage collect.

Thierry
________________________________________
De : [email protected] 
[[email protected]] de la part de Camillo Bruni 
[[email protected]]
Date d'envoi : lundi 8 octobre 2012 22:32
À : [email protected]
Objet : Re: [Pharo-project] RE :  spec + shortcuts

humm ok, that's too much work for me now, plus I cannot know the side-effects.
For now I will take your fix in 6736 and create a keymapping only version.
like that I can get it integrated this week plus test it.

best
cami

On 2012-10-08, at 21:15, GOUBIER Thierry <[email protected]> wrote:

> Hi Camillo,
>
> Sorry for not answering earlier; at the moment, I'm on duty and offline 
> during daytime for two weeks :(
>
> For selecting by hand the focus, you can use takeKeyboardFocus on the model 
> of the widget you want to activate; by default, Morphic selects the first 
> keyboard interested morph.
>
> However, it may be hard to find the right place to set the keyboard focus 
> after opening the window. I think that Spec should have the equivalent to 
> VisualWorks' postBuildWith: and postOpenWith: (if my memory is right) to make 
> that easier.
>
> Thierry
>
> ________________________________________
> De : [email protected] 
> [[email protected]] de la part de Camillo Bruni 
> [[email protected]]
> Date d'envoi : lundi 8 octobre 2012 20:17
> À : [email protected] Development
> Objet : [Pharo-project] spec + shortcuts
>
> I just looked at https://code.google.com/p/pharo/issues/detail?id=6736
> Everything looks more or less ok, the keymapping integration is nice!
>
> I have one doubt though (and I really don't know anything about spec...).
>
> How do I explicitly set the default focus when opening an spec UI-item?
>
>



Reply via email to