ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 174 forks source link

[KDE] Closing windows from task manager #3202

Open bootkiller opened 10 years ago

bootkiller commented 10 years ago

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.

maxpoulin64 commented 10 years ago

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.

bootkiller commented 10 years ago

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

lIWAPIl commented 2 years ago

Your system information

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,

Agreeable-f commented 1 year ago

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
RokeJulianLockhart commented 1 year ago

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

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:`systemsettings5`/CLI:`kcmshell5`. image demonstrates that this works.
  5. Launch steam.
  6. Close steam using the title bar. steam shall immediately quit.