Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Tooltip usually disappears when hovering over an action bar button with a unit behind it #29

Open
Jakobud opened this issue Jan 1, 2023 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@Jakobud
Copy link

Jakobud commented Jan 1, 2023

When you hover the mouse over action bar buttons you get the tooltip for that specific action/spell/ability/macro. But when there is a unit (for example another player or an NPC) behind the action bar button on the screen TacoTip's tooltip usually disappears when hovering over that specific action bar button:

WowClassic_HW4gWZaFYE

It doesn't always happen but it does happen most of the time. The tooltip addon I used to use was TinyTooltip and it never had this issue.

This example uses the default Blizz action bars. But I have also seen the exact same behavior with other button addons like Bartender 4.

@anzz1
Copy link
Owner

anzz1 commented Jan 5, 2023

Thank you for the report, kudos for describing it well and the video is especially helpful to make it clear what is happening. 👍

TacoTip shouldn't really affect when the tooltips are displayed, as it's only hooking into the native events and thus letting the game decide (with some minor exceptions). Care has been put into making it as non-invasive as possible.

The case could be that it's a Blizzard bug, so rather than TacoTip causing it, it is a bug in the default UI which TinyTooltip fixed.
Or it's indeed a bug which TacoTip causes due to some odd interaction which doesn't exist in the base game.
Either the case, I'll have to look into this.

@anzz1 anzz1 self-assigned this Jan 5, 2023
@anzz1 anzz1 added the bug Something isn't working label Jan 5, 2023
@Jakobud
Copy link
Author

Jakobud commented Jan 5, 2023

Thanks. I've noticed it also does it with gear in your bags, loot in loot windows, even item links in chat, etc.

@coryo
Copy link

coryo commented Jan 18, 2023

I've found this issue really annoying and it seems to be fixed if you remove the C_Timer.After wrapper for hiding the tooltip on UPDATE_MOUSEOVER_UNIT events in main.lua. I'm not sure of the consequences of this or what issue the 0 second timer was solving but everything appears to be working properly.

    elseif (event == "UPDATE_MOUSEOVER_UNIT") then
        if (GameTooltip:GetUnit()) then
            -- CAfter(0, function()
                if (not UnitExists("mouseover")) then
                    GameTooltip:Hide()
                end
            -- end)
        end

@jaymada
Copy link

jaymada commented Jan 23, 2023

I've found this issue really annoying and it seems to be fixed if you remove the C_Timer.After wrapper for hiding the tooltip on UPDATE_MOUSEOVER_UNIT events in main.lua. I'm not sure of the consequences of this or what issue the 0 second timer was solving but everything appears to be working properly.

    elseif (event == "UPDATE_MOUSEOVER_UNIT") then
        if (GameTooltip:GetUnit()) then
            -- CAfter(0, function()
                if (not UnitExists("mouseover")) then
                    GameTooltip:Hide()
                end
            -- end)
        end

removing this timer seems to break the "instant fade" feature

@Jakobud
Copy link
Author

Jakobud commented Jan 29, 2023

Has this been figured out yet? This is kind of a dealbreaker for this addon. It happens when hovering over buffs too.

@stiffsen
Copy link

I am also affected by this bug. If you need any testing support, let me know.

@Jakobud
Copy link
Author

Jakobud commented May 16, 2023

This addon I think is abandoned. I don't think he plays wow anymore.

@stiffsen
Copy link

This addon I think is abandoned. I don't think he plays wow anymore.

I found a decent workaround. The issue is gone for me if I disable the "instant fade"-feature. From my experience, you can even combine this addon with TipTac, which offers a lot more customizability, including tooltip fade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants