kgPanels

6 - Scripts not setting up

What steps will reproduce the problem?
1. Create a panel
2. set up scripts and click accept
3. reloadui

What is the expected output? What do you see instead?
Scripts should be working (Panel showing if targetFrame is present, else not)
Panel doesn't show at all

What version of the product are you using?
Tested on version 1.1.4, r279, 1.1.3, r275 and 1.1.5

Please provide any additional information below.

Scripts used:

onLoad:
local myPanel = self
local otherPanel = PitBull4_Frames_target
if otherPanel then
  otherPanel:SetScript("OnShow",function(frame)
    myPanel:Show()
  end)
  otherPanel:SetScript("OnHide",function(frame)
    myPanel:Hide()
  end)
end
if otherPanel:IsVisible() then self:Show() else self:Hide() end

Script Dependency:
PitBull Unit Frames 4.0

After setting up scripts and clicking Accept, everything goes well... but after a reload nothing happens if I target someone.

User When Change
kagaro Sun, 08 Mar 2009 16:10:03 Changed status from New to Fixed
Ravengus Sun, 08 Mar 2009 10:45:10 Changed description:
  3. reloadui

  What is the expected output? What do you see instead?
- Scripts should be working
+ Scripts should be working (Panel showing if targetFrame is present, else not)
+ Panel doesn't show at all
  What version of the product are you using?
  Tested on version 1.1.4, r279, 1.1.3, r275 and 1.1.5
Ravengus Sun, 08 Mar 2009 10:41:35 Create

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

  • 1 comment
  • Avatar of Ravengus Ravengus Sun, 08 Mar 2009 10:44:04

    Adding self:SetBackdropColor(1, 1, 1, 1) to onShow doesnt make any difference

  • 1 comment

Facts

Last updated on
08 Mar 2009
Reported on
08 Mar 2009
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.

Reported by

Possible assignees