This repository has been archived by the owner on Mar 28, 2024. It is now read-only.
[BUG-233384] Scripts failing to receive rapid touch_start events under LL viewer #10489
Closed
1 task
Labels
What just happened?
An existing game that's been running over a year has an element that simulates support of mouse double-clicks so users can manipualte an in-HUD puzzle. That doubleclick action no longer works in the LL viewer, but continues to work in some third-party viewers like Firestorm. This suggests something has changed with touch_start() event handling or generation that breaks existing content.
Here's a test script illustrating the issue:
Just put it in a cube. In the LL viewer, this is the output to a typical double click action:
Notice only one line of output.
Here's the output of the same script to a doubelclick action in the Firestorm viewer:
The Firestorm behaviour seems to match what was happening then these games were designed: we were able to simulate double-click actions using llGetTime() and measuring the delay between touch_start events. Now, that behaviour has significantly changed.
Note that we're using this in a HUD; if you use it on an inworld object and have double-click teleports enabled, you may experience a surprise TP.
What were you doing when it happened?
Attempting to play a game that's been out on the grid over a year and that has had thousands of plays.
What were you expecting to happen instead?
I was expecting the double-click action I scripted would continue to behave as it did when the game was developed and tested.
Other information
At a guess, this will break quite a lot of existing content that attempts to simulate actions for double-click. That's at least half a dozen things of my own, and untold more across the grid.
Links
Related
Original Jira Fields
The text was updated successfully, but these errors were encountered: