Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG-228679] Media-on-a-Prim doesn't register keystrokes correctly on Mac #6688

Open
1 task
sl-service-account opened this issue May 6, 2020 · 0 comments
Open
1 task

Comments

@sl-service-account
Copy link

sl-service-account commented May 6, 2020

What just happened?

Have an HTML game that I'd like to play inworld. (URL: https://www.lexaloffle.com/bbs/widget.php?pid=52365 )

This HTML game requires you press the 'x' key on the keyboard to start the game, and then it uses that key to 'launch' the ball in-game (it's a breakout-style game.)

On Mac, the 'X' key is never registered inside the MOAP prim, so you can't start the game. However, on Windows, this function works.

What were you doing when it happened?

I setup Media-on-a-Prim for this, by setting the media texture on the face of a cube and specifying the URL. This game is a simple "breakout" style game, and the title screen has a "Press 'X' to start the game" message. I tried to press 'X' while running under macOS, and the game never registers the keypress. The game also has the ability to use the arrow and enter keys to change what the title screen displays, and those keys work correctly under macOS, but the 'X' never is registered by the game. This works correctly on Windows.

What were you expecting to happen instead?

I was expecting this to work similarly on macOS and Windows.

Other information

This extends beyond this game. On any youtube video, once the video is playing in Windows, you can push the 'C' key to turn toggle on/off Closed Captioning. This function does not work correctly under macOS, but it does under Windows - so this is not only an annoyance, but a possible accessibility issue too.

The game plays just fine when run in the Safari and Chrome browsers under macOS.

I've tried the new beta CEF viewer (6.4.1.541204) on macOS as well, and this new beta viewer didn't change the behavior at all.

Links

Duplicates

Original Jira Fields
Field Value
Issue BUG-228679
Summary Media-on-a-Prim doesn't register keystrokes correctly on Mac
Type Bug
Priority Unset
Status Accepted
Resolution Accepted
Created at 2020-05-06T04:10:18Z
Updated at 2020-09-18T17:24:34Z
{
  'Build Id': 'unset',
  'Business Unit': ['Platform'],
  "Is there anything you'd like to add?": "This extends beyond this game. On any youtube video, once the video is playing in Windows, you can push the 'C' key to turn toggle on/off Closed Captioning. This function does not work correctly under macOS, but it does under Windows - so this is not only an annoyance, but a possible accessibility issue too.\r\n\r\nThe game plays just fine when run in the Safari and Chrome browsers under macOS.\r\n\r\nI've tried the new beta CEF viewer (6.4.1.541204) on macOS as well, and this new beta viewer didn't change the behavior at all.\r\n\r\n",
  'ReOpened Count': 0.0,
  'Severity': 'Unset',
  'System': 'SL Viewer',
  'Target Viewer Version': 'viewer-development',
  'What just happened?': "Have an HTML game that I'd like to play inworld. (URL: https://www.lexaloffle.com/bbs/widget.php?pid=52365 ) \r\n\r\nThis HTML game requires you press the 'x' key on the keyboard to start the game, and then it uses that key to 'launch' the ball in-game (it's a breakout-style game.)\r\n\r\nOn Mac, the 'X' key is never registered inside the MOAP prim, so you can't start the game. However, on Windows, this function works.\r\n",
  'What were you doing when it happened?': 'I setup Media-on-a-Prim for this, by setting the media texture on the face of a cube and specifying the URL. This game is a simple "breakout" style game, and the title screen has a "Press \'X\' to start the game" message. I tried to press \'X\' while running under macOS, and the game never registers the keypress. The game also has the ability to use the arrow and enter keys to change what the title screen displays, and those keys work correctly under macOS, but the \'X\' never is registered by the game. This works correctly on Windows.\r\n',
  'What were you expecting to happen instead?': 'I was expecting this to work similarly on macOS and Windows.',
  'Where': 'http://maps.secondlife.com/secondlife/Horizons%20Andromeda/89/252/24',
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant