Broker_WhoRoll

15 - Item names distorted in tooltip as of WoW 4.2

What steps will reproduce the problem?

1. In a 5-man party, have a few boss (and other) drops rolled on.

2. Mouse over the Broker_WhoRoll LDB feed to get the regular tooltip seeing who won rolls on what items.

What is the expected output? What do you see instead?

Expected: it to behave as it did in WoW 4.1. The names of the items to be properly colored and other information to be clear.

Instead: every item name is prefaced with color codes, making the names quite difficult to see; almost impossible to see at a quick glance.

What version of the product are you using?

v1.2.0

Do you have an error log of what happened?

No errors.

Please provide any additional information below.

The problem is a result of a WoW 4.2 change that has affected a large number of mods that show item names in their quality color. As per the above link: The hex string included the leading "|c" until 4.2 when it was removed. If you use the global ITEM_QUALITY_COLORS array instead of this API, the ".hex" field will include the leading escape sequence.

User When Change
profalbert Oct 01, 2011 at 22:28 UTC
Zidomo Jul 14, 2011 at 02:27 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of Zidomo Zidomo Aug 26, 2011 at 21:33 UTC - 0 likes

    To fix the issue:

    In the broker.lua file from Broker_WhoRoll v1.2.0, head to line 50. Replace the existing

    itemString = ("%s%s|r"):format(hex, itemName or UNKNOWN)
    

    with

    itemString = ("|c%s%s|r"):format(hex, itemName or UNKNOWN)
    

    The only thing I did was to add "|c" before the first "%". That fixes the ticket problem completely.

  • 1 comment

Facts

Last updated
Mar 30, 2012
Reported
Jul 14, 2011
Status
Accepted - Problem reproduced / Need acknowledged.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees