0
Completed

Workaround for pinning windows between game sessions

Eric Hibbs 1 month ago updated by Lazlo Bonin (Lead Developer) 3 weeks ago 4

I think I may have a workaround for the issue I posted about recently (not being able to pin inspector windows across gameplay sessions):

You said windows reopen in their old positions. Does that mean that you could store the layout of all open inspectors with a hotkey?

If you can, then you could provide a hotkey to restore layout, and basically work around Unity's window weirdness.

Thoughts? I'm happy to help experiment if you could point me to the right part of Unity's API docs

Unity Version:
Peek Version:
Working on it

Hi Eric,

Thanks for the idea. This isn't exactly possible because Utility and Popup windows are never saved to the layout in Unity, and those are the types we use for tabs.

Generally though, I will be using the same approach to fix it in the long run, but with a manual serialization of which tabs were open. 

Awesome. Well, awesome that you seem to have a lead on an eventual solution. I'm glad I didn't know about this Unity-imposed limitation before I bought Peek, because even without this feature, it's probably the single biggest productivity-booster I've bought. 

Do y'all have anything set up for devs not in the project to try to contribute? If so, I'd be happy to at least break off a challenge or two and see if I could help move this forward. 

Either way, thanks again for the great product, and good luck on the feature addition!

Completed (Unreleased)

Hi Eric,

This will land in v.1.1.2. There's a small pop because I have to close the windows on assembly reload to prevent Unity bugs, but they come back in the same place. 

Video: https://streamable.com/7phof