Skip to content

Launched streams and ToastNotifications created by Twitch GUI create unusual windows wait cursor behaviour. #952

Open
@Sneakpeakcss

Description

@Sneakpeakcss

Checklist

Streamlink Twitch GUI version

v2.2.0

Streamlink version

5.1.2

Operating system, environment and configuration details

Windows 10 21H2

Description

This started happening after one of the updates few years ago, i've mentioned it last year on gitter and at that point i just blamed my old bloated system, but lately after doing a clean Windows10 installation and straight up installing only Streamlink + Streamlink Twitch GUI the problem still persists.

1)

When Twitch GUI creates a Toast Notification, windows wait cursor instantly activates and only dissapears after the notification either dissapears or is hidden manually.
This behaviour only happens with Twitch GUI, any other software that sends notifications doesn't show any loading.

Twitch GUI v2.2.0:

GUI.v2.2.0.mp4

Debug Log ToastNotification GUI v2.2.0.log

The last version that doesn't act this way for me is v1.11.0
Since this version is so old it's impossible to test it on an automatically activated notification, however the test button still manages to show the proper behaviour.

Twitch GUI v1.11.0:

GUI.v1.11.0.Last.Working.Version.mp4

Debug Log ToastNotification GUI v1.11.0.log

And every single release starting from v1.12.0 that Upgraded snoretoast (Windows notification provider) to 0.7.0 presents the same problem.

Twitch GUI v1.12.0:

GUI.v1.12.0.First.Bugged.Version.mp4

Debug Log ToastNotification GUI v1.12.0.log

 
 
2)

Similar behaviour happens when the player is launched by Twitch GUI, but in this case it sometimes creates an endless loop that never stops unless i manually 'unstuck' it, for example by opening a random text file.

I mainly use MPC-HC, but the same happens in default VLC installation,
though i wasn't able to catch it being stuck in an endless loop, the prolonged loading on mouse cursor is still present:

Twitch GUI v2.2.0 + MPC-HC:

GUI.v.2.2.0.MPC-HC.mp4

GUI v2.2.0 MPC-HC test.log

Twitch GUI v2.2.0 + VLC:

GUI.v.2.2.0.VLC.mp4

GUI v2.2.0 VLC test.log

While the loading might rarely stop very quickly by itself it usually takes a lot of time (as shown on the video examples), VLC seems to have less delay on that, but it still happens with it, it also stops the moment Twitch GUI window pops-out after closing the player manually.
And once again this only happens when streams are launched by Twtich GUI, doing it either manually with streamlink or even opening them through Chatty doesn't even show it for a second, for example:

Launching streams manually using Streamlink + MPC-HC / VLC:

Streamlink.Launch.Example.mp4

I couln't find any logs for MPC-HC, but i've managed to take two from VLC while launching a stream with Twitch GUI and PowerShell, however it doesn't seem to be there anything that would point at why this happens at all.
TwitchGUI Test VLC Log.txt
Streamlink Test VLC Log.txt

 

I've tried using both installer and portable versions of Twitch GUI, installing them on different SSDs / HDD or opening the application as administrator, different setting configurations in GUI or launching it with --disable-gpu… And nothing helped.

Nothing unusual shows in task manager, different streamlink versions never had any influence on this. I very vaguely remember long ago using Process Monitor to see if there's any difference in how snoretoast.exe behaved between v1.11.0 - v1.12.0, and there being something about how the older version cached something locally(?), but i'm not sure if any of that would be connected to either (player / toast) problems, and at the same time it's impossible to check if the v1.11.0 version has the same problem while launching streams.

At this point i'm wondering if this is specific to my hardware configuration since i can only assume that someone else at this point would be insanely bothered by random loading cursor (or maybe notifications are turned off by default(?) and not many people use that option?)
I'm left with joking to myself that if it wasn't for Twitch GUI i wouldn't even know about wait cursor since i barely notice it outside of this scenario, so at least it has been somewhat (not)amusingly educational at my expense.

Debug log

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions