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

Taskbar icon sometimes unresponsive #2065

Open
3 tasks done
ericswpark opened this issue Jan 25, 2024 · 16 comments
Open
3 tasks done

Taskbar icon sometimes unresponsive #2065

ericswpark opened this issue Jan 25, 2024 · 16 comments
Labels
os:Windows OS is Windows

Comments

@ericswpark
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the nightly release?

  • This issue is present in the nightly release

Describe the Bug

Sometimes right-clicking on the Sunshine taskbar icon does nothing

Expected Behavior

The taskbar context menu should show up

Additional Context

No response

Host Operating System

Windows

Operating System Version

11 23H2 (OS Build 22631.3007)

Architecture

64 bit

Sunshine commit or version

0.21.0

Package

Windows - Winget (Third Party)

GPU Type

Nvidia

GPU Model

RTX 3070 Ti

GPU Driver/Mesa Version

546.33

Capture Method (Linux Only)

No response

Config

origin_web_ui_allowed = pc

Apps

No response

Relevant log output

N/A
@ReenigneArcher
Copy link
Member

This might just be a windows issue... does restarting "explorer.exe" resolve it?

@ericswpark
Copy link
Author

Nope, it does not. And other taskbar icons work just fine.

@predprey2
Copy link

predprey2 commented Feb 20, 2024

I noticed the same issue too, since the earlier versions after the icon context menu was implemented. Restarting the service would workaround it though.

I think it’s normally stuck in the streaming mode. Also I normally power off all my display intermittently, not sure if that would be an issue. Finally, I think it normally happens after the service has been running for a long while, but I have all logging turned off, so that shouldn‘t be an issue.

@ReenigneArcher
Copy link
Member

I normally power off all my display intermittently, not sure if that would be an issue.

It shouldn't have any effect on the tray icon, unless Sunshine is completely crashing.

@ReenigneArcher
Copy link
Member

Please provide logs, or this will need to be closed.

@predprey2
Copy link

Been using 0.21.0.5606840c8983b714a0e442c42d887a49807715e1, haven't encountered the issue for a week plus or so. Maybe one of the updates fixed it.

@ericswpark
Copy link
Author

ericswpark commented Mar 9, 2024

@predprey2 I'm still getting the issue on Sunshine version 0.22.0.

@ReenigneArcher here are the logs: https://gist.github.com/ericswpark/44427feea630febc9410270acabb2917 Although I don't see anything that is related.

I don't know if this is a reliable reproduction method, but in most cases I launched a session (Desktop app) with a client, then closed the session, without quitting the Desktop app. Then I left it like that for a couple of hours and the taskbar icon went unresponsive.

@yebr
Copy link

yebr commented Mar 22, 2024

same bug,need restarting service then resume fine.

@ReenigneArcher ReenigneArcher added the os:Windows OS is Windows label Mar 27, 2024
@Darkhost1999
Copy link

Darkhost1999 commented Apr 20, 2024

I haven't been able to launch Sunshine from the taskbar at all for some time.
Saw the changelog notes for the fix and was like yay! Went to test and found it wasn't fixed.
Since launching from the app drawer isn't recommended but is my only way to launch the Sunshine interface I launch from the start menus app drawer if necessary which is just about never cause Sunshine is set as a startup app.
Restart, quit, donate works fine. It's only open Sunshine that doesn't work.

@ReenigneArcher
Copy link
Member

I haven't been able to launch Sunshine from the taskbar at all for some time. Saw the changelog notes for the fix and was like yay! Went to test and found it wasn't fixed. Since launching from the app drawer isn't recommended but is my only way to launch the Sunshine interface I launch from the start menus app drawer if necessary which is just about never cause Sunshine is set as a startup app. Restart, quit, donate works fine. It's only open Sunshine that doesn't work.

It is recommended to run Sunshine as a service, which is the default when using our installer.

@Darkhost1999
Copy link

It is recommended to run Sunshine as a service, which is the default when using our installer.

That sounds correct, and that's how I have Sunshine set up. It starts automatically, runs automatically, and requires almost no configuration except for entering a PIN to authorize a device.

However, I've noticed that I can't use the "Open Sunshine" option from the Windows taskbar background processes drawer. The "Restart," "Donate," and "Quit" options work fine.

The logs indicate that the URL opens successfully and mention my Firefox installation, but the URL doesn't actually open. I have to either memorize the URL or open Sunshine from the Start menu app drawer to access the web interface.

@Darkhost1999
Copy link

Darkhost1999 commented Apr 20, 2024

This morning approximately 7 hours ago I installed the nightly version 0.23.0.b4e6873649882ab0b9cd8b88e7d45e04f212cba6 and confirmed I was still experiencing the issue.
All that I've changed since then is to install Moonlight from the Google Play Store instead of from the GitHub release tab and join Moonlight beta.

Just now when I tried opening from the taskbar it failed. I used the restart button on the taskbar and open again. Failed again.
But when I opened the web interface from the start menu -> app drawer and clicked troubleshooting -> restart Sunshine now it seems the taskbar is working fine.
Someone indicated this above in an earlier message I just thought they meant they hit restart in the taskbar icon. No, that doesn't work but restarting from the web interface does.
To conclude, I restarted my PC and confirmed I'm not getting the issue anymore. I don't know if this is the same issue everyone else is having here in this ticket.

@ReenigneArcher
Copy link
Member

You said you have it set as a startup app, which is not the same as a service. I think you had/have multiple instances of Sunshine running. One as a service and one as a "startup app"... I believe that is what is causing your problems.

@ericswpark
Copy link
Author

FWIW @ReenigneArcher I'm the OP of the issue and I always had Sunshine running as a service. I don't think it's a multiple instance issue on my part.

@tvoracek
Copy link

tvoracek commented May 5, 2024

Still happening on Version 0.23.1.9288775351dc04c1b3b09d6fe432096e7571396f.

@ns6089
Copy link
Contributor

ns6089 commented May 8, 2024

I think there's rare deadlock in sunshine's tray thread, been there since notifications got introduced.
Notifications stop appearing, and right-clicking on the tray icon doesn't bring up the menu.
I trigger it semi-consistently once in a couple of days, just usually don't pay attention since streaming continues to work fine, it's only the tray icon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os:Windows OS is Windows
Projects
None yet
Development

No branches or pull requests

7 participants