[Xfce-bugs] [Bug 13726] New: Followup of fix "8 second delay on logout"
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Thu Jul 20 22:50:43 CEST 2017
https://bugzilla.xfce.org/show_bug.cgi?id=13726
Bug ID: 13726
Summary: Followup of fix "8 second delay on logout"
Classification: Xfce Core
Product: Thunar
Version: unspecified
Hardware: PC (x86_64)
OS: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: General
Assignee: xfce-bugs at xfce.org
Reporter: acs82 at gmx.de
QA Contact: nick at xfce.org
CC: benny at xfce.org, hjudt at xfce.org
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
the reason.
- 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
logout
Here the links to the old github-bug and the pull-request
https://github.com/andreldm/thunar/issues/30
https://github.com/andreldm/thunar/pull/42
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list