Hi Ben,The thing is that i found that the problem can be reproduced without my code.
<asd.png>
���The class has a class variable named "Mappings" (photo shows an inspector of it).There are associations for left and right arrow:- (1073741904 -> arrowLeft)- (1073741903 -> arrowRight)If i send "Mappings at: 1073741904" i get "arrowLeft",but if i send "Mappings at: 1073741903" i get "nil" instead of "arrowRight".This is done automatically when handling OS events, but as this fails i am not getting associated character for "arrowRight".Just in case i send you the information you requested.ThanksOS/VM/Image versions:Image
Operating System/Hardware
-------------------------
unix linux-gnu x86_64
Virtual Machine
---------------
/home/alvaro/Desktop/pharo6.1-64/bin/lib/pharo/5.0-201707201942/pharo
CoInterpreter VMMaker.oscog-eem.2254 uuid: 4f2c2cce-f4a2-469a-93f1-97ed941df0ad Jul 20 2017
StackToRegisterMappingCogit VMMaker.oscog-eem.2252 uuid: 2f3e9b0e-ecd3-4adf-b092-cce2e2587a5c Jul 20 2017
VM: 201707201942 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ Date: Thu Jul 20 12:42:21 2017 -0700 $ Plugins: 201707201942 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
Unix built on Jul 20 2017 20:40:36 Compiler: 4.6.3
VMMaker versionString VM: 201707201942 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ Date: Thu Jul 20 12:42:21 2017 -0700 $ Plugins: 201707201942 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
CoInterpreter VMMaker.oscog-eem.2254 uuid: 4f2c2cce-f4a2-469a-93f1-97ed941df0ad Jul 20 2017
StackToRegisterMappingCogit VMMaker.oscog-eem.2252 uuid: 2f3e9b0e-ecd3-4adf-b092-cce2e2587a5c Jul 20 2017
------------
6.12018-04-01 19:59 GMT-03:00 Ben Coman <btc@openinworld.com>:Hi Alvaro,This is not an area I've been involved in, but just a general comment...Can you export a self contained example from your code that can be loadedinto a fresh Image that demonstrate the problem?Its always easier if people can see the problem with their own eyes.Also, what version OS/VM/Image are you running?i.e. World Menu > System > System Reportercheers -benOn 1 April 2018 at 11:45, alvaro piorno <alvaropiorno100@gmail.com> wrote:Any idea?Both keys are present.It resolve correctly for "left arrow" with key: 1073741904(Integer) , but it does not found "right arrow" with key: 1073741903(Integer).Hi,Iam having a problem handling some OSKeywordEvents. These events should have character associated.
The mapping is resolved by SDL2SpecialCharacterMapping using a dictionary(Mappings), it has the mapping, for example, for left arrow and right arrow.