[BUG-233853] Scripts failing to receive rapid touch_start events under LL viewer #10882
Comments
Whirly Fizzle commented at 2023-05-10T17:13:30Z Firestorm merged in this bug too :(
|
JIRAUSER341268 commented at 2023-05-10T17:15:40Z Thanks for re-reporting this one Lou! I can see that the original bug still reproduces. |
Lou Netizen commented at 2023-07-10T20:52:19Z This is listed as "resolved" in release notes for Viewer 6.6.13.580918, but the behaviour is (once again) unchanged. https://releasenotes.secondlife.com/viewer/6.6.13.580918.html |
JIRAUSER341268 commented at 2023-07-11T21:45:26Z Thanks for the update Lou. The imported issue has been reopened. Some new odd behaviour noticed with the latest fix: if you double click the ground first, the script will work correctly. This then resets if you click a UI element (floater or menu item). |
Lou Netizen commented at 2023-07-12T20:17:42Z Thank you! |
JIRAUSER341268 commented at 2023-07-19T16:58:57Z Hi Lou, This should now be fixed in the Maint U viewer that was recently released. https://releasenotes.secondlife.com/viewer/6.6.14.581066.html Please let us know if the issue persists. |
Lou Netizen commented at 2023-08-11T16:56:27Z I am almost entirely out-of-world for some weeks. I will check when I can get back. |
Lou Netizen commented at 2023-08-22T19:39:08Z At first glance, the issue seems to be corrected in the current Maint U Viewer: Second Life Release 6.6.14.581101 (64bit) Thank you! |
What just happened?
This bug is a re-submission of https://jira.secondlife.com/browse/BUG-233384, which is now locked, and which was listed as "resolved" in https://releasenotes.secondlife.com/viewer/6.6.10.578972.html and other viewer releases. However, the behaviour is unchanged. Rider Linden recommended re-submitting it.
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 doubleclick 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. Same technique has been used in a number of other games that have been available for several years.
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 breaks 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: