View Full Version : Z-order not drawing properly
emmee
August 6th, 2006, 07:09 PM
I'm having an issue where I can't get a frame to show in front of another frame. This works fine on one page but not another.
I'm attaching a somewhat stripped-down CCF to demonstrate the issue
Both pages contain a frame called 'Loading...' that behaves differently on the two pages. (In my real CCF these frames are hidden and unhide when the appropriate GAC request is in progress.)
The page that works is caled 'Covers List' and is a variant of the 'Covers' page found in the default CCF.
The page that doesn't work is called 'Covers Grid' and is similar but just displays album art from a GAC. Clicking an album art button brings up an info frame. Here you can see parts of the 'Loading...' frame in the spaces between the album art images. It seems to be in front functionally since clicking the album art buttons in the area of the 'Loading...' frame does not bring up the info frame. I've tried changing the Z order of both frames in all ways I could think of and could not get it to work. Getting the same results with the .75 and the new .76 builds.
You can get to the two pages described above by clicking the 'List' or 'Grid' buttons on the 'Library' page.
Kinda looks like a graphics drawing issue...
theguywiththefunnyhair
August 6th, 2006, 07:42 PM
Here you can see parts of the 'Loading...' frame in the spaces between the album art images. It seems to be in front functionally since clicking the album art buttons in the area of the 'Loading...' frame does not bring up the info frame.
Hi emmee,
I see the loading page on top of the place for images.
sorry if i misunderstood your problem.
Dan
emmee
August 7th, 2006, 08:19 AM
Dan,
Thanks for taking the time to have a look at this.
The image you posted is from the page that works properly for me as weel. Did you try the 'Grid' page? This is the one that's not working right.
emmee
August 7th, 2006, 11:01 AM
Here's another example where I can't get a frame to show in front of other elements, in this case a Text Edit Box. The attached image shows the Z order in NRD (1.1.0.38) and how it looks in NR .76 on the PC.
EDIT:
Just tried this on my PPC in .75 and .76 and it works as expected in both builds.
Ben S
August 7th, 2006, 05:56 PM
Thanks for the tests, emmee. I'll check it out and attempt to resolve.
To clarify - it looks fine in PPC but not on Windows, right?
emmee
August 7th, 2006, 06:16 PM
Ben,
Thanks for looking into this.
The issue described in my first post is present on both Windows and PPC.
The second example is not right in Windows, but is OK on my PPC.
Ben S
August 12th, 2006, 05:49 AM
Okay, I'm on it. Thanks!
Ben S
August 12th, 2006, 07:33 AM
Wow. Interesting. I'll need to consider this.
Here's how to fix it: In the grid panel, select the frame within the loop frame, and change it's background color to transparent (not gray).
Here's why it does this: NetRemote is trying to manage popup frames to do it's best to have toggle frames that can appear -over- other elements (like library views, web browsers, etc.). This is nice to have. What's happening, though, is that it's converting every element in the looped frame to a popup window, which will always be on -top- of NR drawn elements.
Because the loading screen doesn't have a state attached, it becomes a standard NR drawn element, so the elements in the frame are on top of it.
The only way I can think to resolve this (for now) is to add an option in NRD (And a new NetRemote) to specifically turn off this feature for specific elements.
Your zones panel, on the other hand, should work properly, since I'm guessing the zones panel does have a state.
emmee
August 13th, 2006, 10:04 AM
Ben,
Thanks, your fix does work!
As for the zones frame, as I stated a few posts back, it works OK on my PPC, but dos not in Windows. See the jpg I posted in this thread.
emmee
August 13th, 2006, 10:55 AM
Ben,
I just ran into another Z order issue with a popup frame I have on my PN Queue page. The frame won't draw on top of the button configured as an Playing Now List Component (RC5x 65526 0 0). I tried changing the background to transparent which worked in NRD but did not change the display in NR and did not fix the popup problem.
I also tried moving the popup frame to the device template overlay which also didn't work. This is strange since I have my zone selection frame in the overlay and it pops up just fine. It uses states and an NR variable just like the frame that doesn't work.
I have a similar popup on my library page where I have a button set as a Media Library Tree Component. The popup works just fine here.
What's different about the two MJB list components?
Ben S
August 14th, 2006, 03:03 PM
As for the zones frame, as I stated a few posts back, it works OK on my PPC, but dos not in Windows. See the jpg I posted in this thread.
Okay, but I don't see a zone button to try this in Windows.
I tried changing the background to transparent which worked in NRD but did not change the display in NR and did not fix the popup problem.
The button should not be transparent, and the background image must not be semitransparent. If either are transparent, it will not create it as a pop frame.
I'll have to add something to NRD so you can tell when a frame it going to pop up or not.
emmee
August 15th, 2006, 08:34 AM
Okay, but I don't see a zone button to try this in Windows.
Right, the CCF I posted does not have zone selection in it. I'll have to post my latest for you to look at.
The button should not be transparent, and the background image must not be semitransparent. If either are transparent, it will not create it as a pop frame.
I'm getting confused now. Does this apply to the frame that I want to act as a popup or the object that I want behind the popup?
I'll have to add something to NRD so you can tell when a frame it going to pop up or not.
Sounds like a good idea. This should help avoid this same question coming back over and over again.
theguywiththefunnyhair
August 16th, 2006, 02:13 PM
Hi Ben,
The button should not be transparent, and the background image must not be semitransparent. If either are transparent, it will not create it as a pop frame.
I'll have to add something to NRD so you can tell when a frame it going to pop up or not.
I was wondering if its possible to actually add a check box to the properties dialogue box so you can actually set 'pop up' fram or regular. I have often wished i could pop up a frame with a semitrans image, even if its just the corners that are transparent.
It would also make it dead easy to determine what is a pop up and what is not.
just a thought anyway
Dan
Dan
Ben S
August 16th, 2006, 07:13 PM
Unfortunately with the current rendering you -cannot- have a popup that has semitransparent images. They will show as black, right now.
pgpg
September 8th, 2006, 03:27 AM
I am having problems with my ccp. I have a panel with some buttons, one button opens a semitransparent frame that covers the whole page, and a button on that frame closes the frame. This is working as I want it to.
However I have a semitransparent frame on the template overlay that is shown by a button. This frame too covers the whole page. The differens between these two frames is that when the overlay frame is visible I can click on buttons behind that frame. It is still drawn in front of the other object but as I said I can click on buttons behind it.
I want the overlay frame to show as it does but I don't want to be able to click on buttons behind it.
Is this the same problem as emmee is having? Sorry if this has already been answered.
pgpg
September 8th, 2006, 03:49 AM
It seems like I got it to work now, when I added some elements to the frame on the overlay I no longer could click on the buttons behind it.
Ben S
September 9th, 2006, 02:13 PM
Please send me a sample ccf, pgpg. Thanks!
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.