Thread Tools Display Modes
06-15-16, 03:14 PM   #1
Gello
A Molten Giant
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 522
It's a bug with toplevel, which ChatFrame1 has (and ChatFrame1EditBox, but the parent is the culprit with this bug).

Code:
<Ui>
  <Button name="StrataParent" toplevel="true" frameStrata="MEDIUM" movable="true" parent="UIParent">
    <Size x="100" y="100"/>
    <Anchors>
      <Anchor point="CENTER"/>
    </Anchors>
    <NormalTexture file="Interface\Icons\WoW_Token01"/>
    <Frames>
      <Button name="StrataChild" frameStrata="HIGH">
        <Size x="80" y="80"/>
        <Anchors>
          <Anchor point="CENTER" relativePoint="RIGHT"/>
        </Anchors>
        <NormalTexture file="Interface\Icons\PetJournalPortrait"/>
      </Button>
    </Frames>
    <Scripts>
      <OnMouseDown>
        self:StartMoving()
      </OnMouseDown>
      <OnMouseUp>
        self:StopMovingOrSizing()
      </OnMouseUp>
    </Scripts>
  </Button>
</Ui>
On live clients the child frame will stay above other toplevel "MEDIUM"-strata frames (like bags) when bags are brought to the front.

On beta client the child frame will drop below other toplevel "MEDIUM"-strata frames when bags are brought to the front, even after a SetFrameStrata to "HIGH" or "DIALOG".

Last edited by Gello : 06-15-16 at 03:16 PM.
 
06-15-16, 03:51 PM   #2
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Originally Posted by Gello View Post
It's a bug with toplevel, which ChatFrame1 has (and ChatFrame1EditBox, but the parent is the culprit with this bug).
So you should be able to call ChatFrame1:SetToplevel(false) as a temporary fix for this.

It sounds like if you need to raise an "active" frame to the top right now you'll have to handle it yourself.
 
 

WoWInterface » Site Forums » Archived Beta Forums » Legion Beta archived threads » Anyway to fix the editbox frame strata?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off