elementary / terminal

Terminal emulator designed for elementary OS
https://elementary.io
GNU Lesser General Public License v3.0
409 stars 97 forks source link

Continue tasks in background when window is closed #21

Open elementaryBot opened 7 years ago

elementaryBot commented 7 years ago

If tasks in the terminal are executing, the terminal app should continue tasks in the background when its window is closed. This way users can safely close the window and open it to come back to it later. If the task completes, the app should quit completely.

This helps further push us into the app-resumes-where-it-left-off territory and makes it so users can close the app at any time while allowing the task to continue, much like Noise.

If developers want an option to kill tasks when the window is closed, that could be a possibility.

Launchpad Details: #LP1083306 Cassidy James Blaede - 2012-11-26 20:49:27 +0000

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/44562206-continue-tasks-in-background-when-window-is-closed?utm_campaign=plugin&utm_content=tracker%2F61246377&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F61246377&utm_medium=issues&utm_source=github).
elementaryBot commented 7 years ago

So, in this way, you just simply mask close button as minimize button? And user can much more likely to forgot about running processes in background (in minimized terminals)? Isn't it in a direct opposite of your argument, that minimized apps consume resources?

Launchpad Details: #LPC Hlobil Vaclav - 2012-11-27 08:53:04 +0000

elementaryBot commented 7 years ago

How will you handle showing the background running has finished? As above its now just masking close as minimize.

Launchpad Details: #LPC liamdawe - 2012-11-27 09:43:02 +0000

elementaryBot commented 7 years ago

Ideally there would be a seperation of the app UI/window and the process itself. So closing the window would close the window (not mask it as minimize). Then when the process is done, it could shoot a notification.

Launchpad Details: #LPC Cassidy James Blaede - 2012-11-28 20:21:01 +0000

elementaryBot commented 7 years ago

I can think of at least one use case where this might not work: when an ssh session hangs.

Launchpad Details: #LPC Zisu Andrei - 2016-05-21 19:08:00 +0000

elementaryBot commented 7 years ago

Actually wait, for hanging SSH sessions, you can just close the tab.

Launchpad Details: #LPC Zisu Andrei - 2016-05-21 19:18:11 +0000