Modernflyouts: Bug: If the appId returns empty show nothing instead of ModernFlyouts

Created on 25 Oct 2020  ·  6Comments  ·  Source: ModernFlyouts-Community/ModernFlyouts

Under Media transport controls

Bug

All 6 comments

Yes I know. It is intended?

The icon fetching is asynchronous and while it's happening instead of showing nothing, ModernFlyouts is shown.

After the info is returned (returns empty if the app couldn't be found), it will be shown there.

This means that the app fetching has some problems. My guess is it crashes halfway through. If it succeeds it will return either empty or the app's info

The ModernFlyouts icon should go away after a while. The method must have crashed. I'll look into it.

Last week I encountered this problem on Windows 10 insiders builds (I can't remember the build number, but must be the recent two or three builds).

When playing video in msedge, the appId from OS was an empty string (video title and control work). I tried both msedge stable and dev channels and both are same. On the other hand Groove Music works fine.

EDIT: My main PC running Windows 10 20H2 doesn't have this problem.

So, the bug is from the GSMTC APIs in Windows Insider builds?

If the appId returns empty, it means that the OS doesn't send it to us.

Or there could be some issues within our code 🤷‍♂️.

I will check it. Thanks @yume-chan!

The icon fetching is asynchronous and while it's happening instead of showing nothing, ModernFlyouts is shown.

I personally think that its better to show nothing than an incorrect app.

I can confirm that it seems to be MS Edge specific (the new chromium one). Works fine with VLC and Films & TV

@Samuel12321,

I personally think that its better to show nothing than an incorrect app.

I agree. I imagined myself as an intellectual being and thought it would be better if I just show ModernFlyouts as the source app while the real source app's info is being fetched 🤦‍♂️🤪.

It's easy, just a few lines of codes.

So, this issue has already been fixed. I'm going to close this now.

Was this page helpful?
0 / 5 - 0 ratings