Kile interferes with a Konsole session running outside of Kile if Konsole uses byobu

Bug #1395430 reported by Prateek Karandikar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kile
Invalid
Medium
kile (Ubuntu)
New
Undecided
Unassigned

Bug Description

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.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: kile 4:2.1.3-2ubuntu2
ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
Uname: Linux 3.16.0-24-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: KDE
Date: Sun Nov 23 12:28:43 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-11-14 (8 days ago)
InstallationMedia: Kubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: kile
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
In , Kprateek88+kdebugs (kprateek88+kdebugs) wrote :

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.

Revision history for this message
Prateek Karandikar (prateek.karandikar) wrote :
Changed in kile:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
In , Christoph-maxiom (christoph-maxiom) wrote :

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.

Revision history for this message
In , Cfeck (cfeck) wrote :

If you can provide the information requested in comment #1, please add it.

Revision history for this message
In , Cfeck (cfeck) wrote :

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.

Changed in kile:
status: New → Incomplete
Revision history for this message
In , Cfeck (cfeck) wrote :

No response, changing status. If you have more information, please add a comment.

Changed in kile:
status: Incomplete → Invalid
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.