Skip to content
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

[sailfishos][embedlite] Add a content controller stack. Fixes JB#57690 #145

Merged
merged 1 commit into from Mar 31, 2022

Conversation

llewelld
Copy link
Member

When multiple WebView componennts are used in an app, since there is
only one compositor, only one can be in direct use at a time. This will
be the last that was set as active.

When the currently activated component is deactivated, the WebView that
was active prior to that should be reinstanted. In particular, the
view's GeckoContentController needs to be reinstated.

This change adds a stack for managing the content controllers, so that
previously active controllers can be reactivated.

@llewelld llewelld marked this pull request as draft March 22, 2022 07:42
@llewelld llewelld marked this pull request as ready for review March 22, 2022 14:20
When multiple WebView componennts are used in an app, since there is
only one compositor, only one can be in direct use at a time. This will
be the last that was set as active.

When the currently activated component is deactivated, the WebView that
was active prior to that should be reinstanted. In particular, the
view's GeckoContentController needs to be reinstated.

This change adds a stack for managing the content controllers, so that
previously active controllers can be reactivated.

Co-authored-by: Raine Mäkeläinen <raine.makelainen@jolla.com>
@llewelld
Copy link
Member Author

Squashed and rebased.

@llewelld llewelld merged commit 9475630 into sailfishos:master Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants