! 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 !
g_file_query_filesystem_info() delays startup
Status:
RESOLVED: WONTFIX

Comments

Description XroadracerX 2013-10-08 12:54:34 CEST
Created attachment 5176 
Convert thunar_file_get_preview_type() into a dummy

Hi,
I found a bug similar to this: https://bugzilla.xfce.org/show_bug.cgi?id=7373
The g_file_query_filesystem_info() call in thunar-file.c at line 3441 seems to delay Thunar's startup for half a minute by quering information about GVFS "trash://". I just removed the hole function call and made the thunar_file_get_preview_type() method a dummy. Now, Thunar is awesome fast on my system and I couldn't find any abnormal behavior.
What ever that function does, it can't be that important, but it causes much trouble on my system. See my patch here: https://build.opensuse.org/package/show/home:XroadracerX/thunar
What do you think?
Comment 1 Steve Dodier-Lazaro editbugs 2015-02-21 15:00:20 CET
Removing code without knowing what it does is not an acceptable form of contribution. :-)

Your problem is that thunar_file_get_preview_type hangs for you for a specific URL. Let's figure out why and find if your system or Thunar needs to be changed in a certain way for the problem to go away, instead.

Could you start by attaching the output of the "df -h" command, and telling us what OS and Thunar version you're running?
Comment 2 alexxcons editbugs 2018-01-23 15:00:57 CET
The link to the patch does not work any more.

No response for 5 years lets me think that either the problem disappeared, or XroadracerX  is not further interested in fixing it.

Feel free to reopen if I am wrong!
Comment 3 alexxcons editbugs 2018-01-23 15:02:16 CET
args ..ok, the patch is as well attached :F

Bug #10397

Reported by:
XroadracerX
Reported on: 2013-10-08
Last modified on: 2018-01-23

People

Assignee:
Jannis Pohlmann
CC List:
4 users

Version

Attachments

Additional information