Xion Audio Player

custom buttons misbehaving?

Discuss potential bugs with other users or try to find out a solution to an existing bug

Postby SLoB » October 5th, 2006, 11:04 pm

it seems to me that there is perhaps a slight buggette with buttons or maybe its the user approach? no its deffo a bug ;)
it seems custom buttons dont use same functionality as the cbuttons as these behave as you'd expect?

I did some experimenting
when adding a custom button I've added the over & down states appropriately however the change event doesnt always take place on a mouse click where you would expect the down state to be triggered every time

my findings
-button with just normal layer, action being on normal layer
* on clicking button it always triggers the change event, which you'd expect, fair enough but this does not necessarily add to the overal aesthetics of the over, down states which are desirable in a button/style

-button with normal, down, action being on normal layer as above
* on clicking it always triggers the change event as above, however when you the click and hold the button down then release it does not trigger the change event

-button with over, normal, down, action being on normal layer
*never triggers the change event as over & down states only being used, unfortunately the passthrough does not work on over image which i thought it might as to avoid masking the normal button

-same as above but action on the down image
* clicking doesnt necessarily trigger change event but down action does

adding an id to the normal button does help a little but is still prone to mostly clicks not processing the change event

to me most users seem to click buttons and expect the event or something to change, this works ok if the custom button has no over, down effects but then does not have the nice aesthetics to go along with the transitions you'd expect a button to have
I was hoping passthrough might have saved it and made a difference but it has no effect except if added to over then normal is never hit

hopefully you can look into this Cliff,

thanks
Kev
User avatar
SLoB
Xion Junkie
 
Posts: 1340
Joined: September 11th, 2006, 9:21 pm
Location: UK

Postby Cliff Cawley » October 5th, 2006, 11:10 pm

Wow, I will have to investigate the cause of this.

The custom buttons *should* work in the same way as the other buttons, but its possible that there is a bug or some missing functionality due to it being a custom button.

Cliff :)
Cliff Cawley
Creator of Xion
r2 Studios
http://www.r2.com.au
http://xion.r2.com.au
User avatar
Cliff Cawley
Creator of Xion
 
Posts: 1955
Joined: September 3rd, 2006, 11:33 am
Location: Brisbane, Australia

Postby SLoB » October 5th, 2006, 11:24 pm

Cheers Cliff
think its due to the over layer transition fade
if you repeatedly click on a button quickly (you would still expect it to fire and it does if no over layer is present) and action is on the normal layer
looks like over is masking the normal button therefore not firing event of the normal button

so perhaps make the overlayer passthrough (which doesnt work if adding passthrough on the over layer), that way the over would show but directly underneath would hit the normal layer and therefore fire the event
unless your actually hiding the underneath layers?
User avatar
SLoB
Xion Junkie
 
Posts: 1340
Joined: September 11th, 2006, 9:21 pm
Location: UK

Postby Cliff Cawley » January 9th, 2008, 9:20 pm

I'm pretty sure this has since been fixed due to the new internal re-arranging of the skin system. Please test in 86 and let me know if its fixed or is still an issue. As far as I can tell, its now fixed :)

Cliff :)
Cliff Cawley
Creator of Xion
r2 Studios
http://www.r2.com.au
http://xion.r2.com.au
User avatar
Cliff Cawley
Creator of Xion
 
Posts: 1955
Joined: September 3rd, 2006, 11:33 am
Location: Brisbane, Australia

Return to Bugs (Release Build)

Who is online

Users browsing this forum: No registered users and 5 guests

cron