Skip to content

Invisible system tray with weird popover behaviour #5276

Closed

Description

@wikiti

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 latest beta/pre-release?

This issue is present in the latest pre-release

Describe the Bug

Updated to the latest Sunshine version (pre-release, 2026.608.233907-1). After rebooting, the system icon for Sunshine is no longer visible. When right clicking the system tray icon, instead of a popover, a window in the middle of the screen appears. Here's a video reproducing the issue:

Videocaptura.de.pantalla_20260609_094133.mp4

Expected Behavior

The tray icon should be visible, and when right-clicking, a popover should appear right next to the tray icon.

Additional Context

Probably has something to do with #4907

Host Operating System

Linux

Operating System Version

OpenSUSE Tumbleweed

Architecture

amd64/x86_64

Package

Linux - Fedora Copr

GPU Type

NVIDIA

GPU Model

Nvidia RTX 4060

GPU Driver/Mesa Version

595.80

Capture Method

KMS (Linux)

Apps

Log output

[2026-06-09 09:39:43.157]: Info: Sunshine version: 2026.608.233907 commit: 6bc2701160ed181e2cd01969bf2c8cd9e77957d3
[2026-06-09 09:39:43.157]: Info: Package Publisher: LizardByte
[2026-06-09 09:39:43.157]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-06-09 09:39:43.157]: Info: Get support: https://app.lizardbyte.dev/support
[2026-06-09 09:39:43.157]: Info: config: 'origin_web_ui_allowed' = pc
[2026-06-09 09:39:43.157]: Info: config: 'sunshine_name' = Daniel-Linux
[2026-06-09 09:39:43.157]: Info: config: 'wan_encryption_mode' = 1
[2026-06-09 09:39:43.234]: Error: Failed to create session:
[2026-06-09 09:39:43.234]: Info: [wayland] Found display [wayland-0]
[2026-06-09 09:39:43.234]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-06-09 09:39:43.234]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-06-09 09:39:43.235]: Info: [wayland] Found interface: wl_output(65) version 4
[2026-06-09 09:39:43.235]: Info: [wayland] Found interface: wl_output(66) version 4
[2026-06-09 09:39:43.235]: Warning: [wlgrab] Missing Wayland wire for wlr-export-dmabuf
[2026-06-09 09:39:43.235]: Info: /dev/dri/card2 -> nvidia-drm
[2026-06-09 09:39:43.235]: Info: /dev/dri/card1 -> i915
[2026-06-09 09:39:43.247]: Info: [wayland] Found display [wayland-0]
[2026-06-09 09:39:43.247]: Info: [wayland] Found display [wayland-0]
[2026-06-09 09:39:43.247]: Info: [wayland] Found interface: zxdg_output_manager_v1(31) version 3
[2026-06-09 09:39:43.247]: Info: [wayland] Found interface: zwp_linux_dmabuf_v1(57) version 5
[2026-06-09 09:39:43.247]: Info: [wayland] Found interface: wl_output(65) version 4
[2026-06-09 09:39:43.247]: Info: [wayland] Found interface: wl_output(66) version 4
[2026-06-09 09:39:43.247]: Info: [wayland] Resolution: 1920x1080
[2026-06-09 09:39:43.247]: Info: [wayland] Resolution: 1920x1080
[2026-06-09 09:39:43.247]: Info: [wayland] Offset: 0x0
[2026-06-09 09:39:43.247]: Info: [wayland] Logical size: 1920x1080
[2026-06-09 09:39:43.247]: Info: [wayland] Name: DP-2
[2026-06-09 09:39:43.247]: Info: [wayland] Found monitor: Acer Technologies KG251Q
[2026-06-09 09:39:43.247]: Info: [wayland] Offset: 1920x0
[2026-06-09 09:39:43.247]: Info: [wayland] Logical size: 1920x1080
[2026-06-09 09:39:43.247]: Info: [wayland] Name: DP-3
[2026-06-09 09:39:43.247]: Info: [wayland] Found monitor: Acer Technologies KG251Q
[2026-06-09 09:39:43.247]: Info: -------- Start of KMS monitor list --------
[2026-06-09 09:39:43.247]: Info: Monitor 1 is DP-2: Acer Technologies KG251Q
[2026-06-09 09:39:43.247]: Info: --------- End of KMS monitor list ---------
[2026-06-09 09:39:43.247]: Info: [portalgrab] Loaded portal restore token from disk
[2026-06-09 09:39:43.272]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-06-09 09:39:43.272]: Info: Trying encoder [nvenc]
[2026-06-09 09:39:43.272]: Info: Screencasting with KMS
[2026-06-09 09:39:43.272]: Info: /dev/dri/card2 -> nvidia-drm
[2026-06-09 09:39:43.272]: Info: Found monitor for DRM screencasting
[2026-06-09 09:39:43.272]: Info: Found connector ID [128]
[2026-06-09 09:39:43.272]: Info: Found cursor plane [56]
[2026-06-09 09:39:43.272]: Info: Creating encoder [h264_nvenc]
[2026-06-09 09:39:43.272]: Info: Color coding: SDR (Rec. 601)
[2026-06-09 09:39:43.272]: Info: Color depth: 8-bit
[2026-06-09 09:39:43.272]: Info: Color range: JPEG
[2026-06-09 09:39:43.285]: Info: EGL: context priority set to HIGH
[2026-06-09 09:39:43.389]: Info: Streaming bitrate is 1000000
[2026-06-09 09:39:43.443]: Info: Creating encoder [hevc_nvenc]
[2026-06-09 09:39:43.443]: Info: Color coding: SDR (Rec. 601)
[2026-06-09 09:39:43.443]: Info: Color depth: 8-bit
[2026-06-09 09:39:43.443]: Info: Color range: JPEG
[2026-06-09 09:39:43.444]: Info: EGL: context priority set to HIGH
[2026-06-09 09:39:43.445]: Info: Streaming bitrate is 1000000
[2026-06-09 09:39:43.470]: Info: Creating encoder [av1_nvenc]
[2026-06-09 09:39:43.470]: Info: Color coding: SDR (Rec. 601)
[2026-06-09 09:39:43.470]: Info: Color depth: 8-bit
[2026-06-09 09:39:43.470]: Info: Color range: JPEG
[2026-06-09 09:39:43.471]: Info: EGL: context priority set to HIGH
[2026-06-09 09:39:43.473]: Info: Streaming bitrate is 1000000
[2026-06-09 09:39:43.498]: Info: Screencasting with KMS
[2026-06-09 09:39:43.498]: Info: /dev/dri/card2 -> nvidia-drm
[2026-06-09 09:39:43.498]: Info: Found monitor for DRM screencasting
[2026-06-09 09:39:43.499]: Info: Found connector ID [128]
[2026-06-09 09:39:43.499]: Info: Found cursor plane [56]
[2026-06-09 09:39:43.499]: Info: Creating encoder [hevc_nvenc]
[2026-06-09 09:39:43.499]: Info: Color coding: SDR (Rec. 709)
[2026-06-09 09:39:43.499]: Info: Color depth: 10-bit
[2026-06-09 09:39:43.499]: Info: Color range: JPEG
[2026-06-09 09:39:43.499]: Info: EGL: context priority set to HIGH
[2026-06-09 09:39:43.501]: Info: Streaming bitrate is 1000000
[2026-06-09 09:39:43.528]: Info: Creating encoder [av1_nvenc]
[2026-06-09 09:39:43.528]: Info: Color coding: SDR (Rec. 709)
[2026-06-09 09:39:43.528]: Info: Color depth: 10-bit
[2026-06-09 09:39:43.528]: Info: Color range: JPEG
[2026-06-09 09:39:43.528]: Info: EGL: context priority set to HIGH
[2026-06-09 09:39:43.530]: Info: Streaming bitrate is 1000000
[2026-06-09 09:39:43.558]: Info:
[2026-06-09 09:39:43.558]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-06-09 09:39:43.558]: Info:
[2026-06-09 09:39:43.558]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2026-06-09 09:39:43.558]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2026-06-09 09:39:43.558]: Info: Found AV1 encoder: av1_nvenc [nvenc]
[2026-06-09 09:39:43.558]: Info: Starting system tray
[2026-06-09 09:39:43.559]: Info: Adding avahi service localhost
[2026-06-09 09:39:43.598]: Info: Configuration UI available at [https://localhost:47990]
[2026-06-09 09:39:43.622]: Info: System tray created
[2026-06-09 09:39:43.622]: Info: Starting main loop
[2026-06-09 09:39:44.425]: Info: Avahi service localhost successfully established.
[2026-06-09 09:40:07.204]: Info: Web UI: [127.0.0.1] -- not authorized
[2026-06-09 09:40:08.604]: Info: Web UI: [127.0.0.1] -- not authorized
[2026-06-09 09:44:51.911]: Info: Opening UI from system tray
[2026-06-09 09:44:51.943]: Info: Opened url [https://localhost:47990]
[2026-06-09 09:44:52.300]: Info: Web UI: [127.0.0.1] -- not authorized

Online logs

No response

Activity

  1. ReenigneArcher commented on Jun 9, 2026

    @ReenigneArcher
    Member

    What DE is that?

  2. wikiti commented on Jun 9, 2026

    @wikiti
    Author

    My bad! My DE is KDE Plasma

    ❯ plasmashell -v
    plasmashell 6.6.5
    
  3. ReenigneArcher commented on Jun 9, 2026

    @ReenigneArcher
    Member

    Interesting, I was just playing with this in a fresh CachyOS environment and the tray was working perfectly fine. So maybe a difference in packaging I guess.

  4. Kishi85 commented on Jun 9, 2026

    @Kishi85
    Contributor

    Is this on X11 or Wayland session? Could be that it's using the wrong Qt native platform.

  5. wikiti commented on Jun 9, 2026

    @wikiti
    Author

    I'm using Wayland, not X11

  6. Kishi85 commented on Jun 10, 2026

    @Kishi85
    Contributor

    This might be a bug in Qt then. Sunshine's tray library uses Qt's implementation for handling the right-click here (there is no need to implement something like this explicitly as you'd have to handle all the edge cases manually).
    Does this happen with other Qt-based applications tray icons/menus as well?

  7. wikiti commented on Jun 10, 2026

    @wikiti
    Author

    Does this happen with other Qt-based applications tray icons/menus as well?

    Nope. For example, I use qBittorrent (latest version uses Qt 6.9.3), and tray icons work perfectly 🤔

  8. MrShinigamiDa commented on Jun 10, 2026

    @MrShinigamiDa

    I tired the latest pre-release (2026.06.08 and ..06) app-image in tumbleweed, sunshine is not launching - shows a qt based warning and exits.

    Opensuse Tumbleweed (slowroll) with kde plasma 6.6.5 on wayland.

  9. Kishi85 commented on Jun 11, 2026

    @Kishi85
    Contributor

    I tired the latest pre-release (2026.06.08 and ..06) app-image in tumbleweed, sunshine is not launching - shows a qt based warning and exits.

    Opensuse Tumbleweed (slowroll) with kde plasma 6.6.5 on wayland.

    @ReenigneArcher there seems to be a problem with the appimage Qt-dependency packaging. If I'm trying the latest AppImage I'm getting the following on CachyOS as well:

    [2026-06-11 07:58:08.661]: Warning: Qt: Could not find the Qt platform plugin "wayland" in ""
    /tmp/.mount_sunshiaPKcEb/AppRun.wrapped: line 98: 10477 Aborted                    (core dumped) "$SUNSHINE_BIN_HERE" $@
    

    As for the original issue: It's weird that the menu is encapsulated in separate wayland windows but I'm still clueless as to where this issue might stem from.

  10. ReenigneArcher commented on Jun 11, 2026

    @ReenigneArcher
    Member

    @Kishi85 probably need to add https://github.com/linuxdeploy/linuxdeploy-plugin-qt

    I also noticed the tray doesn't seem to work with Flatpak using KDE in CachyOS. Not sure if Sunshine crashed completely or just wasn't showing the tray.

  11. Kishi85 commented on Jun 14, 2026

    @Kishi85
    Contributor

    @Kishi85 probably need to add https://github.com/linuxdeploy/linuxdeploy-plugin-qt

    I also noticed the tray doesn't seem to work with Flatpak using KDE in CachyOS. Not sure if Sunshine crashed completely or just wasn't showing the tray.

    For Flatpak it's just the tray not being created:

    [2026-06-14 11:18:46.838]: Info: Starting system tray
    [2026-06-14 11:18:46.843]: Info: Configuration UI available at [https://localhost:47990]
    [2026-06-14 11:18:46.843]: Error: Failed to create client: Daemon not running
    [2026-06-14 11:18:47.107]: Warning: Failed to create system tray
    [2026-06-14 11:18:47.107]: Info: Starting main loop
    [2026-06-14 11:18:47.107]: Error: System tray is not initialized
    [2026-06-14 11:18:47.107]: Info: Main loop has exited
    

    Which is due to missing flatpak permission for the DBus session-bus (socket=session-bus) if you allow that it'll create properly and show up:

    [2026-06-14 11:19:59.454]: Info: Starting system tray
    [2026-06-14 11:19:59.460]: Error: Failed to create client: Daemon not running
    [2026-06-14 11:19:59.462]: Info: Configuration UI available at [https://localhost:47990]
    [2026-06-14 11:19:59.671]: Info: System tray created
    [2026-06-14 11:19:59.671]: Info: Starting main loop
    
  12. MrShinigamiDa commented on Jun 14, 2026

    @MrShinigamiDa

    Probably unrelated, but the latest pre-release appimage (v0611) is not launching as well.

    Opensuse tumbleweed with KDE plasma wayland (AMD 8840)

  13. agonio commented on Jun 14, 2026

    @agonio

    I tired the latest pre-release (2026.06.08 and ..06) app-image in tumbleweed, sunshine is not launching - shows a qt based warning and exits.
    Opensuse Tumbleweed (slowroll) with kde plasma 6.6.5 on wayland.

    @ReenigneArcher there seems to be a problem with the appimage Qt-dependency packaging. If I'm trying the latest AppImage I'm getting the following on CachyOS as well:

    [2026-06-11 07:58:08.661]: Warning: Qt: Could not find the Qt platform plugin "wayland" in ""
    /tmp/.mount_sunshiaPKcEb/AppRun.wrapped: line 98: 10477 Aborted                    (core dumped) "$SUNSHINE_BIN_HERE" $@
    

    I added some logs/info for this unrelated issue few weeks ago here as well for the homebrew package: #5170 (comment)
    Did not have the time for a proper issue report though.. nevertheless you might want to check brew too then.

  14. ReenigneArcher commented on Jun 15, 2026

    @ReenigneArcher
    Member

    @Kishi85 can you try the AppImage built in CI from #5295 ?

  15. haroldm commented on Jun 28, 2026

    @haroldm
    Contributor

    @Kishi85 probably need to add https://github.com/linuxdeploy/linuxdeploy-plugin-qt
    I also noticed the tray doesn't seem to work with Flatpak using KDE in CachyOS. Not sure if Sunshine crashed completely or just wasn't showing the tray.

    For Flatpak it's just the tray not being created:

    [2026-06-14 11:18:46.838]: Info: Starting system tray
    [2026-06-14 11:18:46.843]: Info: Configuration UI available at [https://localhost:47990]
    [2026-06-14 11:18:46.843]: Error: Failed to create client: Daemon not running
    [2026-06-14 11:18:47.107]: Warning: Failed to create system tray
    [2026-06-14 11:18:47.107]: Info: Starting main loop
    [2026-06-14 11:18:47.107]: Error: System tray is not initialized
    [2026-06-14 11:18:47.107]: Info: Main loop has exited
    

    Which is due to missing flatpak permission for the DBus session-bus (socket=session-bus) if you allow that it'll create properly and show up:

    [2026-06-14 11:19:59.454]: Info: Starting system tray
    [2026-06-14 11:19:59.460]: Error: Failed to create client: Daemon not running
    [2026-06-14 11:19:59.462]: Info: Configuration UI available at [https://localhost:47990]
    [2026-06-14 11:19:59.671]: Info: System tray created
    [2026-06-14 11:19:59.671]: Info: Starting main loop
    

    For the missing system tray in the flatpak package, is there any reason not to add the required permission by default like that: 887aecf?

  16. ReenigneArcher commented on Jun 28, 2026

    @ReenigneArcher
    Member

    You can make a PR. Thanks!

  17. ReenigneArcher commented on Jul 28, 2026

    @ReenigneArcher
    Member

    Is this bug still happening with latest pre-release versions?

  18. wikiti commented on Aug 4, 2026

    @wikiti
    Author

    Hey @ReenigneArcher 👋 Sorry for the delay. I tried checking release https://github.com/LizardByte/Sunshine/releases/tag/v2026.726.710, but I couldn't see any *suse* rpm packages on any of them to try out

    I just tried with fedora 43 rpm package, and icon seems to be showing now 🎉 . Right click shows a popup in the right place. However, left click still shows a popup menu, far away from the tray icon (in a different screen)

  19. ReenigneArcher commented on Aug 4, 2026

    @ReenigneArcher
    Member

    COPR has broken chroots for Suse for the past couple of weeks 🤷‍♂️

  20. LizardByte-bot commented on Nov 3, 2026

    @LizardByte-bot
    Member

    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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions