Bug 1227977

Summary: KDE Plasma 6 (Wayland) - Apps disappear when 'Minimize to tray on Close' is set
Product: [openSUSE] openSUSE Tumbleweed Reporter: Matt Weber <mdogg>
Component: KDE Workspace (Plasma)Assignee: E-Mail List <opensuse-kde-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: fvogt, mdogg
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://bugs.kde.org/show_bug.cgi?id=489286
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Matt Weber 2024-07-16 22:29:38 UTC
I have 6 applications that are configured to 'Minimize to the Systray when Closed'.  Signal-Desktop, Spotify, KeePassXC, SMPlayer, DeaDBeeF, and HexChat.  All of these apps behave as expected when logged into x11, however in a Wayland session, DeadBeeF and HedChat do not.

HexChat - The HexChat app icon appears in the Systray, and when hovering over the HexChat icon, a pop-up title "HexChat" appears.  Left or right-clicking the icon does nothing.  The application cannot be brought back up once minimized to the Systray in Wayland (at least I can't figure out how to bring it back up) without running a second instance.

DeaDBeeF - Hitting the 'x' to close the app/minimize it to he Systray causes DeaDBeeF to completely disappear, however the application continues to run (continues playing audio files) just as it should - No icon in the Systray or anywhere else.  Running the program from the Plasma 6 launcher or running 'deadbeef' from the command-line brings the application back up without any process interruption, which is nice.  The only issue with this application is that it vanishes rather than entering the Systray in Wayland as it should.

----------------------------------------------------------------------------
mdogg@dell-gmng.mdogg.com:~/ $ neofetch
OS: openSUSE Tumbleweed x86_64
Host: Inspiron 5577 1.1.3
Kernel: 6.9.9-1-default
Uptime: 5 hours, 19 mins
Packages: 6674 (rpm)
Shell: bash 5.2.26
Resolution: 2560x1440
DE: Plasma 6.1.2
WM: KWin
WM Theme: Dark-openSUSE
Theme: Tzen-Dark [Plasma], BeOS-master [GTK2/3]
Icons: Antu-icons [Plasma], Antu-icons [GTK2/3]
Terminal: konsole
Terminal Font: Sometype Mono 12
CPU: Intel i7-7700HQ (8) @ 3.800GHz
GPU: Intel HD Graphics 630
GPU: NVIDIA GeForce GTX 1050 Mobile
Memory: 4180MiB / 31869MiB


mdogg@dell-gmng.mdogg.com:~/ $ lsmod | grep nvidia
nvidia_drm            122880  40
nvidia_modeset       1605632  37 nvidia_drm
nvidia_uvm           6684672  0
nvidia              60579840  1138 nvidia_uvm,nvidia_modeset
video                  77824  4 dell_wmi,dell_laptop,i915,nvidia_modeset
mdogg@dell-gmng.mdogg.com:~/ $


mdogg@dell-gmng.mdogg.com:~/ $ nvidia-smi
Tue Jul 16 10:09:40 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.100                Driver Version: 550.100        CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1050        Off |   00000000:01:00.0 Off |                  N/A |
| N/A   45C    P8             N/A / ERR!  |     122MiB /   4096MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      3288      G   /usr/bin/Xorg.bin                             121MiB |
+-----------------------------------------------------------------------------------------+
mdogg@dell-gmng.mdogg.com:~/ $


mdogg@dell-gmng.mdogg.com:~/ $ echo $XDG_SESSION_TYPE
wayland
mdogg@dell-gmng.mdogg.com:~/ $
Comment 1 Matt Weber 2024-07-16 22:33:41 UTC
It may be difficult to read my system, operating system, and application configuration that I included in the ticket, so I've placed it into SUSE Paste because it may be easier to from here --> 
https://paste.opensuse.org/pastes/c33bbefbe7da
Comment 2 Fabian Vogt 2024-07-17 06:49:10 UTC
Both are gtk2 applications, so this is https://bugs.kde.org/show_bug.cgi?id=489286 which is already fixed in Plasma 6.1.3.
Comment 3 Fabian Vogt 2024-07-17 06:49:11 UTC
Both are gtk2 applications, so this is https://bugs.kde.org/show_bug.cgi?id=489286 which is already fixed in Plasma 6.1.3.