Icon in raid frame as format string #13


  • New
  • Defect
Open
Assigned to _ForgeUser405586
  • Farmbuyer created this issue Nov 17, 2013

    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.

  • Farmbuyer added the tags New Defect Nov 17, 2013
  • Farmbuyer added an attachment roleicons_format.png Nov 17, 2013

    roleicons_format.png

    <p>example debugging session</p>

  • _ForgeUser405586 posted a comment Nov 17, 2013

    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
    
  • Farmbuyer posted a comment Nov 17, 2013

    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!

  • _ForgeUser405586 posted a comment Nov 17, 2013

    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)
    "Fonts
    FRIZQT.TTF", 10, ""
    7.9999934434887

  • Farmbuyer posted a comment Nov 22, 2013

    @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).


    Edited Nov 22, 2013

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