Page MenuHomeFeedback Tracker

display event handler return values for mouse buttons should be respected
Assigned, WishlistPublic

Description

Recently on the run-up to 1.4, return values for keyboard event handlers were respected in regards to actually executing the engine functionality for that key. This is not true for mouse keys however, so mouse keys cannot be overridden.

It is requested that mouse event handlers follow the same design as keyboard events, in that the true/false return value of event handlers be used to determine whether the engine action should continue.

Current Behavior:

  • when returning KeyUp/KeyDown events, if the return value is true, the event is 'handled' and does not get passed further to the engine.
  • when returning Mouse events, the return value is ignored

Expected Behavior:

  • when returning KeyUp/KeyDown events, if the return value is true, the event is 'handled' and does not get passed further to the engine.
  • when returning Mouse events, if the return value is true, the event is 'handled' and does not get passed further to the engine. {F26043}

Details

Legacy ID
3839418523
Severity
None
Resolution
Open
Reproducibility
Always
Category
Engine
Steps To Reproduce

Example mission attached.

You can see that the keyboard events are all disabled, and you cannot escape out of the game; however, you'll see that even though the mouse events are returning true, the player still fires/zooms.

Event Timeline

jaynus edited Steps To Reproduce. (Show Details)Apr 10 2015, 5:42 PM
jaynus set Category to Engine.
jaynus set Reproducibility to Always.
jaynus set Severity to None.
jaynus set Resolution to Open.
jaynus set Legacy ID to 3839418523.May 8 2016, 11:54 AM
jaynus edited a custom field.

This has been an issue for a long while. I reported the same thing 2 years ago (http://feedback.arma3.com/view.php?id=10766) and DH had a ticket even from Arma 2 days about this issue (You'll find it in that ticket).

Since this has been assigned, I'll close my issue and assign it as the duplicate of this one. Hopefully it'll get sorted out soon.