Item names distorted in tooltip as of WoW 4.2 #15


  • Defect
  • Accepted
Open
Assigned to profalbert
  • _ForgeUser23487 created this issue Jul 13, 2011

    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.

  • _ForgeUser23487 added the tags New Defect Jul 13, 2011
  • _ForgeUser23487 posted a comment Aug 26, 2011

    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.

  • profalbert removed a tag New Oct 1, 2011
  • profalbert added a tag Accepted Oct 1, 2011

To post a comment, please login or register a new account.