[Bug 13726] New: Followup of fix "8 second delay on logout"

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13726] New: Followup of fix "8 second delay on logout"

bugzilla-daemon
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: [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
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.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 13726] Followup of fix "8 second delay on logout"

bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=13726

alexxcons <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Medium                      |Low

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