Please help

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
pieh Offline
Team-XBMC Member
Posts: 665
Joined: Aug 2010
Reputation: 13
Location: Poland
Post: #21
Obviously You are right guys and I'm wrong here - I've missed some important inner mechanism we have for background loading - sorry for confusion. Nevertheless, I still think we have room for improvment here - skinner shouldn't care about background attribute and this should be done automaticly.

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

My previous forum/trac nickname: grajen3
find quote
butchabay Offline
Skilled Skinner
Posts: 3,426
Joined: Mar 2010
Reputation: 62
Location: Switzerland
Post: #22
Hitcher Wrote:I'm also pretty sure background="true" is ignored for all textures stored in an XBT.

You're right as i had fallback icons in extras.

So that might be my fault, now added background true to all textures that are used in extras and it's speedy like hell Smile

Changed from:

PHP Code:
<texture fallback="special://skin/extras/musicgenres/default.png">special://skin/extras/musicgenres/$INFO[ListItem.Label].png</texture> 


to:

PHP Code:
<texture background="true" fallback="special://skin/extras/moviegenresnowall/Unknown.png">special://skin/extras/moviegenresnowall/$INFO[ListItem.Label].png</texture> 
find quote
pieh Offline
Team-XBMC Member
Posts: 665
Joined: Aug 2010
Reputation: 13
Location: Poland
Post: #23
so it seems basicly like having $INFO in texture should automaticly cause background="true" (if wasn't specified otherwise)?

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

My previous forum/trac nickname: grajen3
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,937
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #24
Best ask Jonathan for the definitive answer. Wink

[Image: sig_zps3af3b48e.jpg]
find quote
pecinko Offline
Member+
Posts: 3,027
Joined: Dec 2008
Reputation: 27
Location: Prague / Belgrade
Post: #25
pieh Wrote:so it seems basicly like having $INFO in texture should automaticly cause background="true" (if wasn't specified otherwise)?

Sometimes is good to have control of what is background loading and what is not. Too much of it will bring skin to it's knees.

My skins:

Quartz
Amber
find quote
butchabay Offline
Skilled Skinner
Posts: 3,426
Joined: Mar 2010
Reputation: 62
Location: Switzerland
Post: #26
Ok, next problem Smile

Add a bordertexture for a vertical list seems to be a bad idea, as i see flickering the border on scrolling. I've read the wiki and fact is the bordertexture is fading once the icon/thumb changes.

Now if i have:

PHP Code:
<texture background="true">$INFO[ListItem.Thumb]</texture>
<
bordertexture border="8">ThumbBorder.png</bordertexture>
<
bordersize>8</bordersize

A smooth scrolling but as said a flickering on the border

if i use:

PHP Code:
<texture>$INFO[ListItem.Thumb]</texture>
<
bordertexture border="8">ThumbBorder.png</bordertexture>
<
bordersize>8</bordersize

I have a nice transition on the border as it seems remains static, but the scrolling stutters

So i decided to remove the bordertextures and added a separate background image. It works fine, now i just have to adjust size and position. Not a big deal, as there are only 3 List views i have to change.
find quote
pecinko Offline
Member+
Posts: 3,027
Joined: Dec 2008
Reputation: 27
Location: Prague / Belgrade
Post: #27
I'm not sure if I follow you rightly, but there seams to be a bug regarding bordertexture.

E.G. Enable recently added on home in Quartz. Scroll item to item and look at bordertexture.

Is this similar to your problem or have I missed something?

My skins:

Quartz
Amber
find quote
butchabay Offline
Skilled Skinner
Posts: 3,426
Joined: Mar 2010
Reputation: 62
Location: Switzerland
Post: #28
pecinko Wrote:I'm not sure if I follow you rightly, but there seams to be a bug regarding bordertexture.

E.G. Enable recently added on home in Quartz. Scroll item to item and look at bordertexture.

Is this similar to your problem or have I missed something?

I see you have very dark bordertextures and it's not noticeable as when you have brighter bordertextures, but yes this is what i've tried to say.

What do mean " there seems to be a bug regarding bordertexture " ?
find quote
pecinko Offline
Member+
Posts: 3,027
Joined: Dec 2008
Reputation: 27
Location: Prague / Belgrade
Post: #29
@butchabay

Just that I'm not sure if it's supposed to be like that.

My skins:

Quartz
Amber
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,937
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #30
butchabay Wrote:Ok, next problem Smile

Add a bordertexture for a vertical list seems to be a bad idea, as i see flickering the border on scrolling. I've read the wiki and fact is the bordertexture is fading once the icon/thumb changes.

Now if i have:

PHP Code:
<texture background="true">$INFO[ListItem.Thumb]</texture>
<
bordertexture border="8">ThumbBorder.png</bordertexture>
<
bordersize>8</bordersize

A smooth scrolling but as said a flickering on the border

if i use:

PHP Code:
<texture>$INFO[ListItem.Thumb]</texture>
<
bordertexture border="8">ThumbBorder.png</bordertexture>
<
bordersize>8</bordersize

I have a nice transition on the border as it seems remains static, but the scrolling stutters

So i decided to remove the bordertextures and added a separate background image. It works fine, now i just have to adjust size and position. Not a big deal, as there are only 3 List views i have to change.

Don't forget the border texture has to be re-sized for every thumb whether you're using <aspectratio>keep</aspectratio> or not.

If you're displaying thumbs at a set size then a separate image for the border would be indeed be better.

[Image: sig_zps3af3b48e.jpg]
(This post was last modified: 2011-09-02 18:14 by Hitcher.)
find quote