Thread Tools Display Modes
10-13-10, 03:26 PM   #1
byteasc
A Cyclonian
Join Date: Dec 2006
Posts: 43
Bags Not Truly "Off"

I noticed last night that even when I turned off showing of bags (Don't need to show them since I just use keybind to pull up my bags), that the button for the one bag and button bag still exist (even if they're not shown)...

I assume the alpha is just being changed to hide them or something, and probably isn't a real bug, just an annoyance
 
10-13-10, 03:42 PM   #2
Chmee
A Molten Giant
Join Date: Dec 2006
Posts: 960
Not sure exactly what you mean, but... if you toggle /nui onebag, your bag menu shows only one bag buttion, instead of one for each bag you have, ie, up to 5 bags/buttons. This option does not affect the minimap button bag or the keyring button. There's an option to hide, always show, or hide except on mouseover, the entire bag bar (/nui bagbar {on|off|mouseover}, which appears to be working as intended.
 
10-13-10, 04:46 PM   #3
byteasc
A Cyclonian
Join Date: Dec 2006
Posts: 43
The problem is that it doesn't completely remove the buttons, it just "hides" them. I can mouseover where they normally would be, if they were visible and they still will accept mouse clicks and tooltips show up, etc

Attachment shows the Backpack tooltip and unfortunately doesn't show Mouse Cursor but its all hidden, but still registers
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_101310_174446.jpg
Views:	617
Size:	97.6 KB
ID:	4906  
 
10-13-10, 04:52 PM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Did you try the '/nui bagbar off' command?
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
10-13-10, 05:13 PM   #5
byteasc
A Cyclonian
Join Date: Dec 2006
Posts: 43
That is with the bagbar set to off
 
10-13-10, 05:18 PM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
o.O

Wow... that's... strange.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
10-13-10, 05:22 PM   #7
byteasc
A Cyclonian
Join Date: Dec 2006
Posts: 43
http://www.youtube.com/watch?v=lybEG_vNxsg
 
10-13-10, 05:27 PM   #8
byteasc
A Cyclonian
Join Date: Dec 2006
Posts: 43
I see that you basically do what I thought and that was set the alpha of the bag bar to 0 to hide it.

I saw the same issue with LUI's implementation of Grid which basically did the same thing to hide it. You could still select raid members etc, on the "hidden" Grid window. (This was in 3.3.5).

Not sure if there is a way to truly remove it or possibly disable it from responding, but still pass thru mouse clicks.

It could also be a Blizzard thing, but more than likely, the response would be that by just setting the Alpha to 0, you're doing nothing but making the texture not show.

Code:
			frame:SetAlpha( 0 );
			frame.alpha = 0;
 
10-13-10, 05:33 PM   #9
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Ah... you are correct... there's a reason for that, I just can't recall what it is now. ~lol~ If memory serves me correctly, it has to do with either a taint bug or with bags not being updated correctly when the bar is actually hidden.

I'll have to dig back through to remind myself what the reasoning was for that.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
10-13-10, 05:33 PM   #10
byteasc
A Cyclonian
Join Date: Dec 2006
Posts: 43
Ah, I could see it being a taint issue, but if you're not maintaining the bags since they're hidden, not sure what would need to be updated on them. Even while hidden, the frames seem like they'd be accessible via script (if needed).

I tried this and it seemed to hide it completely with no "leftovers", but not sure if it would be a fix with the problems you mentioned...

Hide the frame (nUI_BagBar:Hide()) instead of just setting the alphas on it, and subsequently nUI_BagBar:Show() for it to be visible (On).
 
10-13-10, 05:55 PM   #11
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Well... again... there was a reason I did it that way... just don't recall why.

In any event, since nUI5 is end of life, I don't really plan to invest in redesign... just bug fixes. The tooltip might be an annoyance, but it's not a game breaker.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
10-13-10, 06:00 PM   #12
byteasc
A Cyclonian
Join Date: Dec 2006
Posts: 43
OMG! It breaks my game flow!...

Yep, looking forward to nUI5 and would prefer you get it all up and nice, instead of little things like this
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Bags Not Truly "Off"

Thread Tools
Display Modes

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