[Xfce-bugs] [Bug 15008] New: Still 8sec delay on logout when there is an open thunar window

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Jan 1 22:49:49 CET 2019


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

            Bug ID: 15008
           Summary: Still 8sec delay on logout when there is an open
                    thunar window
    Classification: Xfce Core
           Product: Thunar
           Version: git
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: alexxcons at xfce.org
                CC: benny at xfce.org, hjudt at xfce.org
  Target Milestone: 1.8.3

Last time  I tried to fix the "delay on logout" I did an incomplete job. ( See
Bug #13726 )

Currently there is no delay if only the daemon is running, but there still is a
8sec. delay on logout if any thunar window remains open.

Calling "g_application_quit ()" instead of "gtk_main_quit ()" in
"thunar_application_quit" fixes the issue, however this will ignore any
"g_application_hold" which possibly got set by
"thunar_application_process_files". So not a very nice fix, since it possibly
could interrupt an ongoing file operation, causing data loss.

As well calling g_application_release() before "gtk_main_quit ()" fixes the
issue .. howerver this is very strange, since g_application_hold() was not
called before by thunar.
--> possibly g_application_hold called by gtk3 itself for some reason ?
--> Gtk3 DOc says:  For example, g_application_hold() is called by GTK+ when a
toplevel window is on the screen.

I'll further investigate the issue, and see if there is a better fix than
"g_application_quit()"

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


More information about the Xfce-bugs mailing list