Ingreso rápido:  

Forum: VirtualDJ Skins

Tema: [BUG] , and

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

EDIT: TITLE FAIL ! It was "[BUG] <scratch>, <pannel> and <textzone>", but title doesn't like the <>...

Hi !

Currently working on MultiFunctions 7, I'm stucked on an issue. I think that's a bug of the skin engine, but my XML is pretty complex so I'm not sure.

XML (I'll do it in a tree style for easier understanding):

<pannel A group X>
=<pannel A_A group Y>
==<scratch/>
=</pannel A_A>
</pannel A>
<pannel B>
=<textzone/>
</pannel B group X>

-Pannels A and B are in the same group. They have the same position and size. They are obviously not displayed at the same time.
-Pannel A_A is a subpannel of Pannel A.
-The scratch element is on the pannel A_A.
-The textzone element is on the pannel B. It's position on the pannel B is inside the area used by the scratch element on the pannel A.

Issue:
-The textzone doesn't update. This textzone contains a "%fromcue" and the time stay frezzed while playing. It only affects the textzone which inside the scratch area. I've got other textareas with "%fromcue" just above the buggy one but outside the scratch element area that are working well...

Any idea?

SQ;p

PS: Keep in mind that the scratch element and the textzone are NOT VISIBLE AT THE SAME TIME !
 

Mensajes Thu 14 Apr 11 @ 10:26 am
djdadPRO InfinityDevelopment ManagerMember since 2005
What do you use to switch between panels A and B, buttons or visible script actions?
 

Mensajes Thu 14 Apr 11 @ 11:04 am
Buttons for pannels A and B, script for A_A...

When B is up, A_A is can be enabled as a subpannel of A (wich is not visible)

A_A is almost always enabled but is hidden by cascade when A is hidden...
 

Mensajes Thu 14 Apr 11 @ 11:58 am
Ok, just double checked, that's not the scratch element... That's the songpos element.

Please read "songpos" and not "scratch" in previous posts :)
 

Mensajes Thu 14 Apr 11 @ 2:00 pm
I tried nesting pannels on a previous skin and wasn't able to get it to work correctly.

The problem I found is that this command <pannel pannel "a" id="a_a" group="main"> won't really do anything
So I wan't able to assign a sub-pannel to another pannel and hence they all wanted to show at the wrong times.


Unless I'm wrong fantastic skin master?
 

Mensajes Thu 14 Apr 11 @ 2:48 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
try to add to the visible of A_A ... visible="skin_panel 'A' on ? rest of your script"

This will make A_A panel appear if both actions are true.

Not sure about it, send me the code, if you want.
 

Mensajes Thu 14 Apr 11 @ 3:08 pm
I've no problem with sub pannels... every single item I've got on every single subpannel (and they are a lot !) is working well... except for the songpos element which prevent textzones from refreshing...

Here is my <songpos> XML declaration:
<songpos pannel="2decksunlocked" deck="right" orientation="circle" waveform="no">
<size width="137" height="137"/>
<pos x="861" y="225"/>
<volume x="780" y="1645"/>
<selected x="780" y="1145"/>
<clipmask x="568" y="2201"/>
<mousemask x="568" y="2201"/>
</songpos>

I can't see anything wrong with it... maybe can you ?
 

Mensajes Thu 14 Apr 11 @ 3:09 pm
djdad wrote :
try to add to the visible of A_A ... visible="skin_panel 'A' on ? rest of your script"

This will make A_A panel appear if both actions are true.

Not sure about it, send me the code, if you want.


Already tried that - same issue :(
 

Mensajes Thu 14 Apr 11 @ 3:14 pm
I do think now that's must be an issue with the skin engine :'(
 

Mensajes Thu 14 Apr 11 @ 3:23 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Did you try to add up to that songpos?
 

Mensajes Thu 14 Apr 11 @ 3:29 pm
Yes.

I made a really simple skin to show you the issue: http://files.squatsoft.com/songposissue.zip

-2 pannels in the same group
-1 circular songpos
-2 clocks

It's ULTRA simple but it works:
-Bind a key with "settings" ;)
-Play a track on your deck 1 from your current skin
-Change skin with this one
-Toggle pannels

You will see that the clock on the pannel B refreshes only when you toggle pannels...
That's exactlly what I get with my skin...
 

Mensajes Thu 14 Apr 11 @ 3:45 pm
idk if it's just me but i can't download your file

it opens the dowload dialogue but nothing gets saved

 

Mensajes Thu 14 Apr 11 @ 8:38 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
@Squat, i saw the bug, i will deal with a workaround this weekend.
 

Mensajes Fri 15 Apr 11 @ 9:17 am
Great !

I hope you'll have better luck than me... I wasted about 6 hours on it :(

If only the "circular" visuals haven't been removed...
 

Mensajes Fri 15 Apr 11 @ 2:20 pm
Any good news ? :)

Didn't find anything good on my side :'(
 

Mensajes Sun 17 Apr 11 @ 10:38 am
Hello,

Replace the textzone with a button (no action)

for exemple in your zip file from line 40 :

replace:

-Clocks
<textzone pannel="B">
<size width="113" height="27"/>
<pos x="286" y="83"/>
<up x="0" y="40"/>
<text font="LCD" size="15" color="#D1D3D4" align="center" weight="bold" format="%fullhour"/>
</textzone>

to:

-Clocks
<button pannel="B">
<size width="113" height="27"/>
<pos x="286" y="83"/>
<up x="0" y="40"/>
<text font="LCD" size="15" color="#D1D3D4" align="center" weight="bold" format="%fullhour"/>
</button>

it work for my :p

but, but ....

I understand your need to realize
it works but there are flickering when data is refreshed
BMP files poses some limitations...

one more thing
tried also with the textzone to extend to overflow the pannel
it works too if you really want a textzone
then uses a well defined clipmask

bye
 

Mensajes Thu 28 Apr 11 @ 6:48 pm


(Los tópicos y foros antiguos son automáticamente cerrados)