! 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 !
Followup of fix "8 second delay on logout"
Status:
RESOLVED: FIXED

Comments

Description alexxcons editbugs 2017-07-20 22:50:43 CEST
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
Comment 1 Git Bot editbugs 2017-08-25 08:31:02 CEST
Alexander Schwinn referenced this bugreport in commit 7db6bf8f42a435afab9dd55f84c5304e74a88377

Followup of fix "8 second delay on logout" (Bug #13726)

https://git.xfce.org/xfce/thunar/commit?id=7db6bf8f42a435afab9dd55f84c5304e74a88377
Comment 2 alexxcons editbugs 2017-08-25 08:39:17 CEST
Fixed now. Will be released in thunar-1.7.0
Comment 3 alexxcons editbugs 2017-08-25 08:39:57 CEST
You have to specify a comment when changing the Resolution of a bug from (empty) to FIXED.

Bug #13726

Reported by:
alexxcons
Reported on: 2017-07-20
Last modified on: 2017-08-25

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information