Bug ID: 13726
Summary: Followup of fix "8 second delay on logout"
Classification: Xfce Core
Hardware: PC (x86_64)
Assignee: [hidden email] Reporter: [hidden email] QA Contact: [hidden email] CC: [hidden email], [hidden email] Target Milestone: 1.8.0
After porting thunar to gtk3, when in daemon mode (thunar --daemon) a delay of
8 sec. on logout can be observed.
The delay seems to comes from the usage of g_application_hold().
If g_application_release() is executed before logout, the delay disappears.
Possibly this is a bug in gtk3 .. however till now I was not able to reproduce
it on a simple application.
For now the bug got fixed by using "g_unix_signal_add" in order to trigger on
SIGHUP. The handler than calls g_application_release() .
However that's not a very clean solution, since it works for unix-only (
actually it would be nice to not handle any system-signals at all )
The following investigations could be done:
- slowly minimize thunar and check on each step if the bug disappears, in order
to create a minimal setup on which the bug occurs .. so we could clearly name
- check if we could possibly subscribe to a dbus-signal instead of a
system-signal (see discussion on github ) in order to trigger a handler on