Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

Systray icon doesn't show popup options after restart

Open buthig666 opened this issue 1 year ago • 11 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Is your issue described in the documentation?

  • [X] I have read the documentation

Is your issue present in the latest beta/pre-release?

This issue is present in the latest pre-release

Describe the Bug

After restart the systray icon is in the taskbar. Clicking on it does nothing. There are no popup options until I restart the Sunshine service. After restarting sunshine the icon works as expected until the next reboot.

Expected Behavior

The icon gives popup options when clicked.

Additional Context

The issue was present on 23h2 and now 24h2. I have noticed it since idk the beginning of 2024 and assumed it would be noticed and fixed but maybe I am the only one.

Host Operating System

Windows

Operating System Version

11 24h2

Architecture

amd64/x86_64

Sunshine commit or version

Version v2024.1109.210203

Package

Windows - installer (recommended)

GPU Type

Nvidia

GPU Model

4080

GPU Driver/Mesa Version

566.03

Capture Method

Desktop Duplication API (Windows)

Config

n/a

Apps

I only use sunshine via desktop. Capture method is set to auto but since Sunshine is installed as a service and win graphics capture doesn't work as such I imagine I am using DD API.

Relevant log output

n/a

buthig666 avatar Nov 10 '24 11:11 buthig666

I guess msft broke something in that version of Windows.

image

ReenigneArcher avatar Nov 10 '24 16:11 ReenigneArcher

I'm running 24H2 on all my systems and the tray icon works fine on them all, so it must be more than that.

cgutman avatar Nov 10 '24 17:11 cgutman

It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!

LizardByte-bot avatar Feb 09 '25 10:02 LizardByte-bot

This happens to me every time if I connect to Sunshine right after booting the machine and sign in through the standard windows login. I'm using Sunshine as a service. If I restart Sunshine after logging in and reconnect using Moonlight then the tray is working again until the next time the machine is rebooted. I am running the latest pre-release 2025.212.40608 but this has happened since I really started using Sunshine over the last month or so through various versions.

Windows 11 24H2 Version 26100.3037

KnightRdr23 avatar Feb 13 '25 02:02 KnightRdr23

Posting logs after logging in from a fresh boot

sunshinelogs 2025-02-13.txt

KnightRdr23 avatar Feb 14 '25 01:02 KnightRdr23

I can't edit the post to add my log so will join you here. After fresh reboot.

sunshine.log

buthig666 avatar Feb 14 '25 04:02 buthig666

Could those facing this issue please test the build here: https://github.com/LizardByte/Sunshine/actions/runs/14744857138?pr=3818#artifacts and report back whether it solves the issue or not?

It is from https://github.com/LizardByte/Sunshine/pull/3818 which refactors how the system tray runs.

ReenigneArcher avatar Apr 30 '25 02:04 ReenigneArcher

With this build I am not getting a sys tray icon at all after a reboot. Restarting sunshine service restores the icon and it functions as intended. Tried several reboots with the same result. Current Win11 pro 24H2 Os build: 26100.3775

buthig666 avatar Apr 30 '25 06:04 buthig666

Alright, I think Sunshine is crashing on the first startup attempts. We need the log from those attempts, not from a successful attempt.

The service puts the logs here: %WINDIR%/temp/sunshine.log

Sunshine also does not like if you moved your temp directory to a different drive, so if you did that it's likely the reason for the failures.

ReenigneArcher avatar Apr 30 '25 12:04 ReenigneArcher

With this build I am not getting a sys tray icon at all after a reboot. Restarting sunshine service restores the icon and it functions as intended. Tried several reboots with the same result. Current Win11 pro 24H2 Os build: 26100.3775

I'm able to replicate this behavior actually. No tray icon even though Sunshine is running.

ReenigneArcher avatar Apr 30 '25 20:04 ReenigneArcher

I don't know if this information is helpful but since this is only happening during startup: I do use sysinternal autologin script, and I bootup to a local account and not a Microsoft account. If you still need that log file I can do that after work today.

(Sunshine is in the default directory with no alterations to temp files on my kit in sunshine nor system wide)

buthig666 avatar May 01 '25 01:05 buthig666

It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!

LizardByte-bot avatar Jul 30 '25 10:07 LizardByte-bot

This issue was closed because it has been stalled for 10 days with no activity.

LizardByte-bot avatar Aug 10 '25 10:08 LizardByte-bot