simple-tab-groups icon indicating copy to clipboard operation
simple-tab-groups copied to clipboard

Set backup path separate from download folder

Open jelias opened this issue 2 years ago • 12 comments

Is your feature request related to a problem? Please describe. I'm always frustrated when my backups create dozens of folders on my desktop. Specifically, I have my download path to ask every time, it is not set to a specific location, but for some reason this app then defaults to Desktop.

Describe the solution you'd like A simple input field to add my own system file path for where the backup directory should live

Describe alternatives you've considered An alternative would be a few preset options, or just the backup dir somewhere with all the firefox files / extentions? (rather than cluttering up my downloads or desktop)

Additional context Thank you!!

jelias avatar Sep 22 '22 17:09 jelias

I was going to open an issue for this too. Just defaulting the folder to downloads/simple-tab-group instead of downloads would be ok

LivingWithHippos avatar Oct 13 '22 08:10 LivingWithHippos

I'd like to add emphasis to this issue as well, it would be nice to choose a custom directory for the backups

konatizer avatar Oct 13 '22 17:10 konatizer

"A simple input field to add my own system file path for where the backup directory should live"

Still wont happen cause the download folder will always be the download folder you choose in Firefox settings and Mozilla doesn't let extensions create own paths outside of that. It's a policy. https://github.com/Drive4ik/simple-tab-groups/issues/906

vitusson avatar Oct 13 '22 18:10 vitusson

Can you share a link to the policy?

jelias avatar Oct 13 '22 23:10 jelias

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/downloads/download look under "filename"

Drive4ik, The author of this extension says it every time the topic is raised. https://github.com/Drive4ik/simple-tab-groups/issues/676 https://github.com/Drive4ik/simple-tab-groups/issues/878 And here he tagged it as "Wontfix" https://github.com/Drive4ik/simple-tab-groups/issues/778

vitusson avatar Oct 14 '22 15:10 vitusson

That link is for the downloads.download() API specifically. A backup is inherently not a download.

What is the intention of backing up as downloads? Simpler implementation? Backups as files outside of Firefox profiles?

Note: webextensions do not have a file API

As an alternative, if the goal is to back up previous configurations, the storage API may be viable. Using it would mean existing and other Firefox profile backups will actually back them up too, instead of being oblivious to them and missing them.

I think the auto backups as they are should not be enabled by default. It dirties the downloads folder for unclear benefit and intention. Maybe it's useful for some use cases, but as an end-user of the addon I don't see them.

Kissaki avatar Dec 02 '22 17:12 Kissaki

Unless you folks are able to provide a patch that somehow dodges the limitation of the webextensions API, in my view that's still a duplicate of #778 and should be closed as such.

nekohayo avatar Feb 09 '23 04:02 nekohayo

As mentioned in #issuecomment-1277225451 above, is there a reason they can not be put into a subfolder in downloads? Then it would just make a single folder in downloads, and all the others would be in there. Would also be more organized.

Sqrlly avatar Jul 22 '23 02:07 Sqrlly

As mentioned in #issuecomment-1277225451 above, is there a reason they can not be put into a subfolder in downloads? Then it would just make a single folder in downloads, and all the others would be in there. Would also be more organized.

That's already doable, will edit later because I can't remember how

LivingWithHippos avatar Jul 22 '23 08:07 LivingWithHippos

The settings allow to give a subfolder name Screenshot_22-07-23--15_01_51

vitusson avatar Jul 22 '23 13:07 vitusson

Maybe somebody had already had this idea, I have tried to set the folder to the outside of the downloads directory by specifying something like ../.STG-backups, but it fails.

jpmvferreira avatar Aug 26 '23 15:08 jpmvferreira

This still works to get out of the Downloads folder (tested just now on latest Win11): issuecomment-706592426

PTR-inc avatar Mar 05 '24 10:03 PTR-inc