Thread Tools Display Modes
12-11-11, 05:56 PM   #1
Mock
A Black Drake
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 83
Finding a random table that isnt clickthrough

Hello there,

Got a problem with my customized neav layout. Tried to run with only this addon on and therefore im sure it's that being the root of the problem. There's a small square on the screen, about 60 x 20 in size, that isnt clickthrough. I can see through it and all, but it can give me a headache sometimes. Used /framestack and found out its named table: "some combination of numbers and letters" that changes every logon. Is it possible to find out whats causing this or is it more like finding a needle in a stack of fake needles?

Last edited by Mock : 12-11-11 at 05:59 PM.
  Reply With Quote
12-11-11, 06:00 PM   #2
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
/framestack and hover your mouse over the offending area.

The frame names might give you a clue.

/framestack again to return to normal.
  Reply With Quote
12-11-11, 06:08 PM   #3
Mock
A Black Drake
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 83
Sorry about that, clicked enter without being done with the thread.
  Reply With Quote
12-11-11, 06:42 PM   #4
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
That makes things a bit trickier as it means it's an unnamed frame and you're just getting a reference to the table.

Could do a search in files for CreateFrame( and look at lines that don't supply a frame name but do have a :Show() or :EnableMouse(true)

CreateFrame
Look for lines where the 2nd parameter is nil or there is only 1st parameter and no others.

Note:
I haven't looked at the addon so I'm assuming the frame creation is done in lua and not xml.
  Reply With Quote
12-11-11, 07:00 PM   #5
Mock
A Black Drake
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 83
Ok, i found it. Was a dragframe bound to a frame that was sized after the length of a text or whatnot. Anyhow, thanks alot Solved my problem.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Finding a random table that isnt clickthrough


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