Remember panel pin positions

Not sure if it is a bug or feature request, but if I pin a panel to a certain position in vvvv, it should still be pinned there the next time I open vvvv.

I move the Debug panel to the right side every time and when I restart vvvv its now pinned to the bottom again.

Could it be that vvvv just remembers which panels were pinned, but not WHERE they are pinned, so it just restores them to the default location?

Before closing:

After re-opening:

Thanks for improving! (tested in latest preview 7.1-0088)

1 Like

Hm, this is indeed irritating. Just tested with 7.0 stable and everything behaves as it should. (Also the help browser doesn’t open if I closed it in previous session).
As if your system crashes when trying to load the saved window layout file and reverts to default layout. The file is stored in C:\Users\MY_USER\AppData\Local\vvvv\gamma (or gamma-preview) - could you maybe upload it here?

More consistent behaviour of the log window when reloading the patch This seems related

@Elias i m exactly in the same case on 7.1 preview 008, here is my layout if it can help

layout.zip (959 Bytes)

@Elias here is my layout file as well:

layout.zip (1.2 KB)

It seems like there is quite a lot of stuff in there. I will try deleting it and starting with a fresh file.

Hm, now that’s odd: I deleted layout.xml and started 7.1 preview 0088 again, but no layout.xml was created? The layout is the same as before though, with debug pinned to the bottom and the help browser open.

So it would appear that it is taking the layout from somewhere else!? You can see that HelpbrowserContent5.xml, news.xml and TutorialsAndCourses.xml got updated just after I opened vvvv, so it must be the correct folder.

Weird.

Update:

I see that layout.xml got generated only when I quit vvvv. The contents are exactly the same as before. So then where is it reading the layout from if not from layout.xml? Does it get cached anywhere??

Update 2:

Okay, this is getting super weird. I deleted layout.xml again, opened vvvv. I then unpinned all panels and closed vvvv. A new, very minimal layout.xml got created:

layout-minimal.zip (502 Bytes)

I open vvvv again and its exactly like before: help browser open, debug pinned to the bottom, settings and about pinned to the right.

It’s like it is always reverting to the starting layout, but curious why Debug is still pinned to the bottom, since that surely is not the default.

Could somebody please explain how to access these tabs?

I’ve only seen them a couple of times and I don’t have them in my VVVV at all.

You’re looking for About and Settings:

@joreg I just learned about the Pin feature.

Interesting, I saw that A Icon a couple times but never really was sure where it came from. Also just now learned it was an A, due to its small size (and my increasingly bad vision) I couldn’t make sense of it, it just reminded me of the little star ship in an old Asteroids game.

1 Like

@Elias any more insights here from looking at our layout files?

Copied all your posted files to my user folder, and in all cases it opened correctly. In your minimal layout I see no windows, in your other two files I see the default layout (not sure what I should see) - and yes Debug is by default pinned to bottom.

Maybe the confusion comes from the fact that the layout.xml file will only be saved on quit?

But that would suggest that it actually saves the layout. If I change the layout, quit and re-open I always get the same “default” layout - Help Browser Open, Settings and About pinned to the right, Debug pinned to the bottom:

Then I change the layout however I want and quit:

I then re-open vvvv and its back to the default layout:

Since deleting layout.xml did nothing to change this, my presumption is that it isn’t taking the layout from layout.xml at all, but reverting to some internal default.

Now the question is why is it not updating layout.xml or its updating it, but not reading it.

@Elias Here is another layout.xml for you to try. It should have Debug, Public Channels, Settings and Inspector pinned to the right, nothing on the bottom, as you can see from the layout.xml:

layout.zip (984 Bytes)

Can you confirm that if you open vvvv with it, you get that layout and not the default?

Is there some log of vvvv where I can see if it read the layout.xml or what error prevented that?

This is how this file opens here on my machine. Looks correct. So yes, we’re not close to an answer why it wouldn’t on yours.

Let’s try procmon.

In my case output looks like this:

Okay, I set it all up.

I can see it writing the file when I quit after changing the layout. When I start vvvv again it is not reading the file though:

ps: maybe as a sidenote, it would be cool if it would write layout.xml immediately after changing the layout, so that it “remembers” the layout in case of crashes or force quitting, which is quite common in this dev environment.

3 Likes

Could it be that you simply disabled the whole feature in your settings?

Hm, I am not at my computer right now, but that is entirely possible and would be a big facepalm on my part. I don’t know what I was thinking what this setting does, but somehow I didn’t connect it to the panels. I guess it comes from the fact that you call them “windows” but with the docking for me they are more “panels”, at least that’s what they are called in all other software I use (Rhino, Affinity, ..). Maybe I would call it something like “Remember panel positions” or “Save layout on quit” or something like that.

Okay, but yeah that would explain it.