[NB] Layouts

Scrivener for Windows 3 Version 2.9.9.3 Beta (894377) 64-bit - 13 Apr 2020 running on Windows 10

I use Scrivener on my laptop, usually on a significantly larger external monitor. Sometimes, when I select Window->Layouts->Some Layout (where “Some Layout” is a layout I’ve saved), the new layout is applied, but my scrivener window moves to the laptop’s screen, rather than staying on the external monitor. Other times it does stay on the external monitor (which, since it’s where I was working, is where I want it!)

It’s not clear what “sometimes” means in regard to a specific layout.

Do you mean that Layout A sometimes applies on the large monitor and sometimes moves the window to the laptop monitor? I would definitely consider that buggy behavior.

Or do you mean that Layout A always applies on the large monitor while Layout B always moves to the laptop screen? That might be expected behavior, especially if you created Layout B when using only the laptop monitor, because layouts save (from the manual):

Window size and position and the sizes of elements within them, such as how wide the binder is or the ratio between the two splits.”

My apologies. I didn’t read (or, much more likely, comprehend) the manual well enough. It is not a bug, but is working you designed it to work.

I have now taken each of my layouts and one by one made it the current layout, then created a new layout based on that. I then saved these layouts with new names that indicate the screen they were designed for (I begin with the layout names with LT for laptop, or EM for external monitor) and made a version of each layout for each screen. Putzy, but (since there does not seem to be, at present (hint, hint) a way to rename layouts) not end of the world stuff.

Oh, and thanks for the quick and well written response and the great work you’re doing!

Press F2 as usual and rename the layout.

F2! Sweet.

But I may have misspoken in regards to how it’s working.

I don’t have the time right now to investigate deeply, but allow me to say that
1 I have multiple projects open at a time, and
2 have created several different layouts, some particular to specific needs of one or another project

At the moment, it seems erratic as to which window my layout applies to when I select a new one. For instance, if I’m working in project-2 on the laptop screen and I select a new laptop layout, it might be applied to project-2, But it might just as likely be applied to project-1 instead which I also have open on the external monitor.

Odd as it sounds to say, could it be possible that no matter which window a project is in when I try to apply a layout to it, the layout is actually being applied to the project in which that layout was defined?

It is applied to the last active main project window.

Okay, I see what you mean. I’ve gone through all my open projects this morning, making one then another the active project, and switched to all my layouts one by one, and they all seemed to work fine during the structured testing I ran them through. Everything worked like a charm.

Then, later, when I wasn’t paying as much attention, I think it might have misbehaved once (or perhaps I was careless, and didn’t choose the layout I intended to select, or had somehow made some other project the “active” project) and it seemed to misbehave again.

For now though, I’d say it was user error and lack of understanding (at least until I can actually know I did everything right and I still saw wonky behavior.)

Sorry for wasting your time. I know you have tons to do already.