protonscr

[KDE] Closing windows from task manager

steamopen reviewedSteam client
ValveSoftware/steam-for-linux#3202 · opened 2014-03-13 by bootkiller · updated 2023-05-18 · 5 comments · github
Bbootkiller 2014-03-13 github

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.

Mmaxpoulin64 2014-03-18 github

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.

Bbootkiller 2014-03-18 github

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:
snapshot5

Not KDE's system monitor (KSysGuard).

LlIWAPIl 2022-06-29 github

Your system information

  • Steam client version (build number or date): Jun7 2022, at 03:18:43
  • Distribution (e.g. Ubuntu): Arch Linux
  • Desktop environment: KDE plasma
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

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 )

Steps for reproducing this issue:

Close steam trough desktop environment.

PS

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,

GGRBL-F 2022-11-18 github

Adding my stuff here from #8928

Your system information

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

Please describe your issue in as much detail as possible:

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.)

Steps for reproducing this issue:

  1. Open a game.
  2. Shift+tab to open the steam menu in-game.
  3. open messages with someone or send them an invite. also works if they send you an invite.
  4. close the steam menu
  5. close the game
  6. click steam on your dock (latte dock in my case)
  7. close the messages window
Bbeedell-roke 2023-05-18 github

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.


Your system information

  • Steam client version (build number or date): image

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

  • Distribution (e.g. Ubuntu):
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>
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

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.

Steps for reproducing this issue:

  1. Download KWinRules_NoTitleBarAndFrame.zip.
  2. Unzip the .kwinrules file.
  3. Rename its extensions to simply .kwinrules rather than .txt.kwinrules.
  4. Import the .kwinrules file via GUI:/CLI:.
    image demonstrates that this works.
  5. Launch steam.
  6. Close steam using the title bar.
    steam shall immediately quit.