Bug 274979

Summary: Application launcher ignores Terminal=true in .desktop files
Product: [Unmaintained] plasma4 Reporter: Christopher Martin <chrsmrtn>
Component: widget-kickoffAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: adaptee
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christopher Martin 2011-06-05 15:01:00 UTC
Version:           unspecified (using KDE 4.6.3) 
OS:                Linux

If an application requires that it be 'Run in Terminal' to launch successfully, its .desktop file should (and usually does) include the line Terminal=true.

KDE should detect Terminal=true, and automatically set 'Run in Terminal'. Currently, it doesn't appear to do this, as I have to check the 'Run in Terminal' box manually in the Application Menu Editor's Advanced Tab before these applications launch successfully.

Reproducible: Always

Steps to Reproduce:
Install an application that needs to be 'Run in Terminal' to launch successfully and has a .desktop file specifying Terminal=true.

Actual Results:  
Try to launch it using Kickoff. Nothing much will happen.

Expected Results:  
KDE detects Terminal=true and automatically sets 'Run in Terminal'. The application launches seamlessly.
Comment 1 Jekyll Wu 2011-12-11 18:22:28 UTC
I failed to reproduce the reported problem. I tried to invoke htop (its desktop file contain the 'Terminal=true' entry) from kickoff and krunner, and it was started and shown in Konsole.

I'm using KDE SC 4.8 beta2. Maybe my observation also applies to 4.7.x .
Comment 2 Jekyll Wu 2011-12-26 23:23:54 UTC
I just checked this issue again in Debian Sid(using KDE SC 4.6.5) and Fedora16(using KDE SC 4.7.4). Both are fine.