crashes on switching screens

May 14, 2006 at 12:22pm

crashes on switching screens

I try to switch between 2 subpatchers in fullscreenmode. This is
really unstable on my 2 macs, max will crash very often.
Try this: switch back and forth between the 2 subpatchers a couple of
times (use the 1 and 2 keys on your keyboard).
Go back to the main patch by apple w-ing the subpatchers.. Try to
open (apple-doubleclick) one of the subpatchers. Crash. Closing (by
clicking the close button of the window) one of the subpatchers will
also quite often crash Max.

Can anyone else confirm this shaky behaviour?

X.4.6/Max4.5.7

I also had this behaviour in previous versions of Tiger and Max 4.5.

max v2;
#N vpatcher 365 599 965 999;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 91 67 53 196617 sel 18 19;
#P newex 76 41 40 196617 key;
#N vpatcher 20 74 620 474;
#P window setfont “Sans Serif” 9.;
#P newex 62 92 30 196617 t b b;
#P inlet 62 71 15 0;
#P message 119 146 64 196617 fullscreen 1;
#P message 62 145 33 196617 front;
#N thispatcher;
#Q end;
#P newobj 62 178 61 196617 thispatcher;
#P connect 3 0 4 0;
#P connect 4 0 1 0;
#P connect 1 0 0 0;
#P connect 2 0 0 0;
#P connect 4 1 2 0;
#P pop 1;
#P newobj 131 114 35 196617 p two;
#N vpatcher 20 74 620 474;
#P window setfont “Sans Serif” 9.;
#P newex 62 92 30 196617 t b b;
#P inlet 62 71 15 0;
#P message 119 146 64 196617 fullscreen 1;
#P message 62 145 33 196617 front;
#N thispatcher;
#Q end;
#P newobj 62 178 61 196617 thispatcher;
#P connect 3 0 4 0;
#P connect 4 0 1 0;
#P connect 2 0 0 0;
#P connect 1 0 0 0;
#P connect 4 1 2 0;
#P pop 1;
#P newobj 81 114 33 196617 p one;
#P comment 153 67 100 196617 1 and 2 keys;
#P connect 4 0 1 0;
#P connect 3 1 4 0;
#P connect 4 1 2 0;
#P pop;

Zip Boterbloem
Media Mechanics
Zwaluwstraat 54
2025 VR Haarlem
The Netherlands
+31627014758
zip@knoware.nl

#25965
May 14, 2006 at 1:38pm

I see your problem. I get the same result with your patch when trying to close the fullscreen windows.
Switching the fullscreen off before closing the subpatchers seems to fix the problem.
bang->fullscreen 0->wclose

Morten_E

max v2;
#N vpatcher 360 494 960 894;
#P window setfont “Sans Serif” 9.;
#P comment 180 87 193 196617 keys “3″ and “4″ closes the windows;
#N vpatcher 0 0 1440 900;
#P window setfont “Sans Serif” 18.;
#P window linecount 0;
#P comment 133 246 54 196626 TWO;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 193 112 30 196617 t b b;
#P message 193 152 41 196617 wclose;
#P inlet 192 78 15 0;
#P message 244 152 64 196617 fullscreen 0;
#P newex 69 112 30 196617 t b b;
#P inlet 69 78 15 0;
#P message 123 153 64 196617 fullscreen 1;
#P message 69 152 33 196617 front;
#N thispatcher;
#Q end;
#P newobj 69 185 61 196617 thispatcher;
#P connect 3 0 4 0;
#P connect 4 0 1 0;
#P connect 7 0 0 0;
#P connect 2 0 0 0;
#P connect 1 0 0 0;
#P connect 5 0 0 0;
#P connect 4 1 2 0;
#P connect 6 0 8 0;
#P connect 8 0 7 0;
#P connect 8 1 5 0;
#P pop;
#P newobj 126 113 35 196617 p two;
#P newex 91 67 83 196617 sel 18 19 20 21;
#P newex 76 41 40 196617 key;
#N vpatcher 0 0 1440 900;
#P window setfont “Sans Serif” 18.;
#P comment 133 246 44 196626 ONE;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 193 112 30 196617 t b b;
#P inlet 192 78 15 0;
#P newex 69 112 30 196617 t b b;
#P inlet 69 78 15 0;
#P message 123 153 64 196617 fullscreen 1;
#P message 69 152 33 196617 front;
#N thispatcher;
#Q end;
#P newobj 69 185 61 196617 thispatcher;
#P window linecount 0;
#P message 193 152 41 196617 wclose;
#P message 244 152 64 196617 fullscreen 0;
#P connect 5 0 6 0;
#P connect 6 0 3 0;
#P connect 3 0 2 0;
#P connect 4 0 2 0;
#P connect 1 0 2 0;
#P connect 0 0 2 0;
#P connect 6 1 4 0;
#P connect 7 0 8 0;
#P connect 8 0 1 0;
#P connect 8 1 0 0;
#P pop;
#P newobj 81 114 33 196617 p one;
#P comment 180 71 193 196617 keys “1″ and “2″ opens the windows;
#P connect 3 0 1 0;
#P connect 2 1 3 0;
#P connect 3 2 1 1;
#P connect 3 1 4 0;
#P connect 3 3 4 1;
#P pop;

#77060
May 14, 2006 at 2:07pm

Am 14.05.2006 um 14:22 schrieb Zip Boterbloem:
> Can anyone else confirm this shaky behaviour?

Yes, same here. 10.3.9 / 4.5.7

Here is how I cope with my tiny ibook screen:

———- goto.js ———-

inlets = 1;
outlets = 1;

function scroll(a)
{
this.patcher.wind.scrollto(arguments[0],arguments[1]);
}

function msg_int(where)
{
if (where == 1) {this.patcher.wind.scrollto(0,0)};
if (where == 2) {this.patcher.wind.scrollto(1024,0)};
if (where == 3) {this.patcher.wind.scrollto(0,768)};
if (where == 4) {this.patcher.wind.scrollto(1024,768)};
}

——————————

max v2;
#N vpatcher 100 100 500 500;
#P origin 3 3;
#P window setfont “Sans Serif” 9.;
#P message 167 45 213 196617 window size 100 100 500 500 , window exec;
#P comment 1705 1504 328 196617 works without the “go” boxes , but
needs the receive and js object;
#P comment 92 129 272 196617 (the boxes always move a little , I don’t
know why );
#P comment 1705 1488 325 196617 hit alt + 1 or doubleclick the patcher
for even more scrolling fun;
#N vpatcher 16 118 81 179;
#P window setfont “Sans Serif” 9.;
#P message 211 248 32 196617 front;
#P newex 212 228 55 196617 select 193;
#P number 328 276 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 212 207 40 196617 key;
#P newex 79 131 54 196617 select 0 1;
#P toggle 79 57 15 0;
#P message 117 191 393 196617 window size 50 50 650 450 , window flags
grow , window flags nofloat , window exec;
#P message 79 154 228 196617 window size 0 37 65 98 , window flags
nogrow , window flags float , savewindow 1 , window exec;
#P message 256 114 71 196617 set 1024 768;
#P message 240 97 53 196617 set 0 768;
#P message 225 79 59 196617 set 1024 0;
#P message 210 61 41 196617 set 0 0;
#P newex 210 40 72 196617 select 1 2 3 4;
#P newex 210 17 26 196617 r go;
#P newex 0 76 27 196617 t b i;
#P user pictslider 0 0 65 61 4 4 4 4 SliderDefaultKnob.pct 1
SliderDefaultBkgnd.pct 1 2163 0 0 50332672 1. 1.;
#P newex 0 122 43 196617 qlim 40;
#P newex 0 141 26 196617 s go;
#P newex 0 102 75 196617 pack scroll 0 0;
#N thispatcher;
#Q window flags nogrow close zoom float;
#Q window size 16 118 81 179;
#Q window title;
#Q window exec;
#Q savewindow 1;
#Q end;
#P newobj 79 304 60 196617 thispatcher;
#P comment 97 57 100 196617 click here to edit;
#P hidden connect 12 0 5 0;
#P hidden connect 11 0 5 0;
#P hidden connect 10 0 5 0;
#P hidden connect 9 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 2 0;
#P connect 2 0 4 0;
#P connect 4 0 3 0;
#P fasten 6 1 2 1 22 97 37 97;
#P fasten 5 1 2 2 60 81 69 81;
#P connect 15 0 16 0;
#P connect 16 0 13 0;
#P connect 20 0 1 0;
#P connect 14 0 1 0;
#P connect 13 0 1 0;
#P connect 16 1 14 0;
#P connect 7 0 8 0;
#P connect 8 0 9 0;
#P connect 19 0 20 0;
#P connect 17 0 19 0;
#P connect 8 1 10 0;
#P connect 8 2 11 0;
#P connect 8 3 12 0;
#P connect 17 0 18 0;
#P pop;
#P newobj 1944 1467 53 196617 p scroller;
#P comment 112 25 269 196617 make fullscreen first , then click on the
boxes to the left;
#P message 513 1108 48 196617 screen 3;
#P message 501 379 48 196617 screen 1;
#P message 1500 1133 48 196617 screen 4;
#P message 1493 370 48 196617 screen 2;
#P toggle 96 24 15 0;
#P message 96 45 69 196617 fullscreen $1;
#N thispatcher;
#Q window flags nogrow close zoom nofloat;
#Q window size 100 100 500 500;
#Q window title;
#Q window exec;
#Q savewindow 1;
#Q end;
#P newobj 96 62 60 196617 thispatcher;
#P newex 96 84 26 196617 r go;
#P window linecount 2;
#P message 1025 769 31 196617 ; go 1;
#P message 1025 798 31 196617 ; go 3;
#P message 1058 769 31 196617 ; go 2;
#P message 1058 29 31 196617 ; go 4;
#P message 1025 29 31 196617 ; go 3;
#P message 1025 0 31 196617 ; go 1;
#P message 34 798 31 196617 ; go 4;
#P message 34 769 31 196617 ; go 2;
#P message 1 769 31 196617 ; go 1;
#P message 34 29 31 196617 ; go 4;
#P message 1 29 31 196617 ; go 3;
#P message 34 0 31 196617 ; go 2;
#P window linecount 1;
#P newex 96 104 52 196617 js goto.js;
#P connect 16 0 15 0;
#P connect 15 0 14 0;
#P connect 26 0 14 0;
#P connect 13 0 0 0;
#P fasten 20 0 19 0 509 1123 338 874 349 421 607 519 566 361;
#P fasten 18 0 20 0 1313 1297 808 1031 603 1146 537 1034;
#P fasten 19 0 17 0 532 416 783 310 1088 670 1452 260;
#P fasten 17 0 18 0 1568 505 1343 668 1640 989;
#P pop;

#77061
May 14, 2006 at 3:25pm

Really nice ! Great tip, thanks.

Julien.

#77062
May 14, 2006 at 5:06pm

This helps a bit, but will not fix the problem entirely.

Best,

Zip Boterbloem
Media Mechanics
Zwaluwstraat 54
2025 VR Haarlem
The Netherlands
+31627014758
zip@knoware.nl

#77063
May 14, 2006 at 5:17pm

I’ve tried this for a while(the fullscreen 0). This helps a bit, but
will not fix the problem entirely.

Best,

Zip Boterbloem
Media Mechanics
Zwaluwstraat 54
2025 VR Haarlem
The Netherlands
+31627014758
zip@knoware.nl

#77064
May 14, 2006 at 5:19pm

Thanks. But these two screens are really for 2 separate modes: expert
& simple. That’s why scrolling around 1 big screen feels awkward.

“the boxes always move a little , I don’t know why );” Another
thing I don’t like. It’s really difficult to design a GUI in Max that
doesn’t shift/change/looks different after a couple of changes
unrelated to the ‘view’. Tried to solve that by using Flash for the
UI, but that was actually my worst idea in years.

Best,

Zip Boterbloem
Media Mechanics
Zwaluwstraat 54
2025 VR Haarlem
The Netherlands
+31627014758
zip@knoware.nl

#77065

You must be logged in to reply to this topic.