[Help]Weird focus for submenus

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mad-max Offline
Posting Freak
Posts: 1,476
Joined: Jul 2010
Reputation: 52
Location: Germany
Post: #1
Hey Guys...
a few days ago I started to learn skinning with the new horizontal confluence...
I added the option to lower the menubar but there seems to be a problem with it...
I duplicated the group for the menubar in home.xml and have one set to
Code:
<visible>Skin.HasSetting(LowerMenu)</visible>
and one for
Code:
<visible>!Skin.HasSetting(LowerMenu)</visible>

Funny thing is that the first group is ever alright with submenus, no matter if first "group" is
Code:
<visible>Skin.HasSetting(LowerMenu)</visible>
or
Code:
<visible>!Skin.HasSetting(LowerMenu)</visible>

The second group instead seems to have a problem with the "HasFocus" as it does not matter if weather, music or system etc. is selected...it always shows the submenu for videos...

Here is my home.xml---> pastebin

Anyone has a hint for me?

Thanks for the help in advance.

cheers,
mm

[Image: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
find quote
butchabay Offline
Skilled Skinner
Posts: 3,417
Joined: Mar 2010
Reputation: 62
Location: Switzerland
Post: #2
You have 2 groups or 2 different xml files ? I think the best way is to keep them separate. Just my opinion ...
find quote
ronie Offline
Team-XBMC Member
Posts: 8,247
Joined: Jan 2009
Reputation: 108
Post: #3
mad-max Wrote:Here is my home.xml---> pastebin

had a peek but didn't spot anything obvious at first sight.

but...instead of duplicating the menu code,
why not use a conditional slide animation instead?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or 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.
find quote
mad-max Offline
Posting Freak
Posts: 1,476
Joined: Jul 2010
Reputation: 52
Location: Germany
Post: #4
Hey butch...

I have 2 different groups as I do not know how to split the options for Skin.HasSetting in two different IncludesXYZ.xml...

cheers

[Image: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
find quote
mad-max Offline
Posting Freak
Posts: 1,476
Joined: Jul 2010
Reputation: 52
Location: Germany
Post: #5
ronie Wrote:had a peek but didn't spot anything obvious at first sight.

but...instead of duplicating the menu code,
why not use a conditional slide animation instead?

Ok so the code seems to be alright...

Why I do not use a conditional slide animation? I guess, I´m not skilled enough for that...

But If someone can help me out this, it would be very much appreciated...

cheers

[Image: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
find quote
ronie Offline
Team-XBMC Member
Posts: 8,247
Joined: Jan 2009
Reputation: 108
Post: #6
ok, i guess all you need is this then:
Code:
<animation effect="slide" start="0,0" end="0,110" time="0" condition="Skin.HasSetting(LowerMenu)">Conditional</animation>


no need to duplicate ~200 lines of code if only you want to have it a little lower on screen ;-)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or 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.
find quote
mad-max Offline
Posting Freak
Posts: 1,476
Joined: Jul 2010
Reputation: 52
Location: Germany
Post: #7
Awesome Ronie...you made my day!!!

[Image: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
find quote