! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Regression: Running program when closing Terminal
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description Ali Akcaagac 2018-03-12 12:53:20 CET
There seem to be a regression when closing terminals - that, from what I remember, wasn't the case before.

Right now I am running Xfce from Git. That is: All packages are quire new.

When I open a terminal and have it run some package management stuff like

dnf update
or
apt-get update

and then open another terminal then everything works so far. But when I close the new opened terminal (that has only been opened but no other command entered or running) by clicking the window managers "X" button, then I receive a dialog telling me that there are processes running. But this is not the case for this individual terminal. Somehow the "X" button from the window manager must be referring to the other open terminal that still executes dnf update or apt-get update (or anything that keeps the terminal busy).

Can this be fixed ?
Comment 1 Igor editbugs 2018-03-12 13:50:52 CET
I cannot reproduce it here.

I open a new instance of xfce4-terminal and run "mc" in it. Then, I open a new terminal window by clicking File -> Open Terminal.
I am able to close the new window by clicking "x" button with no dialogs popping up.
The first window that is running "mc" would show a dialog if I attempted to close it.
Comment 2 Git Bot editbugs 2018-03-12 20:01:16 CET
Igor referenced this bugreport in commit 24f991ceb39a13f8628166c4c7bc8c968c35bdcd

Record child pid when using async spawn

https://git.xfce.org/apps/xfce4-terminal/commit?id=24f991ceb39a13f8628166c4c7bc8c968c35bdcd
Comment 3 Igor editbugs 2018-03-12 20:04:12 CET
Thanks for noticing this!
The problem only existed if using newer VTE versions and async spawning. I've fixed it with the commit referenced above.
Comment 4 Ali Akcaagac 2018-03-12 21:45:15 CET
Thanks for fixing this.

I am currently running what will become Fedora 29 and they might have adopted the new VTE. I intended to run some tests for a few hours and probably intended doing a desktopcapture (animated gif or something) to visualize the issue. But glad that you took off me doing that :)

I report back, if there is anything else with I may fiind.

Bug #14274

Reported by:
Ali Akcaagac
Reported on: 2018-03-12
Last modified on: 2018-03-12

People

CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information