Bug report - cannot open new viewports when all viewports are closed

Hello,

I found a bug when I accidentally closed all viewports. (It can happen fairly easily - I had just closed all but one viewport, and then accidentally right clicked, rerunning the last command and closing the last viewport.)

This put me in a glitched state where the only thing remaining, the default “Page 1” layout was my active viewport, but only showed a black screen. In this state, commands like “NewViewport”, “4View” and everything else I could think of to reopen the closed viewports do not work.

NewFloatingViewport did however work and with a floating viewport open I was able to run NewViewport and get Rhino back into a normal state.

Another way to get back into a normal state is to save and reload the file - Rhino will create a default viewport called “Unnamed”.

I noticed that if you don’t have any layouts you are not allowed to close your last viewport - this should probably apply even when you do have layouts, especially as Rhino creates a layout by default in every new file.

Good catch… Yeah, looks like 4View doesn’t work when there are no more open model viewports. Once you run NewFloatingViewport, then you can run 4View to get all the standard viewports back.

hmm, I cannot close the last viewport here…

You can if you first make a new layout page, then you can close all the model viewports…

2 Likes

Yeah just realised that the built-in templates in Rhino don’t come with a layout, that’s just the template I have set as my default. So ignore the bit about the default layout in my original post, just create a layout and then you can close all the model viewports.

unless it’s one of us on a Mac…[ Command: CloseViewport
A layout must be the active viewport [copied from the command history].
It seems it’s still impossible to close modeling view-ports on Mac