WeakAuras

WeakAuras

206M Downloads

Tooltip hides rows after long spaceless strings

nuiva opened this issue ยท 1 comments

commented

Describe the bug

If a tooltip contains a long string with no spaces, e.g., a comma-separated list, the consequent text rows are not visible.

To Reproduce

  1. Create an aura group and two auras called aura1 and aura2 within the group, such that aura1 is above aura2.
  2. Set the Player Name/Realm load condition for aura1 to be "ThisIsAVeryVeryLongStringWithoutSpaces".
  3. Select the group containing the two auras, go to the Load tab and hover over the Player Name/Realm textbox to see the tooltip.

Current behaviour

The tooltip reads (image):

Player Name/Realm

aura1:
ThisIsAVeryVeryLongStringWithoutSp...

The string is clipped with an ellipsis (as expected), but subsequent rows are hidden. One row of spacing is added above and below the row.

Expected behaviour

The tooltip should read (cf. image):

Player Name/Realm
aura1:
ThisIsAVeryVeryLongStringWithoutSp...
aura2: None

Workaround

In practice, this bug occurs when listing e.g. many player names and separating them by commas. Adding a whitespace after each comma makes the tooltip work correctly.

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
Yes.

Which version of WeakAuras are you using?
WA version 2.18.2 on WoW Classic 1.13.5 build 35395.

Are you on World of Warcraft Classic or Retail?

  • Classic
  • Retail
  • Shadowlands
commented

That's because of a Blizzard bug in the tooltip handling. It simply can't cope with long lines withoug line breaks.

We could fix the bug by not using Blizzard's tooltips, but that's too much effort for this bug, so this is a rare case of Won't fix.