Toggling fullscreen breaks jit.pwindow in a bpatcher

    Jitterbugs/issues

    Joe Kaplan
    Dec 12 2021 | 7:02 pm
    I encountered this behavior and thought I'd post it here. I have a jit.pwindow that is rendering some jit.gl.gridshapes. Then I put the whole assembly in into a bpatcher.
    Now I want to give my user the option to run the whole patch in fullscreen or windowed mode. But when I toggle fullscreen, my pwindow inside a bpatcher breaks.
    Max Patcher
    In Max, select New From Clipboard.
    Show Text
    If the pwindow is in the top level patch it survives the transition to fullscreen just fine.
    Max Patcher
    In Max, select New From Clipboard.
    It looks like an easy workaround for my case will be to get screen size and then set the window size to the screensize. But I thought it might be useful to mention this. Max is great! Thank you. :)

    • Roman Thilenius's icon
      Roman Thilenius
      Dec 12 2021 | 10:04 pm
      i am using custom fullscreen only, for a number of reasons. but did you try to "; max refresh" the situation yet?
      Share
    • Joe Kaplan's icon
      Joe Kaplan's icon
      Joe Kaplan
      Dec 12 2021 | 10:19 pm
      I went ahead and built my alternative this afternoon, which is working like a charm.
      But for the fun of it, I just tried "; max refresh" but that didn't seem to help.
      Max Patcher
      In Max, select New From Clipboard.
    • Roman Thilenius's icon
      Roman Thilenius's icon
      Roman Thilenius
      Dec 12 2021 | 11:12 pm
      hell, it doesnt even comes back when you leave fullscreen. p.s.: but it also happens the other way round. if you paste the patch in a fullscreenwindow it works, then stops to work if you go out.
    • Rob Ramirez's icon
      Rob Ramirez's icon
      Rob Ramirez
      Dec 13 2021 | 5:48 pm
      hi Joe, can you provide OS, Max version, gl engine, and GPU specs?
      Your initial patch works fine for me on Mac-tel
    • Joe Kaplan's icon
      Joe Kaplan's icon
      Joe Kaplan
      Dec 13 2021 | 6:15 pm
      MAX Info and GL Status info below.
      { "version" : "Version 8.2.1 (2f7eaf31afd) (x64 windows)", "platform" : "windows", "arch" : "x64", "osversion" : "Microsoft Windows 10 Professional (build 19042), 64-bit", "samplerate" : 44100, "iovs" : 256, "sigvs" : 64, "scheduler_in_audio_interrupt" : "off", "audio_drivername" : "ad_asio", "audio_driver_subname" : "Focusrite USB ASIO", "license" : "subscription", "machine_id" : "6e655c790030784ab5f30991cb1f96f3", "eventinterval" : 2, "schedinterval" : 1.0, "overdrive" : "off", "pollthrottle" : 40, "queuethrottle" : 100, "sysqelemthrottle" : 1000, "refreshrate" : 33.333332061767578, "schedslop" : 25.0, "eventprobing" : 0, "mixerparallel" : "off", "mixercrossfade" : 0, "mixerlatency" : 30.0, "mixerramptime" : 10.0, "videoengine" : "viddll", "glengine" : "gl2", "packages" : { "BasicPackage" : "1.0.0", "BEAP" : "1.0.4", "gl3" : "0.2.9", "ISOr2" : "1.0.0", "jit.mo" : "1.1.6", "Jitter Tools" : "1.0.0", "max-mxj" : "8.2.0", "Max-SDK" : "8.2.0", "maxforlive-elements" : "1.0.4", "min-devkit" : "0.6.0", "Mira" : "1.2.1", "NakamaForHonkerApp" : "1.0.0", "NakamaTest2" : "1.0.0", "Node for Max" : "2.0.4", "NotificationsDemo" : "1.0.0", "NotificationsTest" : "1.0.0", "NotificationsTest2" : "1.0.0", "VIDDLL" : "1.2.5", "Video & Graphics" : "7.2.0", "Vizzie" : "2.2.0" }
      }
      { "Renderer" : "NVIDIA GeForce GTX 970/PCIe/SSE2", "Vendor Name" : "NVIDIA Corporation", "Version" : "4.6.0 NVIDIA 466.11", "GLSL Version" : "4.60 NVIDIA", "OpenGL Limits" : { "Framebuffers" : { "MAX_COLOR_ATTACHMENTS_EXT" : [ 8 ], "MAX_RENDERBUFFER_SIZE_EXT" : [ 16384 ], "MAX_VIEWPORT_DIMS" : [ 16384, 16384 ], "MAX_DRAW_BUFFERS_ARB" : [ 8 ], "SUBPIXEL_BITS" : [ 8 ] } , "Points and Lines" : { "ALIASED_LINE_WIDTH_RANGE" : [ 1, 10 ], "ALIASED_POINT_SIZE_RANGE" : [ 1, 2047 ], "SMOOTH_LINE_WIDTH_GRANULARITY" : [ 0.125 ], "SMOOTH_LINE_WIDTH_RANGE" : [ 1, 10 ], "SMOOTH_POINT_SIZE_GRANULARITY" : [ 0.125 ], "SMOOTH_POINT_SIZE_RANGE" : [ 1, 190 ] } , "Stacks" : { "MAX_ATTRIB_STACK_DEPTH" : [ 16 ], "MAX_CLIENT_ATTRIB_STACK_DEPTH" : [ 16 ], "MAX_COLOR_MATRIX_STACK_DEPTH" : [ 2 ], "MAX_MODELVIEW_STACK_DEPTH" : [ 32 ], "MAX_NAME_STACK_DEPTH" : [ 128 ], "MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB" : [ 1 ], "MAX_PROJECTION_STACK_DEPTH" : [ 4 ], "MAX_TEXTURE_STACK_DEPTH" : [ 10 ] } , "Textures" : { "MAX_3D_TEXTURE_SIZE" : [ 2048 ], "MAX_CUBE_MAP_TEXTURE_SIZE" : [ 16384 ], "MAX_RECTANGLE_TEXTURE_SIZE_EXT" : [ 16384 ], "MAX_TEXTURE_SIZE" : [ 16384 ], "MAX_TEXTURE_LOD_BIAS" : [ 15 ], "MAX_TEXTURE_MAX_ANISOTROPY_EXT" : [ 16 ], "MAX_TEXTURE_UNITS" : [ 4 ] } , "Shaders" : { "MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB" : [ 192 ], "MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB" : [ 4096 ], "MAX_TEXTURE_COORDS_ARB" : [ 8 ], "MAX_TEXTURE_IMAGE_UNITS_ARB" : [ 32 ], "MAX_VERTEX_ATTRIBS_ARB" : [ 16 ], "MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB" : [ 32 ], "MAX_VERTEX_UNIFORM_COMPONENTS_ARB" : [ 4096 ] }
      }
      }