GNOME Bugzilla – Bug 600139
Epiphany doesn't warn about permissions problems with download folder
Last modified: 2018-08-03 19:26:00 UTC
Simple launch preferences and set download folder to, for example "/" or any directory where you are unable to write due insufficent permissions. Then, try to download something like: http://download.opensuse.org/factory/repo/src-oss/suse/src/CASA_auth_token_server-1.7.1587-2.7.src.rpm You will see that nautilus window is opened but, of course, file is missing From my point of view, user should be warned about insufficent permissions problems Thanks
change the directory from Edit > Preferences > Download Folder if you problem is or not resolved please coment, thank
Obviously it works if I select a folder with enough permissions, but the bug is about epiphany should warn about permissions not being proper instead of silently fail to download
Confirming, an error message should be shown instead.
*** Bug 625254 has been marked as a duplicate of this bug. ***
Created attachment 192840 [details] [review] e-download: catch and show destination errors Handle WEBKIT_DOWNLOAD_ERROR_DESTINATION errors with a nice GtkInfoBar suggesting the user to check the folder permissions. We could also handle network disconnection and other errors, but those should be much more obvious. Permission problems are currently not reported and, worse, appear as succesful downloads. Bug #600139
Review of attachment 192840 [details] [review]: Makes sense to me in general, assuming it still applies! ::: embed/ephy-download.c @@ +945,3 @@ + G_CALLBACK (gtk_widget_destroy), NULL); + + label = gtk_label_new ("Couldn't start the download, verify that you can create files in the downloads folder"); Not marked for translation?
Created attachment 220157 [details] [review] e-download: catch and show destination errors Handle WEBKIT_DOWNLOAD_ERROR_DESTINATION errors with a nice GtkInfoBar suggesting the user to check the folder permissions. We could also handle network disconnection and other errors, but those should be much more obvious. Permission problems are currently not reported and, worse, appear as succesful downloads.
Created attachment 220159 [details] [review] e-download: catch and show destination errors Handle WEBKIT_DOWNLOAD_ERROR_DESTINATION errors with a nice GtkInfoBar suggesting the user to check the folder permissions. We could also handle network disconnection and other errors, but those should be much more obvious. Permission problems are currently not reported and, worse, appear as succesful downloads. === Updated to use GtkOrientable API and destroy the GtkInfoBar in both responses.
Review of attachment 220159 [details] [review]: We need to update this for WebKit2.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/epiphany/issues/135.