Forums > MaxMSP

Bug Report – bgcolor in bpatcher

March 1, 2006 | 2:59 pm

Just found a little graphics bug. Copy the following into max and lock then unlock the patcher.

#P bpatcher 170 77 216 103 0 0 bugtest 2;
#N vpatcher 30 89 630 489;
#P toggle 14 29 15 0;
#P window setfont "Sans Serif" 10.;
#P newex 60 60 116 196618 bgcolor 218 255 170;
#P pop;
#BP pop 0;
#P window clipboard copycount 1;

The intended bgcolor colour ends up in the the object palette instead of the background of the bpatcher!

Using Max/MSP 4.5.6 Mac OSX 10.3.9

Is there a way to get bgcolor to work correctly in bpatcher?

best,

john.



jln
March 1, 2006 | 3:20 pm

It’s not a bug, it’s a feature ! Isn’t the object palette lovely with
this flashy yellow-green ?

works well under 10.4.5 and same Max version too.

Best,

Julien.



FP
March 1, 2006 | 3:46 pm

the tip i found is to use only one bgcolor in the main patche.


March 1, 2006 | 4:10 pm



jln
March 1, 2006 | 4:47 pm

it’s even more strange than one may think actually. How did you got that colored objects ? I mean, If I add another cellblock for exemple to the patch you posted, it is not affected by the color change (same for any other object I may add) when having fun with that lock/unlock button. But, in editing mode, if I drag the bpatcher over the added objects then put it somewhere else, the color change apply to them. Then lock/unlock once more and thet’re still not affected by the color change. Really strange. Disco indeed, but strange anyway.

Not sure it helps…

Julien.


March 1, 2006 | 7:35 pm

Due to architecural limitations, bgcolor in bpatchers is not
currently supported. You will want to use another object like panel
in the background.

-Joshua


March 1, 2006 | 9:25 pm

Yes thanks Joshua, just having some fun…..


March 2, 2006 | 2:37 am


March 2, 2006 | 4:57 am

Quote: r.julien wrote on Wed, 01 March 2006 08:20
—————————————————-
> It’s not a bug, it’s a feature ! Isn’t the object palette lovely with
> this flashy yellow-green ?

i agree, it is a feature. i was very surprised
when i saw that the first time but i immediately
liked it.
it also changes the color pictures in the root
get when you select them.
via thispatcher works as exspected.


Viewing 9 posts - 1 through 9 (of 9 total)