Please add lifecycle exception for terminal

Bug #1452705 reported by Alan Pope 🍺🐧🐱 🦄
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Ubuntu Terminal App
New
Undecided
Unassigned
qtmir (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I've had this conversation with various relevant parties and no had any objections, so filing a bug to request the feature is added.

The Terminal app is currently limited in its functionality because it gets suspended by application lifecycle.

This means you cannot run simple tools like tail or top, or indeed more complex things like ssh without them getting reaped as part of lifecycle when you switch away from the app. This makes the Terminal pretty much useless for most use cases.

I'd like to get a lifecycle exception which would only be in effect if "Developer mode" is switched on in system settings. This would enable users to control the lifecycle exception, and we ensure long running tasks aren't an issue by default because the switch is defaulted off.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qtmir (Ubuntu):
status: New → Confirmed
Revision history for this message
Sam Bull (dreamsorcerer) wrote :

I still think that with the lifecycle, it could be usable if it suspended processes when the app was suspended, and restored them when the app is resumed (equivalent to Ctrl+Z, then 'fg' ). At the moment it just kills processes when suspended. I think most use cases like top, watch, or ssh would work just fine like this.

Revision history for this message
Sam Bull (dreamsorcerer) wrote :

Sorry, my mistake, it already suspends the process. So, it will simply need to resume the process (equivalent to running 'fg') when the app is resumed. This would likely handle most usecases without needing a lifecycle exception, or enabling developer mode.

Revision history for this message
Sam Bull (dreamsorcerer) wrote :

Now being tracked in a new lifecycle bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.