Z order Issue with image in itemlayout

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
filigran Offline
Senior Member
Posts: 192
Joined: Oct 2009
Reputation: 0
Bug  Z order Issue with image in itemlayout
Post: #1
The title probably doesn't say much, but this is my issue:

I have a fixedlist, for a movie poster view, and when trying to add a watched overlay at the bottom right of the poster, I got this:
[Image: watchedbelow.jpg]
Here the movie "knight and day" is watched, notice how the tick is below the leon poster. I want it above.

If I change the opacity of the leon poster to 0, I see the whole overlay image, so it's not cut off.


If I instead movie it to the bottom left corner, the image is shown above the previous poster, like so:
[Image: watchedabove.jpg]
the tick to the right is on top of both images (again, the rightmost movie is the one watched, knight and day).

So, by moving it to the left I get the desired results, but in the wrong corner.

Does this make any sense? Smile


Am I doing it wrong, is this by design, or is it a bug?
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,875
Joined: Aug 2007
Reputation: 101
Location: Eastleigh, UK
Post: #2
Each item is 'drawn' from left to right (or top to bottom) so you can't do anything about it.
(This post was last modified: 2012-05-25 21:49 by Hitcher.)
find quote
filigran Offline
Senior Member
Posts: 192
Joined: Oct 2009
Reputation: 0
Post: #3
That's what I thought .. too bad. Oh well, thanks for the fast reply, Hitcher.
find quote
Middle Offline
Senior Member
Posts: 127
Joined: Aug 2011
Reputation: 8
Post: #4
i think you can do it, same way some skinners simulates for coverflow views.
not using the list itself,
but using 3 group of images with animation and conditions for OnNext OnPrevious and for static.
is a bit of work.

btw: from my point of view looking at your second screenshot is hard to understand witch one movie is watched,
becouse the overlay is right in the middle.
(This post was last modified: 2012-05-25 23:44 by Middle.)
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,221
Joined: Oct 2003
Reputation: 178
Post: #5
As others suggest, the best fix is just making sure you always render within the rect you're dealing with.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
filigran Offline
Senior Member
Posts: 192
Joined: Oct 2009
Reputation: 0
Post: #6
(2012-05-25 23:30)Middle Wrote:  i think you can do it, same way some skinners simulates for coverflow views.
not using the list itself,
but using 3 group of images with animation and conditions for OnNext OnPrevious and for static.
is a bit of work.

btw: from my point of view looking at your second screenshot is hard to understand witch one movie is watched,
becouse the overlay is right in the middle.

Yeah, I've used that approach previously for another project, and it's hard to get perfect.

The second screenshot is just an example.

(2012-05-26 01:30)jmarshall Wrote:  As others suggest, the best fix is just making sure you always render within the rect you're dealing with.

Since the image is shown fully beneath the next cover, it must be within the rect, right? If by rect you mean each item in the itemlayout?
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,221
Joined: Oct 2003
Reputation: 178
Post: #7
The rect you define in the itemlayout, yes.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote