Files freezes on ftp connection when hovering images

Bug #1641911 reported by peter76
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Files
In Progress
Medium
Jeremy Wootten

Bug Description

I have succesfully connected to my ftp server in Files, but now and again it becomes unresponsive / frozen and I have to force quit it.
When I reopen Files, my ftp connection is still there and working.
Let me know if and how I can supply more info.

Regards, Peter

PS, Using Loki with all updates as of today

peter76 (pf-moll)
description: updated
Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

Thanks for the report. Can you say whether there is a particular operation or sequence of operations that causes this problem? Or when using a particular view (Icon, List, Column)?

When Files freezes could you check the running processes with gnome-system-monitor or otherwise and see whether the pantheon-files or pantheon-files-daemon process is maxing out one of the processor cores?

Running pantheon-files from the command line using the --debug flag may give some more information.

Changed in pantheon-files:
status: New → Incomplete
Revision history for this message
peter76 (pf-moll) wrote :

Ok,thanks for the hints, starting to nail it down.

I can get it to happen every time I hover over a jpg file in Files in either Icon or Column view, NOT in List view. Either with the "show remote thumbnails" option on or off.

This is only with an ftp connection, not with local jpg's.

I ran Files from the terminal with the debug flag and sometimes it gave some errors, sometimes not... See attached txt.

It doesn't consume any cpu power when frozen.

Let me know if you need some more info.

Regards, Peter

Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

Thanks Peter. From the additional information it looks like the problem is with the file information overlay (which only shows in icon and column views) having trouble getting image information over ftp and not handling the error properly.

Changed in pantheon-files:
status: Incomplete → Confirmed
importance: Undecided → Medium
summary: - Files freezes alot on ftp connection
+ Files freezes on ftp connection when hovering images
Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

After some investigation I find Files will hang when hovering over large jpeg images on a remote (slow) server - seems to be caused by gvfs hanging when closing the datastream. The same image on a local ftp server (on the local network) does not hang.

The simplest solution is to just stop the overlay from attempting to load image resolutions over FTP. The image resolution is (eventually) shown in the PropertiesWindow (after several seconds of "loading"). However, I'll see if I can find a better solution.

Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

I was unable to work around the gvfs-ftp bug so the linked branch stops thumbnailing and image resolution determination over simple ftp connections. Note the sftp connections are not affected.

Changed in pantheon-files:
status: Confirmed → In Progress
assignee: nobody → Jeremy Wootten (jeremywootten)
milestone: none → juno-beta1
Revision history for this message
peter76 (pf-moll) wrote :

Hi Jeremy

Sounds like a good enough solution to me.
Great it could be solved so quickly!

Regards, Peter

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.