|Go to Page...|
|Thread Tools||Display Modes|
|11-28-20, 01:18 PM||#1|
How to clamp tooltip to the screen?
How can I setup the tooltip to clamp to the screen?
It occurs to me that after some time playing the tooltips are starting to leave the screen.
I have already spent weeks (im not kidding) trying to find the problem but I cant find
the source and I also cant find a solution or a workaround.
Do you guys have an idea? Most of you are much more experienced than I am.
|11-28-20, 01:29 PM||#2|
Which tooltip? The regular GameTooltip? Are you using any addons that affect it? The default tooltips are clamped to the screen already.
|11-28-20, 08:51 PM||#3|
yes, the Gametooltip. And yes Im doing stuff with the Gametooltip. For example:
- I have a scan tooltip to get quest informations
- I have tooltips for data texts which are doing this:
And that is already it. That is basically everything I do.
I wanted to track it down by disabling everything related to tooltips but the behavior still
occurred. And it is always the same: At first everything works fine but after a variable amount
of time (1 to 20 minutes) the tooltip starts to leave the screen.
Im also use Ace3 and oUF which both are doing minor stuff with tooltips but thousands of
people are using them and I havent found topics regarding bugs like that in those libs so
im guessing its not them.
I do not even have an idea what could make tooltips leave the screen because I cant
find API functions to manipulate that behavior....
Last edited by Lybrial : 11-28-20 at 08:54 PM.
|11-29-20, 01:56 AM||#4|
Even though im not using the addons "NameplateAuras" or "TinyTooltip" I found one person who described the exact same problem that I have: https://github.com/casualshammy/Name...uras/issues/39
Unfortunately in that github issue there is no solution.
|01-01-21, 11:59 PM||#5|
I finally found out what is causing it. It is oUF Aura Tooltips.
I created a nameplate addon using oUF and I configured the auras to have enabled mouse events:
So what's happening now is the following:
1. Tooltips are not leaving screen:
2. I hover an aura on a nameplate to check the aura tooltip
3. Tooltips are now leaving screen:
After a UI Reload this is fixed again.
Does somebody else have this problem with oUF Auras and knows how to fix it?
Last edited by Lybrial : 01-02-21 at 12:27 AM.
|WoWInterface » Developer Discussions » Lua/XML Help » How to clamp tooltip to the screen?|