Hi all,
Miguel and I found a bug in removing key combinations on a morph. Now they are global, while in Pharo 4 this was not the case.
Consider the following code:
| morph |
morph := RubScrolledTextMorph new.
(morph textArea)
�� �� �� �� �� �� �� �� removeKeyCombination: $s command;
�� �� �� �� �� �� �� �� removeKeyCombination: $s control;
�� �� �� �� �� �� �� �� on: $s command do: [morph flash ];
�� �� �� �� �� �� �� �� on: $s control do: [morph flash ].
morph openInWorld.
In the morph, cmd-s will cause a flash, as expected. However in other windows (or browsers and playgrounds least) the original shortcut is lost, only a s character is added to the text field.
I did not see it on fogbugz so I would like to announce it here before I open a case, in case (heh) I missed it. So the question: is this a known bug?
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry�� ��-�� ��http://pleiad.cl/~jfabry
PLEIAD and RyCh labs�� -�� Computer Science Department (DCC)�� -�� University of Chile