GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

[ENH] Add small delay to minimap menu popup

Werwolfsoul opened this issue · 6 comments

commented

🔵 Describe the bug:
this is a really small issue I didn't want to report but it's so annoying! and after a hundred or so times that I encountered it I decided to report it. a bit of a description of why it is annoying:
the menu is not hidden after mouse hovers over the minimap icon and then moves away if the path of the cursor went thru the icon menu (please see STR).
that means that I get stuck with this menu shown often when I search for other icons. like every time my mouse travels over the GSE icon in the down direction I have this issue - I have to find GSE icon and carefully mouse hover it and then move the mouse to the top or right-left and then try to move my mouse "around" GSE icon to the icon I was looking in the fits place.
other times I don't even try to use minimap icons my mouse just happens to be in that area (for example to ping on minimap or change minimap scale etc., especially in dungeons or pvp - so annoying when this huge menu is shown and I have to find GSE minimap icon and carefully hover it then move the mouse the way so it would not be open again.

I have 17 addon minimap icons in total and none of them have this issue. since GSE is the only one that has clickable options in it (which is not a great idea by itself IMHO) it is ok that the menu is shown when the mouse moves to the hover menu area (for other icons it's just a hint which is closed as soon as the mouse leaves icon area) BUT this menu should be hidden when the mouse leaves the hover menu area so the user would not be stuck on it by accident so often.

🔵 To reproduce: (Steps to reproduce the behavior)

  1. mouse hover the minimap icon
  2. move the mouse to the hover menu area
  3. move the mouse away from the menu area
  4. observe results

notes: neither clicking outside of the menu area nor pressing the Esc button hides the menu - the only way to hide it is to go all the way to the GSE icon and hover it again in the "right" way (when the mouse pointer leaves the icon area to the top or to the side)

🔵 The error: menu is still shown after moving the mouse away from the menu area

image

🔵 Expected behavior:
the menu is hidden once the mouse pointer leaves the menu area

commented

Hi, I didn't add the version and environment, etc since it is not relevant - it was reproduced from the start when I installed the addon and thru multiple updates. also saw it repro on a different PC/account.

BTW just wanted to say the addon is great - a HUGE help for me!

commented

Hi Werwolfsoul

The challenge is that that panel isn’t just information only but is interactable. There are areas you can click on for example for clearing a stuck Out-Of-Combat Queue entry, turning on and off target protection or pausing the OOC Queue entirely. When your mouse comes off from one of these areas it’s a feature in the underlying tooltip library that it remains.

Amusingly this also has its benefits as it is the only way to see the OOC Queue in real-time. It’s one of those fixing this breaks a bunch of other things. I looked at another frame for the OOC queue but it lagged the computer to a halt.

If this functionality is not needed you can simply disable the minimap icon. Most people seem to use the command /gse instead of clicking the minimap icon to open the viewer.

This has been raised in the past at #919 and #568 and was introduced with #321

commented

ok, got it. I will just remove the minima icon as u suggested, thanks.
another suggestion maybe there is a possibility to add a really small delay? so if the mouse just went through the icon without stopping the menu is not shown and if the user intentionally placed the cursor over the icon it would still work the same as now?

commented

I will have a look into that

commented

Incorporated into #1314

commented

Patch 10.1 adds a panel for minimap windows. This becomes a different ball game after that update.