13 - Icon in raid frame as format string

I'm occasionally seeing problems with the role icon as added into the raid roster frame (i.e., the feature controlled by "/ri raid").  It often appears as the raw format string, as sort-of-shown in the attached screenshot.  It's not consistent, but nearly always breaks in LFR raids.

I'm trying to track down if anything else could be interfering with RoleIcons.  I'm *really* not looking to do a binary search over enabled addons while in an LFR raid, especially as a /reload isn't enough to clear the game client's cached data about other players; a logout-login cycle is needed.  So I'm hoping you could give me any tips on where/how you change the raid frame's buttons before I sit down with coffee and a text editor to try and reverse engineer your design.  :-)

I'm using version 4.4.0, r150.

  • roleicons_format.png
    example debugging session
User When Change
Farmbuyer Nov 17, 2013 at 19:22 UTC

Added attachment roleicons_format.png

Farmbuyer Nov 17, 2013 at 19:21 UTC Create

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

  • Avatar of Farmbuyer Farmbuyer Nov 23, 2013 at 03:09 UTC - 0 likes

    @oscarucb: Go

    Oh, that's very likely, I bet. I'm running the tekticles mod here.

    I get the same height, but am apparently using CalibriBold 11. And oddly, if I close and redisplay the raid roster some number of times, the raw strings *sometimes* get replaced by the icons. I don't know enough about how fonts are handled in WoW to guess whether that's normal or not.

    The few times I've had a chance to run the earlier snippet, there's been no way to screenshot multiple pages' worth before it all scrolls off. I'll have the text output stored elsewhere (say in a savedvar table).

    Last edited Nov 23, 2013 by Farmbuyer
  • Avatar of oscarucb oscarucb Nov 18, 2013 at 02:03 UTC - 0 likes

    It's also possible that some other addons is messing with your fonts and affecting the FontString in question. The addon tries to automatically adjust for custom fonts (the reduced size message you saw), but that feature might not be heavily tested, since I use default fonts. The output of these commands may also be helpful:

    /print RaidGroupButton1.subframes.level:GetFont()
    /print RaidGroupButton1.subframes.level:GetHeight()

    My output looks like: (on a windows system, not sure if that's relevant)
    FRIZQT.TTF", 10, ""

  • Avatar of Farmbuyer Farmbuyer Nov 17, 2013 at 21:54 UTC - 0 likes

    I had turned on debugging at the time of the screenshot, and I remember seeing a "reduced size to 18" message. I'm about to do an LFR and will run the snippet you posted. Thanks!

  • Avatar of oscarucb oscarucb Nov 17, 2013 at 20:02 UTC - 0 likes

    Hmm never seen that before.

    Try running with "/ri debug" and look for a message like:
    Reduced iconsz to ...

    Next time you see it, please run this command and screenshot the output:

    /run for i=1,40 do local b = _G["RaidGroupButton"..i]; if b and b:IsShown() then local l = b.subframes.level; print(i, l:IsTruncated(), l:GetText(), (l:GetText():gsub("\124","#"))) end end


Last updated
Nov 17, 2013
Nov 17, 2013
New - Issue has not had initial review yet.
Defect - A shortcoming, fault, or imperfection
Medium - Normal priority.

Reported by

Possible assignees