[BUG:MAC] 'key' event: "pageUp' keyName/descriptor for both PgUp/PgDn

Hello,

When running the below code on a Mac …

local options = {   text = "????", x = 128, y = 64 } local text = display.newText( options ) Runtime:addEventListener( "key", function( event )   text.text = event.keyName .. " : " .. event.descriptor .. " : " .. event.nativeKeyCode   print( event.keyName, event.descriptor, event.nativeKeyCode ) end )

… and pressing the PageUp or PageDown keys, the output shows both key events have “pageUp” for the keyName/descriptor.

This happens with both MacOS builds and when running in the simulator.

BTW, the nativeKeyCode’s are correct: 116 for PgUp, 121 for PgDn.

-David

Hi David. 

Can you please email support AT coronalabs.com and attach a small project (main.lua, config.lua, build.settings) that has this code in it (enough that our engineers can download and run it and see the issue). Make sure to compress it into a .zip file and attach it to your email. Write a clear description of the the problem and the steps to recreate it.

It helps to also link to this thread and note that I asked you to file a bug report.

Thanks

Rob

Email sent.

Case ID: 9871974

Hi, David. 

 

We’ve investigated and eliminated this issue. Thanks for noticing it.

 

You can download daily build 3106 and check it out.

 

Have a good day,

Pasha.

Hi David. 

Can you please email support AT coronalabs.com and attach a small project (main.lua, config.lua, build.settings) that has this code in it (enough that our engineers can download and run it and see the issue). Make sure to compress it into a .zip file and attach it to your email. Write a clear description of the the problem and the steps to recreate it.

It helps to also link to this thread and note that I asked you to file a bug report.

Thanks

Rob

Email sent.

Case ID: 9871974

Hi, David. 

 

We’ve investigated and eliminated this issue. Thanks for noticing it.

 

You can download daily build 3106 and check it out.

 

Have a good day,

Pasha.