the media popup still shows up and I can use the controls like pause and play. I just can't see what's playing. This has only started happening since the latest update.
I'm usually using YouTube, YT Music or Spotify.
The media flyout doesn't show the playback info (like thumbnail, title, app name)?
Or does it not even list the playback session?
Could you clarify me?

(argh i forgot how unreliably slow snip & sketch is)
play, pause, rewind and skip work
Why is the volume control like that?
Does the controls actually work?
The volume control looks like that because it's muted and because it's 90% opaque?
The volume is 0 and muted? Ok!
Does those buttons control the playback?
yes they do
Do other apps such Groove Music, Spotify work?
If not, then .NET 5 migration broke the required WinRT event's invocation.
Those don't work either.
In the meantime I've gone back to 0.6.0. :)
@Poopooracoocoo
In the meantime I've gone back to 0.6.0. :)
![]()
I'm now busy with v0.7 work, once it's done I will fix this one as it's a high priority issue. So please be patient.
Just noticed a lot of store reported feedback, rolling back the latest release on the store to V6.0.
Because the store doesn't allow app downgrades, will push a 0.6.6 release which will actually contain 0.6.0
Hey guys!
I found the cause of this issue ๐๐.
This mf shit is causing this bug,
https://github.com/ShankarBUS/ModernFlyouts/blob/2bc6dc9062726c10ee2b9c6f2fc4e9e324b518f7/ModernFlyouts/Controls/SessionControl.xaml.cs#L452
https://github.com/ShankarBUS/ModernFlyouts/blob/2bc6dc9062726c10ee2b9c6f2fc4e9e324b518f7/ModernFlyouts/Controls/SessionControl.xaml.cs#L455
(This could be the most probable causing agent. Since there were no problems while targetting .NET Framework 4.8
I'm sure C#/WinRT & .NET 5 introduced this bug)
This causes the track change transition to lag.
There will be a transition during track changes. The texts and thumbnail will be faded and be restored once the thumbnail is loaded. But since this function fails to return the stream, the faded items are not restored.
I'm not sure how I'm gonna solve this ๐คทโโ๏ธ. But let's see ๐
Found the related issue on C#/WinRT repo
InvalidCastException when consuming WindowsRuntimeStreamExtensions AsStream result #359
We may have to wait till .NET 5 RC2 to have thumbnail.
I will disable the thumbnail till then.
have they released an ETA for RC2
Fixed in 7d94143d755f3e3aa882f2940cf4cc09f5c4f716. But the thumbnail won't be shown until they fix they release .NET RC2.
I'm not getting the app name and icon anymore :/
which version
0.6.8.
Oh and every so often when I try to open the settings (which is what I just did to check the version), a black screen will open and the app will go unresponsive, so I'll have to go to terminate it and start it again.
can you post a screenshot of it (the flyout not the settings menu)

I'm using Edge.
Oh! Sorry for that pal ๐ .

https://github.com/ShankarBUS/ModernFlyouts/issues/96#issuecomment-706646266
I had a shitty method to find the process name from the app id. That's what caused spotify's icon and name to be invisible.
var processName = AppId.Remove(AppId.Length - 5, 4);This method returns
Spotifewhen the app id isSpotify.exe(It removed "y.ex" instead of ".exe". Thus, ModernFlyouts couldn't fetch the name and icon of the app ๐คฆโโ๏ธ).But it worked for MS Edge & Chrome without any problems because it will return
msedgebecausemsedge.exehas "e" at the end and before the '.'Changing it to "4" fixed the issue.
- var processName = AppId.Remove(AppId.Length - 5, 4); + var processName = AppId.Remove(AppId.Length - 4, 4);Sorry for this silly mistake ๐
I changed it to var processName = AppId.Substring(0, AppId.Length - 4); and it works fine. I will add this fix in v0.7
@Samuel12321
have they released an ETA for RC2
Seems like .NET 5 RC2 has been released.
https://devblogs.microsoft.com/dotnet/announcing-net-5-0-rc-2/
I don't know if the CsWinRT has been fixed for sure.
Let's hope the did fix it and it will work fine.
Most helpful comment
Hey guys!
I found the cause of this issue ๐๐.
โกโกโก Microsoft Strikes Again โกโกโก
This mf shit is causing this bug,
https://github.com/ShankarBUS/ModernFlyouts/blob/2bc6dc9062726c10ee2b9c6f2fc4e9e324b518f7/ModernFlyouts/Controls/SessionControl.xaml.cs#L452
https://github.com/ShankarBUS/ModernFlyouts/blob/2bc6dc9062726c10ee2b9c6f2fc4e9e324b518f7/ModernFlyouts/Controls/SessionControl.xaml.cs#L455
(This could be the most probable causing agent. Since there were no problems while targetting .NET Framework 4.8
I'm sure C#/WinRT & .NET 5 introduced this bug)
This causes the track change transition to lag.
There will be a transition during track changes. The texts and thumbnail will be faded and be restored once the thumbnail is loaded. But since this function fails to return the stream, the faded items are not restored.
I'm not sure how I'm gonna solve this ๐คทโโ๏ธ. But let's see ๐