Bug: No prompt to save when PL exits after external editor

Here everybody can post his problems with PhotoLine
User avatar
photoken
Mitglied
Posts: 2162
Joined: Sat 28 Sep 2013 01:25

Bug: No prompt to save when PL exits after external editor

Post by photoken »

Win7 x64 SP1
PL 18.53 x64 (Also PL 18.90b6 x64)

Steps to reproduce:
  1. Define an external editor to use TIFF and "Reduce" layers.
  2. Open a JPG image.
  3. Add a Histogram adjustment layer, and make an adjustment.
  4. The Histogram adjustment layer is now the active layer.
  5. Call the external editor.
  6. Modify the image in the external editor, save the image, and close the external editor.
  7. The PL image is updated and now is a single image layer.
  8. Use File...Exit to close PL.
Resulting behavior:
PL immediately exits, and all changes to the image are lost.

Expected behavior:
PL should display a prompt asking if the image should be saved.

This problem was first reported by another user on a Mac computer:
http://www.pl32.com/forum3/viewtopic.ph ... 591#p32582
Ken
Yes, I think it can be eeeeeasily done....
Just take everything out on Highway 61.
MikeFromMesa
Mitglied
Posts: 254
Joined: Sat 22 Nov 2014 16:07

Re: Bug: No prompt to save when PL exits after external edi

Post by MikeFromMesa »

photoken wrote:Win7 x64 SP1
PL 18.53 x64 (Also PL 18.90b6 x64)

Steps to reproduce:
  1. Define an external editor to use TIFF and "Reduce" layers.
  2. Open a JPG image.
  3. Add a Histogram adjustment layer, and make an adjustment.
  4. The Histogram adjustment layer is now the active layer.
  5. Call the external editor.
  6. Modify the image in the external editor, save the image, and close the external editor.
  7. The PL image is updated and now is a single image layer.
  8. Use File...Exit to close PL.
Resulting behavior:
PL immediately exits, and all changes to the image are lost.

Expected behavior:
PL should display a prompt asking if the image should be saved.


This problem was first reported by another user on a Mac computer:
http://www.pl32.com/forum3/viewtopic.ph ... 591#p32582
I thought you could not reproduce this problem. What changed?

On my system there is a great deal of latitude as to what actions you need to take to cause this problem. Load any image, make any modification (Tools, layers, or otherwise that causes a change), call any external editor and save the image forcing PL to reload, and then exit. Boom. Poof. Gone. No message.

Thanks for posting the bug. I did not know where to post it.
User avatar
photoken
Mitglied
Posts: 2162
Joined: Sat 28 Sep 2013 01:25

Re: Bug: No prompt to save when PL exits after external edi

Post by photoken »

MikeFromMesa wrote:I thought you could not reproduce this problem. What changed?
Steps 1, 3 & 4. (I normally set external programs to "Ask", and only edit the active layer.)
Ken
Yes, I think it can be eeeeeasily done....
Just take everything out on Highway 61.
MikeFromMesa
Mitglied
Posts: 254
Joined: Sat 22 Nov 2014 16:07

Re: Bug: No prompt to save when PL exits after external edi

Post by MikeFromMesa »

photoken wrote: Steps 1, 3 & 4. (I normally set external programs to "Ask", and only edit the active layer.)
Ah, yes.

I changed my settings from Reduce to Ask and tried this with a couple of different settings. What I found was interesting.

As I mentioned I have an action to automatically reduce a raw file to a single merged layer. If I then made a Tools adjustment (so I did not create a new layer) and then called Glow the results varied. If I told PL to Edit Active Layer I did not have the same problem with Quit. If I told it to Edit Document I did have the problem. So it clearly depends upon the settings for the external edit call.

Thanks for finding that. It should clarify things for the developers.