Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persist window layout cont. save multiple windows #11083
Persist window layout cont. save multiple windows #11083
Changes from 17 commits
5fa7842
99060c8
4f67b08
eece18f
6779a79
91e4388
5aa455d
58aa48d
1afacfa
824be53
9559891
01f2df1
fd2835a
f60a040
1939427
f9ca3de
5849a55
88a65ae
8193320
21dadee
a2f0114
693142f
03efd32
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is wild:
then in the totally other process, the monarch collects these all up, without even thinking about it. COM is magic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could make this function async by changing the interface definition to something like:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do async actions work over IPC? I kind of just assumed they wouldn't. I can try.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I haven't tried yet) The other side is that I don't want to have to make the monarch part async as well, if possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's my understanding of COM that it doesn't really care about process boundaries. As such async operations should work just fine.
But yeah please keep it as it is, if you'd like. If you want to however you can do the synchronous
.get()
in the Monarch instead of the Peasant. This technically allows one to fetch the layout concurrently from all Peasants. But it's not of any importance for this PR.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤯 magic Windows object system. The whole concept of waiting on a coroutine in another process sounds crazy to me, but I guess that is the runtime's problem not mine.