PixInsight Forum (historical)

PixInsight => Bug Reports => Topic started by: Nocturnal on 2008 December 11 20:42:46

Title: After undo the deleted previews are back
Post by: Nocturnal on 2008 December 11 20:42:46
Hi,

try the following:

- load image
- add a preview (I had 4)
- do some kind of process (I used DSE)
- delete all previews with menu item
- undo process
- previews are back

As an aside, the reason I deleted the previews is because I wanted to 'blink' the effect of DSE and the preview boxes were distracting. As you recall I requested an option to hide the preview windows without deleting them. Is that still on the list?
Title: After undo the deleted previews are back
Post by: Juan Conejero on 2008 December 12 08:06:56
Hi Sander,

This is the expected behavior. Previews are stored as part of each history state for all image windows.

Quote
As you recall I requested an option to hide the preview windows without deleting them. Is that still on the list?


Of course. I am about to release 1.4.1. Let's see if I can add an option to ImageWindow - I don't promise anything though, since this involves a complete recompilation of the core application (on all platforms), and a new bug-fix version is urgent now.

Anyway, if not in 1.4.1, you'll see it on 1.4.x for sure.
Title: After undo the deleted previews are back
Post by: Nocturnal on 2008 December 12 10:19:25
Haha, maybe expected to you, the developer, but not me the user :)

The undo command applies to the process that's been performed on the image, at least that's what the menu item says and that's what I'd expect. To have a single undo perform more than 1 undo is not intuitive at all. It's nice to have undo capability for preview modifications but they should be considered separate operations that you can undo by themselves. They should not be 'bundled' with process undos, IMO.