Modernflyouts: Bug: ModernFlyouts cannot run under multiple users at the same time

Created on 20 Nov 2020  路  7Comments  路  Source: ModernFlyouts-Community/ModernFlyouts

Describe the bug:
ModernFlyouts cannot run under multiple users at the same time. Idk why it should do any matter, but just giving you know)

To Reproduce:
Steps to reproduce the behavior:

  1. Start ModernFlyouts
  2. Switch user
  3. Try to start ModernFlyouts

Screenshots:
(none)

OS Version:

  • Windows 10 Version: 20H2

ModernFlyouts Version:

  • Version: 0.8.0.1

Additional context:
(none)

Bug

Most helpful comment

Nah it's too complicated.

Let's not do this.

The legacy flyout is baked into explorer. So, it can run across multiple sessions.

But it's better for us to drop this idea.

All 7 comments

Yes, I've tried this too.

I guess it is mostly a problem with how packaged apps run and how Store installs it.

I'll see what I can do.

That's by design of UWP (or in our case desktop bridge) apps.
There is a way to enable a store app to run on multiple accounts https://docs.microsoft.com/en-us/windows/uwp/xbox-apps/multi-user-applications but i think that it's intended more for xbox.
we just have to use: <uap:SupportedUsers>multiple</uap:SupportedUsers>

@Samuel12321,

I'm not sure if we should support multi user model.

Because if we were to allow the app to run across multiple users (only one instance for all users), the GSMTC APIs would be clashed with sessions from all users and throw errors too often.

If we were to use one instance per user, we may workaround this.
But we will have future problems when we enable the flyout to be shown atop of the Lockscreen.

So, If we were to enable support for multiple user sessions, it wouldn't cause any problems now. But I'm not sure of the future infrastructure.

I agree, Will close this issue for now and add it to the list of issues to re evaluate in the future.
Its very easy to just install the app again on the other user account.

No no, we have to implement this soon.

I'm just worried about how to deal with the Lockscreen in the future.

Users manually installing this app on others user accounts will also lead to the same outcome (clash of flyouts in the Lockscreen [only if we make it to show there, which is not gonna happen soon]).

So, I guess we should provide support multi user app model.

Could you enable it in the package manifest?

Not only store apps but all Windows apps are designed to run one instance per session.

So even this were an unpackaged app, the app would run one instance per user session.

But installing the app on all users is something that could be enabled by us.

Nah it's too complicated.

Let's not do this.

The legacy flyout is baked into explorer. So, it can run across multiple sessions.

But it's better for us to drop this idea.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Samuel12321 picture Samuel12321  路  4Comments

Cyberdroid1 picture Cyberdroid1  路  3Comments

S1ROZHA picture S1ROZHA  路  4Comments

elenmerbau picture elenmerbau  路  5Comments

privacyguy123 picture privacyguy123  路  3Comments