Gimp-Forum.net
Feature request - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Feature request (/Thread-Feature-request--5497)



Feature request - lossygimp - 04-06-2021

From my limited experience so far, gimp overwrites the on disk file as soon as it begins the export process, resulting in an empty file for the length of the export. I would prefer it to only delete the on disk file once the export process has completed. If there already exists a way to change this behavior I would welcome the information.


RE: Feature request - Beachscriber - 04-07-2021

CorelDraw used to do that too and it often resulted in broken files.


RE: Feature request - rich2005 - 04-07-2021

No Gimp developers on this forum. The place for feature requests is https://gitlab.gnome.org/GNOME/gimp/-/issues

No setting that I know of. An automatic backup at timed intervals has been requested and might be in Gimp 3 (sometime)

There is a plugin that will make incremental backups in case of accidents. I know - not what you are requesting Wink


RE: Feature request - Beachscriber - 04-07-2021

This plugin that does backups at 10 min intervals has been working for me:
https://gist.github.com/rbrito/e57c87d5376fd56113df058abf71bdf3#file-gimp-autosave-py
Just stick the gimp-autosave.py file in this folder:
C:\Users\(your user folder)\AppData\Roaming\GIMP\2.10\plug-ins
It saves the backups to the Temp file.


RE: Feature request - lossygimp - 04-08-2021

(04-07-2021, 09:03 PM)Beachscriber Wrote: This plugin that does backups at 10 min intervals has been working for me:
https://gist.github.com/rbrito/e57c87d5376fd56113df058abf71bdf3#file-gimp-autosave-py
Just stick the gimp-autosave.py file in this folder:
C:\Users\(your user folder)\AppData\Roaming\GIMP\2.10\plug-ins
It saves the backups to the Temp file.

Thanks for the link, sounds like just the thing I needed.


RE: Feature request - rybrns - 01-10-2023

(04-07-2021, 09:03 PM)Beachscriber Wrote: This plugin that does backups at 10 min intervals has been working for me:
https://gist.github.com/rbrito/e57c87d5376fd56113df058abf71bdf3#file-gimp-autosave-py
Just stick the gimp-autosave.py file in this folder:
C:\Users\(your user folder)\AppData\Roaming\GIMP\2.10\plug-ins
It saves the backups to the Temp file.

This doesn't work in 2.10.32. There are two plugin folders, one in c:\program files\GIMP 2\lib\gimp\2.0\plug-ins and the other in the %user id% one. Both of those folders were set in edit>preferences>folders>plug-ins. I made the autosave file executable. I tried the .py file in both. I even deleted the pluginrc file to let Gimp regenerate it. Nothing.

Any suggestions about how to get it to work?


RE: Feature request - rich2005 - 01-10-2023

Quote:This doesn't work in 2.10.32.

yes, it does work

Quote:There are two plugin folders, one in c:\program files\GIMP 2\lib\gimp\2.0\plug-ins and the other in the %user id% one. Both of those folders were set in edit>preferences>folders>plug-ins.

Never a good idea to keep duplicate plugins although the plugin in the User plugins folder will supercede the Gimp system plugin

Quote:I made the autosave file executable. I tried the .py file in both. I even deleted the pluginrc file to let Gimp regenerate it. Nothing.

Since you are using Windows, it is not necessary to make a plugin 'executable' Anything file.exe (+ any associated .dll files) or file.py goes in the plugins folder, usually  C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\plug-ins

Quote:Any suggestions about how to get it to work?

First of all check the plugin script. If you have the line numbers down the left side you need the RAW version.
https://gist.github.com/rbrito/e57c87d5376fd56113df058abf71bdf3/raw/1fec4efb7e3267ddca38b9a220669894b2d87de4/gimp-autosave.py

It is as described, a bit of a hack. If you want to change the save interval you need to edit the script.

The plugin starts from bottom of the File menu File -> Activate Autosave and in Windows there is no message that it has started. Also no way that I can see to stop it.

Where does it put the saved file(s): 
For Windows C:\Users\"yourname"\AppData\Local\Temp  
For linux usr/tmp

This plugin does not make separate incremental saves, Any open image is saved and will overwrite the previous save, but that might be enough to restore your lost work.

Really it is up to the user to save their work as they go along

However, a 3 minute demo of the plugin in action Win 10 / Gimp 2.10.32 https://youtu.be/CE0-gay3dcw






RE: Feature request - rybrns - 01-10-2023

(01-10-2023, 11:49 AM)rich2005 Wrote:
Quote:This doesn't work in 2.10.32.
Quote:yes, it does work

Still doesn't.

Quote:There are two plugin folders, one in c:\program files\GIMP 2\lib\gimp\2.0\plug-ins and the other in the %user id% one. Both of those folders were set in edit>preferences>folders>plug-ins.

Quote:Never a good idea to keep duplicate plugins although the plugin in the User plugins folder will supercede the Gimp system plugin


I currently have it only in the user plug-in folder. Doesn't work.

Quote:I made the autosave file executable. I tried the .py file in both. I even deleted the pluginrc file to let Gimp regenerate it. Nothing.

Quote:Since you are using Windows, it is not necessary to make a plugin 'executable' Anything file.exe (+ any associated .dll files) or file.py goes in the plugins folder, usually  C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\plug-ins

The is where it is.

Quote:Any suggestions about how to get it to work?

Quote:First of all check the plugin script. If you have the line numbers down the left side you need the RAW version.
https://gist.github.com/rbrito/e57c87d5376fd56113df058abf71bdf3/raw/1fec4efb7e3267ddca38b9a220669894b2d87de4/gimp-autosave.py

I am using the "raw" version.


Quote:It is as described, a bit of a hack. If you want to change the save interval you need to edit the script.

The plugin starts from bottom of the File menu File -> Activate Autosave and in Windows there is no message that it has started. Also no way that I can see to stop it.

There is nothing at the bottom of the File menu list. I looked at the video and everything on my system looks the same. It still doesn't work.

Any suggestions?



RE: Feature request - rich2005 - 01-10-2023

Can't help you, only you know what you are going wrong. 

That is a python plugin, do you have other python plugins that work ?  There is a stock python plugin that comes with Gimp.  Filters -> Decor -> Fog Does that work ? Remember you do need an open image for plugins to work.


RE: Feature request - rybrns - 01-10-2023

(01-10-2023, 06:36 PM)rich2005 Wrote: Can't help you, only you know what you are going wrong. 

That is a python plugin, do you have other python plugins that work ?  There is a stock python plugin that comes with Gimp.  Filters -> Decor -> Fog Does that work ? Remember you do need an open image for plugins to work.

Your python comment made me think a bit. When I first installed Gimp, I noticed that there was a Python choice for plug-ins but never gave that option a second thought. I went back and reinstalled Gimp (saving my customizations files) and saw that the Python choice was not checked. I ticked it and continued.

Now the plug-in works. Thanks for jogging my memory.