Beep6581 / RawTherapee

A powerful cross-platform raw photo processing program
https://rawtherapee.com
GNU General Public License v3.0
2.76k stars 313 forks source link

Unload opened image & preview in single tab mode #643

Open Beep6581 opened 9 years ago

Beep6581 commented 9 years ago

Originally reported on Google Code with ID 654

This is a request for new feature that may be useful for better management of memory
consumption. 

Multitab mode allows to close open image and free RAM that may be used for batch queue
processing. This option is not available when single tab editor is used. the new feature
request is to allow to close the image open in a single tab editor to free the system
resources.

Current workaround - restart RT and process images in the batch queue without opening
any images in the single tab editor.

Reported by michaelezra000 on 2011-04-24 15:39:14

Beep6581 commented 9 years ago
Good idea. How about not having an additional button but automatically close the pic
if you switch to thumb or batch tab?

Reported by oduis@hotmail.com on 2011-04-24 17:30:36

Beep6581 commented 9 years ago
I think such automatic closing of opened image may be unexpected. User may want to quickly
switch to a different tab just to look something up and come back, not intending to
close the open image.

Reported by michaelezra000 on 2011-04-24 20:45:53

Beep6581 commented 9 years ago
The idea was more to close the image, but keep the selection. So the image would be
reloaded if the users comes back to the edit tab. Reload takes a bit longer, but saves
RAM.

However from users point of view it would be not obvious that he has to close anything
at all to not have a crash. Also there would have to be blocks to not have him open
any image while the batch queue is processing. All not very elegant.

Reported by oduis@hotmail.com on 2011-04-25 16:58:50

Beep6581 commented 9 years ago
I imagined this is a manual step in the workflow, but I understand that you are trying
to make it transparent to the user. 

I have an idea - when Queue is about to start and at least one image is opened there
may be a prompt asking if user would like open images to be closed to conserve system
resources. If user selects to close, then all open images will be auto-closed before
starting the queue. This prompt should provide 3 options - 
1. Close open images, - close images and start queue
2. Don't close open images, - don't close images and start queue
3. Cancel - close the prompt, don't start the queue

Yet another option, probably a smoother one, could be a checkbox in the batch queue
Tab - "close open images before queue starts". It is upto a user then to keep opening
images when queue is running...

Reported by michaelezra000 on 2011-04-25 18:35:00

Beep6581 commented 9 years ago
Since we hopefully found a remedy using the linker/bootini switches... shall we puts
thi on hold for a couple days to see if it's still necessary?

Reported by oduis@hotmail.com on 2011-04-28 17:05:53