Shadowed Unit Frames

626 - 5.4 PTR. Fails to read selected font on login

What steps will reproduce the problem?
1. Login with SUF

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

What version of the product are you using?
latest dev version

Do you have an error log of what happened?
Cleared it, i'll add to ticket after raid testing. basically the error said font was nil

Please provide any additional information below.
work around is to every time you login, do /suf then reselect your font so it loads a font into memory and errors stop. after this is done, reload ui works for rest of session too. Oddly enough, if you do not select a font manually every login, you could reload 100 times and it'd error 100 times. it never finds font on it's own unless you select it in GUI every login

User When Change
Shadowed Jul 19, 2013 at 19:01 UTC Changed status from New to Fixed
mysticalos Jun 24, 2013 at 17:03 UTC Create

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

  • Avatar of mysticalos mysticalos Jul 23, 2013 at 02:37 UTC - 0 likes

    ironically, the fix seems to be to tell it to NOT do :SetText if getfont returns nil. This has no side effects at all so the text is probably set in a later onupdate of frames after creation.

  • Avatar of mysticalos mysticalos Jul 19, 2013 at 20:54 UTC - 0 likes

    That sounds good, hopefully they fix it sooner than later.

    did you find any way to work around it for now?

  • Avatar of Shadowed Shadowed Jul 19, 2013 at 19:01 UTC - 0 likes

    It's definitely a Blizzard bug (no shock). I've gotten details passed onto the proper people and hopefully it will be fixed before 5.4 goes live.

  • Avatar of Shadowed Shadowed Jul 16, 2013 at 21:49 UTC - 0 likes

    Oh right, I need to look into this. It's something Blizzard changed, but downloading the PTR now.

  • Avatar of mysticalos mysticalos Jul 16, 2013 at 19:34 UTC - 0 likes

    Whatever blizz changed, it's not a bug. I have a feeling some code just has to change. cause blizz is not fixing it on their end in any of ptr builds. setfont just has to be delayed or used different on login.

  • Avatar of mysticalos mysticalos Jul 05, 2013 at 23:08 UTC - 0 likes

    no worries. i have a feeling actually that blizz just made a wonky change with setfont as a few mods are choking on it at login. shadowed UF just happens to be the only mod I run affected by it.

    the question now is, is change intended and do we need to find a work around, or do we just wait for blizz to unbreak it.

  • Avatar of Shadowed Shadowed Jun 29, 2013 at 16:11 UTC - 0 likes

    Sorry I've been really busy and not been able to look into this. I'll take a look shortly.

  • Avatar of mysticalos mysticalos Jun 28, 2013 at 21:27 UTC - 0 likes

    I spent several hours trying to debug it and i simply cannot find cause. i do know it has nothing to do with sharedmedia though. the problem is with row.text as far as I can gather. when i print it out, it's missing a ton of stuff on login and never corrects until you reset font config, and then next login it's missing a lot of stuff again.

    Last edited Jul 05, 2013 by mysticalos
  • Avatar of mysticalos mysticalos Jun 24, 2013 at 22:09 UTC - 0 likes

    i haven't chanegd font from default settings even. so i'm not sure if it's a sharedmedia font or not. here is error. font is Myriad Condensed Web

    48x ShadowedUnitFrames-v3.8.9-3-g352b352\modules\layout.lua:420: <unnamed>:SetText(): Font not set
    <in C code>
    ShadowedUnitFrames-v3.8.9-3-g352b352\modules\layout.lua:420: in function "SetupText"
    ShadowedUnitFrames-v3.8.9-3-g352b352\modules\layout.lua:132: in function "Load"
    ShadowedUnitFrames-v3.8.9-3-g352b352\modules\units.lua:307: in function "SetVisibility"
    ShadowedUnitFrames-v3.8.9-3-g352b352\modules\units.lua:584: in function <ShadowedUnitFrames\modules\units.lua:434>
    <in C code>
    ShadowedUnitFrames-v3.8.9-3-g352b352\modules\units.lua:908: in function "LoadUnit"
    ShadowedUnitFrames-v3.8.9-3-g352b352\modules\units.lua:1197: in function "InitializeFrame"
    ShadowedUnitFrames\ShadowedUnitFrames-v3.8.9-3-g352b352.lua:352: in function "LoadUnits"
    ShadowedUnitFrames\ShadowedUnitFrames-v3.8.9-3-g352b352.lua:84: in function "OnInitialize"
    ShadowedUnitFrames\ShadowedUnitFrames-v3.8.9-3-g352b352.lua:832: in function <ShadowedUnitFrames\ShadowedUnitFrames.lua:830>
    self = <table> {
     SetupBars = <func> @ShadowedUnitFrames\modules\layout.lua:347
     CheckMedia = <func> @ShadowedUnitFrames\modules\layout.lua:48
     SetupFrame = <func> @ShadowedUnitFrames\modules\layout.lua:303
     LoadSML = <func> @ShadowedUnitFrames\modules\layout.lua:154
     ReverseDirection = <func> @ShadowedUnitFrames\modules\layout.lua:210
     ToggleVisibility = <func> @ShadowedUnitFrames\modules\layout.lua:68
     GetRelative = <func> @ShadowedUnitFrames\modules\layout.lua:198
     mediaPath = <table> {}
     PositionWidgets = <func> @ShadowedUnitFrames\modules\layout.lua:461
     SetupText = <func> @ShadowedUnitFrames\modules\layout.lua:402
     MediaRegistered = <func> @ShadowedUnitFrames\modules\layout.lua:58
     GetRelativeAnchor = <func> @ShadowedUnitFrames\modules\layout.lua:215
     SetupFontString = <func> @ShadowedUnitFrames\modules\layout.lua:386
     GetAuraGrowth = <func> @ShadowedUnitFrames\modules\layout.lua:206
     Reload = <func> @ShadowedUnitFrames\modules\layout.lua:97
     SetBarVisibility = <func> @ShadowedUnitFrames\modules\layout.lua:76
     GetJustify = <func> @ShadowedUnitFrames\modules\layout.lua:181
     GetPoint = <func> @ShadowedUnitFrames\modules\layout.lua:194
     MediaForced = <func> @ShadowedUnitFrames\modules\layout.lua:10
     GetColumnGrowth = <func> @ShadowedUnitFrames\modules\layout.lua:202
     GetSplitRelativeAnchor = <func> @ShadowedUnitFrames\modules\layout.lua:237
     Load = <func> @ShadowedUnitFrames\modules\layout.lua:122
     AnchorFrame = <func> @ShadowedUnitFrames\modules\layout.lua:253
    frame = SUFUnitplayer {
     vehicleUnit = "vehicle"
     OnEnter = <func> @ShadowedUnitFrames\modules\units.lua:641
     portrait = <unnamed> {}
     UnregisterAll = <func> @ShadowedUnitFrames\modules\units.lua:134
     registeredEvents = <table> {}
     powerBar = <unnamed> {}
     RegisterNormalEvent = <func> @ShadowedUnitFrames\modules\units.lua:60
     SetVisibility = <func> @ShadowedUnitFrames\modules\units.lua:245
     topFrameLevel = 5
     RegisterUpdateFunc = <func> @ShadowedUnitFrames\modules\units.lua:107
     SetBlockColor = <func> @ShadowedUnitFrames\modules\units.lua:182
     unitType = "player"
     SetRangeAlpha = <func> @ShadowedUnitFrames\modules\units.lua:170
     visibility = <table> {}
     indicators = <unnamed> {}
     unitInitialized = true
     unitRealType = "player"
     unit = "player"
     ReregisterUnitEvents = <func> @ShadowedUnitFrames\modules\units.lua:39
     RegisterUnitEvent = <func> @ShadowedUnitFrames\modules\units.lua:101
     fontStrings = <table> {}
     portraitTexture = <unnamed> {}
     altPowerBar = <unnamed> {}
     incAbsorb = <unnamed> {}
     highFrame = <unnamed> {}
     OnLeave = <func> @FrameXML\UnitFrame.lua:288
     unitOwner = "player"
     DisableRangeAlpha = <func> @ShadowedUnitFrames\modules\units.lua:162
     UnregisterSingleEvent = <func> @ShadowedUnitFrames\modules\units.lua:84
     fullUpdates = <table> {}
     UnregisterUpdateFunc = <func> @ShadowedUnitFrames\modules\units.lua:124
     0 = <userdata>
     BlizzRegisterUnitEvent = <func> =[C]:-1
     incHeal = <unnamed> {}
     FullUpdate = <func> @ShadowedUnitFrames\modules\units.lua:31
     SetBarColor = <func> @Interfa
    Last edited Jun 24, 2013 by mysticalos
  • Avatar of Shadowed Shadowed Jun 24, 2013 at 20:26 UTC - 0 likes

    Weird, if you can give the font that would be great. Are you sure you didn't update LibSharedMedia or something? I can't imagine why it would do that.



Last updated
Jul 19, 2013
Jun 24, 2013
Fixed - Developer made requested changes. QA should verify.
Defect - A shortcoming, fault, or imperfection
Medium - Normal priority.

Reported by

Possible assignees