Stanzilla / WoWUIBugs

World of Warcraft UI Bug Tracker
153 stars 7 forks source link

`PLAYER_CAN_GLIDE_CHANGED` event does not fire in certain circumstances #527

Open Ghostopheles opened 5 months ago

Ghostopheles commented 5 months ago

PLAYER_CAN_GLIDE_CHANGED indicates whether the player currently has dragonriding active. This can be when you are on a dragonriding mount or, as a Dracthyr, when you are soaring.

In most cases, this event fires as you'd expect, when you mount up, and when you dismount. However, in certain circumstances, this event is not fired even when it should. So far I've noted two occasions where I'd expect the event to fire and it doesn't.

This is inconvenient because it can lead to addons not knowing when you've actually dismounted without manually checking mount auras or by checking C_PlayerInfo.GetGlidingInfo in an OnUpdate script.

For a quick repro: