[Xfce-bugs] [Bug 14277] Killing thunar as well kills all processes started via .desktop files

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Mar 15 21:06:27 CET 2018


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

--- Comment #2 from alexxcons <acs82 at gmx.de> ---
Thanks alot for that theory !

I tried with devhelp and gedit, both get killed on thunar kill, as any other
application started from desktop. ( I just double-click on a simple default
starter )
This did not begin very promising, however for the sake of completeness I took
a try for KillMode=process.
And indeed, now desktop applications are not killed any more \o/ *yay*

That's not exactly following your reasoning, but nevertheless a pleasant
surprise ;)

You think we should just commit KillMode=process as a fix .... or somehow
change the way thunar starts it's child processes ?

As far as I can tell, thunar uses xfce_spawn_on_screen which itself uses
g_spawn_async to launch child processes. I did not see anything related to
DBusActivatable so far:
https://git.xfce.org/xfce/thunar/tree/thunar/thunar-file.c#n1569
(thunar_file_execute)
https://git.xfce.org/xfce/libxfce4ui/tree/libxfce4ui/xfce-spawn.c#n319
(xfce_spawn_on_screen_with_child_watch)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list