Bug 122580 - all kde applications are automatically stopped under midnight commander's shell
Summary: all kde applications are automatically stopped under midnight commander's shell
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeinit (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-23 19:41 UTC by Leo Savernik
Modified: 2012-07-07 14:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Savernik 2006-02-23 19:41:23 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Compiled From Sources

Since KDE 3.5 or maybe 3.4, kde processes cannot be started in the background on midnight commander's subshell.

Steps to reproduce:
1. Have an instance of midnight commander running.
2. Hit Ctrl+O to switch to the shell.
3. Enter 'kwrite <somefilethatexists> &' (note the trailing ampersand)

Expected results:
The prompt returns immediately and kwrite shows up.

Actual results:
The prompt returns immediately, but nothing happens. If you press enter after a few seconds, you read something like:

[2]+  Stopped                 kwrite tabbox.cpp

You can get it running by invoking "fg", but this in turn suspends mc.

This is a big problem as you cannot select a file in mc anymore and directly hand it over to kwrite (or any other kde application), while continue browsing in mc.
Comment 1 Thiago Macieira 2006-02-26 02:29:29 UTC
It's possible the application is being stopped by SIGTTIN, if it tried to read from the terminal...
Comment 2 Oswald Buddenhagen 2008-05-30 13:28:34 UTC
something similar happens with gdb, so i'm tending to believe this to be a problem in mc. fwiw, mc devs are kinda dissatisfied with the subshell handling, too.
Comment 3 Jekyll Wu 2011-12-30 23:58:48 UTC
The problem doesn't seem to exist when using KDE SC 4.8 RC1 and mc 4.8.1
Comment 4 Jekyll Wu 2012-07-07 14:24:18 UTC
Feel free to reopen this report if the problem still happens in recent versions (KDE SC 4.8.4 or higher).