Bug 341191 - Kile interferes with a Konsole session running outside of Kile if Konsole uses byobu.
Summary: Kile interferes with a Konsole session running outside of Kile if Konsole use...
Status: RESOLVED NOT A BUG
Alias: None
Product: kile
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.1.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-23 06:54 UTC by Prateek
Modified: 2015-03-15 19:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Prateek 2014-11-23 06:54:52 UTC
I use Kile. I use Konsole as my primary terminal application. I have set Konsole to use byobu as my primary shell. That is, in Konsole, right-click, Edit Current Profile, General tab, General section, "command" is set to /usr/bin/byobu.

I never use the Konsole embedded inside of Kile. I don't want it. As far as I'm concerned, it need not exist, and if it has to exist, this should be something internal to Kile and should not bother me, the end user.

However, if I open a new file in Kile, or switch tabs in Kile, it sends out commands to Konsole (usually cding to some folder), and this interferes in my terminal usage. This can have unpredictable consequences - for example if I'm playing music with mplayer, the "cd blah blah" text sent to it may cause it to stop and exit, or do all sorts of strange things. This is probably because Kile launches Konsole which causes it to attach to the same byobu session.

I use my terminal and LaTeX editor as two entirely independent apps, and I expect them not to interfere with each other.

Reproducible: Always

Steps to Reproduce:
1. Start with a fresh Kubuntu install. Ensure that Kile, Konsole, and byobu are installed.
2. In your only Konsole profile, ensure that the "command" is set to byobu.
3. Open Konsole, if not open already. You should be in byobu. Navigate to some folder X.
4. Open Kile, and open a LaTeX file in some folder Y, different from X. Open other files and switch tabs and compile if needed.
5. Go back and look at Konsole.

Actual Results:  
Your current path in the shell has changed in Konsole, thanks to some "cd" commands you never issued.

Expected Results:  
Konsole should work. Kile should work. They should not interfere with each other.
Comment 1 Christoph Feck 2014-12-12 23:12:59 UTC
Is the same issue reproducible when using bash as the shell? Issuing a cd command should be local to the shell, not global, so it might be in issue with byobu.
Comment 2 Christoph Feck 2015-01-08 02:24:27 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Christoph Feck 2015-02-11 10:21:11 UTC
To further investigate this issue, KDE developers need the information requested in comment #1. If you can provide it, or need help with finding that information, please add a comment.
Comment 4 Christoph Feck 2015-03-15 19:25:52 UTC
No response, changing status. If you have more information, please add a comment.