[Bug?] Button blink staying "on"when receiving outlinecolor + bang message

Apr 17, 2013 at 8:21pm

[Bug?] Button blink staying "on"when receiving outlinecolor + bang message

Hello all,

I tried searching for other examples of this behavior in the forums and only came across the following:

http://cycling74.com/forums/topic.php?id=40378

Included is a smaller subpatch from a larger project. I am changing the outline color of a button, which is working fine using the button’s attrui set to ‘outlinecolor’. However, when that button receives a bang from another button while also receiving attrui changes, the color changing button’s blink state stays in the on/blink/yellow state. Is this normal behavior? Am I using attrui incorrectly? I have observed it on both Mac and Windows machines.

Thank you in advance for glancing at the patch. I appreciate any feedback.

– Pasted Max Patch, click to expand. –
#67782
Apr 17, 2013 at 9:24pm

I can reproduce here and will ticket it, but I would recommend finding a workaround, as this kind of rapid updating of certain UI object’s appearance attributes is not recommended. Maybe separate the control from the graphic?

– Pasted Max Patch, click to expand. –
#243724
Apr 17, 2013 at 11:11pm

Hi Ben,

Thanks for the reply and the ticket. A second button with transparency should work nicely. I appreciate your input.

#243725

You must be logged in to reply to this topic.