Weird Bug: Can't Zoom Extents on single layout

I’ve encountered this bug a couple of times on a large (430MB) file with many layouts (130). At some point a particular layout becomes glitched and Zoom Extents no longer does anything while on that layout. Everything else seems normal, but if I save/close/reopen the file, then zooming works again but the layout size is reset to 8.5x11 inches and the layout name is reset to “Page 19” or whatever number it is. I can change the layout name/size back to what they were and everything is back to normal, but after several hours/days of working in the model, another layout breaks randomly in the same way.

I have a custom script that zooms to the bounding box of the layout, and during the time when Zoom Extents isn’t working, my script correctly calculates the bounding box of the layout (using the original layout size, it hasn’t reset to 8.5x11 yet), but rs.ZoomBoundingBox doesn’t change the view.

Also while it’s broken I can’t change the layout size (but I can change the name).

hi @Measure
pls run _SystemInfo and post back the results.
If you see any pattern when this happens that would be helpful. With only this description, and the fact that it happens seemingly randomly, this will be hard to solve.
I wonder if you can still use _Zoom _Target. In Model view that can often solve issues where zooming stops working as expected.

Rhino 8 SR15 2024-12-3 (Rhino 8, 8.15.24338.10001, Git hash:master @ 1c140c6af196d6cc0dc11d8f781198912e87de59)
License type: Commercial, build 2024-12-03
License details: LAN Zoo Network Node

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 112GB)
.NET 7.0.16

Computer platform: DESKTOP 

Standard graphics configuration.
  Primary display and OpenGL: NVIDIA Quadro K5000 (NVidia) Memory: 4GB, Driver date: 6-10-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 475.14
    > Accelerated graphics device with 4 adapter port(s)
        - Secondary monitor attached to adapter port #0
        - Windows Main Display attached to adapter port #1

OpenGL Settings
  Safe mode: Off
  Use accelerated hardware modes: On
  GPU Tessellation is: On
  Redraw scene when viewports are exposed: On
  Graphics level being used: OpenGL 4.6 (primary GPU's maximum)
  
  Anti-alias mode: 2x
  Mip Map Filtering: Linear
  Anisotropic Filtering Mode: High
  
  Vendor Name: NVIDIA Corporation
  Render version: 4.6
  Shading Language: 4.60 NVIDIA
  Driver Date: 6-10-2024
  Driver Version: 30.0.14.7514
  Maximum Texture size: 16384 x 16384
  Z-Buffer depth: 24 bits
  Maximum Viewport size: 16384 x 16384
  Total Video Memory: 4 GB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
  C:\Program Files\Rhino 8\Plug-ins\Commands.rhp	"Commands"	8.15.24338.10001
  C:\Program Files\Rhino 8\Plug-ins\WebBrowser.rhp	"WebBrowser"	
  C:\Program Files\Rhino 8\Plug-ins\rdk.rhp	"Renderer Development Kit"	
  C:\Program Files\Rhino 8\Plug-ins\RhinoScript.rhp	"RhinoScript"	
  C:\Program Files\Rhino 8\Plug-ins\RhinoBonusTools.rhp	"Rhino Bonus Tools"	
  C:\Program Files\Rhino 8\Plug-ins\AnimationTools.rhp	"AnimationTools"	
  C:\Program Files\Rhino 8\Plug-ins\IdleProcessor.rhp	"IdleProcessor"	
  C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp	"Rhino Render"	8.15.24338.10001
  C:\Program Files\Rhino 8\Plug-ins\RhinoRender.rhp	"Legacy Rhino Render"	
  C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	8.15.24338.10001
  C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp	"Snapshots"	
  C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp	"MeshCommands"	8.15.24338.10001
  C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp	"IronPython"	8.15.24338.10001
  C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp	"RhinoCycles"	8.15.24338.10001
  C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	8.15.24338.10001
  C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp	"3Dconnexion 3D Mouse"	
  C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp	"Displacement"	
  C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp	"SectionTools"	

_Zoom _Target doesn’t do anything.

I ran sc.doc.Views.ActiveView.ActiveViewport.ZoomBoundingBox(box) from a python script, and it returned True but didn’t move the camera.

Also -_ViewportProperties _CameraTarget doesn’t work.