1.36.0.20218 Frame ENTER/LEAVE Event bug

There is a problem with these specific Warcraft 3 natives (related to Frames):

FRAMEEVENT_MOUSE_ENTER
FRAMEEVENT_MOUSE_LEAVE

Description of the problem:
These two frame events cause an infinite loop between the leave and enter state, triggering any leave and enter functions attached it to continuously.

This is a problem when you program an event to happen only on enter (or) leaving a frame, as it will trigger many times instead.

Expected behavior: Only triggers once when you enter and once when you leave, if you haven’t left the frame it should not continuously update the state.

Video showcasing the problem:

Additionally, you can see it flashing like that because the natives are bugged, the mouse also moves towards the right side on every refresh (it should not be behaving this way), this is a problem, it occurs with all the mouse related natives.

Demo map of the problem (It is not protected, it can be opened to see the issue first hand, or directly run to experience the bug the video is displaying):
https://www.hiveworkshop.com/threads/ui-utils-v1-05.320005/

9 Likes

Can confirm. This is super annoying. Essentially all framevents are affected and even simple clicking events do not register.

3 Likes

This is probably a P2, as it affects any custom map using frame natives. Please fix.

3 Likes

This issue ruins any map using these custom frame events and desperately needs a fix.

When “entering” a frame you can see the mouse cursor move outside of the frame for a split second before moving back to it’s original position. It repeats this process over and over again which causes the Enter/Exit functions to trigger endlessly.

3 Likes

It is important future to custom maps and should be fixed. So refreshing a post. Hope you Blizzard fix it.

2 Likes

Very important for the stability of Warcraft 3 modding.

4 Likes

Yes, pls fix some native bug for modding community

2 Likes

Hey still have bug. Can you fix it please?

1 Like

We will never let this go Blizzard! Fix your Spaghetti code!!

slightly off topic but are those tibia weapons :disguised_face: