Skip to content

Conversation

@pathartl
Copy link

This PR adds the ability to set the parent window on a new window before it's instantiated. This allows applications built with photino.Blazor to have new windows with parents.

photino.Blazor utilizes dependency injection when creating new windows, so each window is effectively a separate Blazor app. This creates the undesired UI effect where one application can look like multiple. i.e. on Windows, multi-window Photino Blazor applications will not combine under one taskbar item.

A check was put in place to make sure that a native instance of the current window does not already exist. As the parent is used as a startup parameter, this mirrors checks put in for other pre-instantiated parameters such as chromeless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant