That's not KDE specific, it happens on XFCE as well as any other program that closes the window (tint2, cairo dock, xfce4-panel, Alt+F4).
Looks like Steam handles close properly when clicked on its own X button and just exits entirely when the window is closed externally instead of hiding it as expected.
The Issue has been resolved on beta build "Built: Mar 17 2014, at 12:46:01 ".
Edit:
Or in part at least.
If both windows are visible (Steam + Friends) and you close the friends window from the task manager it works as it should. The Friends windows closes and Steam remains open.
But if one of those windows happens to minimized closing the Friends windows from the task manager will exit Steam.
Additional info, when I say task manager I mean this:
Not KDE's system monitor (KSysGuard).
expected
As steam has a tray icon, I expect it, when I close steam from my desktop environment, steam to minimize to tray.
(As if clicking the X button on the steam button)
did
Steam quits completely and if I have game running it's exited.
{As if going trough: Steam > Exit )
Close steam trough desktop environment.
I know this is standard behavior, but it's not expected at all from a application with a tray icon. I would love to have a way to change that as I've accidentally quit while playing multiple times,
Adding my stuff here from #8928
Steam client version (build number or date): Built Nov 17 2022
Distribution (e.g. Ubuntu): Garuda linux
Desktop Environment: KDE Plasma 5.26.3 with latte dock
Opted into Steam client beta?: No
Have you checked for system updates?: Yes
when clicking on steam from my dock sometimes i'd see a "ghost window" as i've called it. it's basically a window that doesn't preview with anything but a close button. closing this (although it may not be labeled as the steam client. usually messages) closes all steam processes. just found out this also works without it being a "ghost window". just closing messages from this state kills steam
Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist
it should just close the window that it's titled as. (messages, updates, etc.)
From https://github.com/ValveSoftware/steam-for-linux/issues/9501#issue-1714752688 (duplicate), per https://github.com/ValveSoftware/steam-for-linux/issues/9501#issuecomment-1552198132.
Steam Version: 1684288425
Steam Client Build Date: Wed, May 17 02:32 UTC -08:00
Steam Web Build Date: Wed, May 17 02:08 UTC -08:00
Steam API Version: SteamClient020
PS /home/rokejulianlockhart> uname -a
Linux RQN6C6 6.3.1-2-default #1 SMP PREEMPT_DYNAMIC Tue May 9 07:50:57 UTC 2023 (78ee477) x86_64 x86_64 x86_64 GNU/Linux
PS /home/rokejulianlockhart>
steam interprets the close window command sent by the window manager (https://invent.kde.org/plasma/kwin in my case) to mean quit, not close the window. However, steam should interpret the command to mean close the window rather than quit, because steam's current behaviour is nonstandard.
KWinRules_NoTitleBarAndFrame.zip..kwinrules file..kwinrules rather than .txt.kwinrules..kwinrules file via steam.steam using the title bar.steam shall immediately quit.
If you try to close any window that isn't the main Steam window directly from either of KDE's task manager (default one or Icon Tasks), it will always exit Steam. Friends window as an example.
Expected result should be only closing the Friends window.