https://bugzilla.xfce.org/show_bug.cgi?id=14277

Simon McVittie <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |.uk

--- Comment #1 from Simon McVittie <[email protected]> ---
Please could you describe the steps to reproduce this a bit more clearly? That
would help to confirm or deny what I think is happening.

I conjecture that this is caused by unrelated apps that are launched by Thunar
being direct child processes of Thunar (launched via Exec= rather than via
DBusActivatable). When the main process exits, `systemd --user` decides that
the rest of the cgroup should be cleaned up, and terminates its child
processes; but because those child processes are unrelated apps, that's more
destructive than it ought to be.

You could test this theory by launching an app that does have
DBusActivatable=true in its desktop file (in Debian these include Evince, GNOME
Builder, devhelp and gedit) and an app that is not DBusActivatable (such as
gvim); then killing Thunar. If my theory is correct, the DBusActivatable app
will not be killed, but the non-DBusActivatable app will be killed.

If my theory is correct, then adding KillMode=process to the systemd service
file's [Service] group (similar to what gnome-terminal-server does) would avoid
this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to