Project

General

Profile

Actions

Feature #680

closed

Consider replacing the prebuild file names with the FQDN of the URL.

Added by Soren Stoutner over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Next Release
Start date:
03/26/2021
Due date:
% Done:

0%

Estimated time:

Description

For example, when saving an image, instead of using `Webpage.png` it would default to something like `www.stoutner.com.png`.

When download an unknown file instead of defaulting to `File` it would use the FQDN (`www.stoutner.com.html` instead of `File.html`).

I generally like this idea, but I am a little concerned the the FQDNs might be a little long/clunky.

Actions #1

Updated by Soren Stoutner over 3 years ago

  • Subject changed from Consider replacing the prebuild file names with the FQDN of the URL. to Consider replacing the prebuild file names with the FQDN of the URL in snackbars.
Actions #2

Updated by Soren Stoutner over 3 years ago

  • Subject changed from Consider replacing the prebuild file names with the FQDN of the URL in snackbars. to Consider replacing the prebuild file names with the FQDN of the URL.
Actions #3

Updated by Soren Stoutner over 3 years ago

This would be for saving images, saving archives, and saving unknown files.

Actions #4

Updated by Soren Stoutner over 3 years ago

This should probably also extend to the snackbars displayed when saving these files.

Actions #5

Updated by Soren Stoutner over 3 years ago

  • Status changed from New to Closed

Implemented in commit https://gitweb.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=641d15ace34579762580ed8297f324133354499b.

The FQDN is used for the suggested file names when saving a webpage archive or image, but not for the snackbars as it isn't possible to tell if the user changed the file name in the system file picker.

`File` was not altered because it is used in too many different scenarios, from saving the HTML from a website to saving a file from a convoluted URL that does not list the name.

Actions #6

Updated by Soren Stoutner over 3 years ago

It looks like it is possible to extract the final file name from a content:// URI. See https://redmine.stoutner.com/issues/695.

Actions

Also available in: Atom PDF