Renaming a selected image in PhotoLab 4 breaks Local Adjustments

,

While working on a JPEG image in PhotoLab 4, I decided to rename the image. I right-clicked on the thumbnail in the image browser, chose the rename option, and changed the file name. Then I resumed work on the image. So far, so good. But then, when I clicked on Local Adjustments above the image viewer, the viewer went blank and showed the progress meter “Full preview in progress…” The image preview with local adjustment tools never appeared. I can return to the image by clicking on “Local Adjustments” again - but selecting it again still doesn’t work.

The log file shows that PhotoLab 4 is looking for the image under its old name:

In Block MainImage
In Block DxO::`anonymous-namespace’::LoadDXOImage [ path=C:\Users\gvozz\Pictures\Work\Phone photos\IMG_20190810_100904644.jpg format=-1 ] [ fmt=0 ]
Unknown image format
2020-10-29 19:01:54.199 | DxO.PhotoLab - 10640 - 358 | Image - Error | Cannot create agent.
2020-10-29 19:01:54.199 | DxO.PhotoLab - 10640 - 358 | Exception.Image - Error | DxONET.CorrectionEngine.Image.LoadImageException: Unknown image format
at DxONET.CorrectionEngine.Image.details.LoadImageGeneric<&class DxO::Image * __cdecl DxO::LoadFullImage(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,enum DxO::FileFormat,class DxO::Dictionary const &,class DxO::StatusTemplate *,class DxO::Progress )>(basic_string<char,std::char_traits,std::allocator > path, FileFormat format, LoadImageOptions options, Progress progress)
at DxONET.CorrectionEngine.Image.ImageIO.LoadFullImage(String path, FileFormat format, LoadImageOptions options, Progress progress)
at Dop.Preview.Caches.PreviewImagesCache.CachedImage.LoadImage()
at Dop.Preview.Caches.PreviewImagesCache.CachedImage.get_Image()
at Dop.Preview.PreviewAgent.Register(IInternalTarget target)
2020-10-29 19:01:54.199 | DxO.PhotoLab - 10640 - 358 | Exception.Preview - Error | DxONET.CorrectionEngine.Image.LoadImageException: Unknown image format
at Dop.Preview.PreviewAgent.Execute(IInternalTarget target, CancellationToken cancellationToken, Boolean process)
at Dop.Preview.PreviewAgent.RequestProcess(ITarget target, CancellationToken cancellationToken)
at Dop.Preview.Factories.PreviewAgentFactory.SharedPreviewAgent.RequestProcess(ITarget target, CancellationToken cancellationToken)
at Dop.Preview.Target.RequestProcess(CancellationToken cancellationToken)
at Dop.Preview.Scheduler.ProcessingToken.Execute(CancellationToken cancellationToken)
2020-10-29 19:01:54.199 | DxO.PhotoLab - 10640 - 358 | DxOFramework - Warn | DxO::GetFileFormat:: file C:\Users\gvozz\Pictures\Work\Phone photos\IMG_20190810_100904644.jpg does not exist - cannot get format
2020-10-29 19:01:54.199 | DxO.PhotoLab - 10640 - 358 | DxOFramework - Warn | DxO::GetFileFormat:: file C:\Users\gvozz\Pictures\Work\Phone photos\IMG_20190810_100904644.jpg does not exist - cannot get format
2020-10-29 19:01:54.199 | DxO.PhotoLab - 10640 - 358 | DxOFramework - Warn | DXOImage_GetFileFormat:: file C:\Users\gvozz\Pictures\Work\Phone photos\IMG_20190810_100904644.jpg does not exist - cannot get format
2020-10-29 19:01:54.199 | DxO.PhotoLab - 10640 - 358 | DxOFramework - Warn | DXOImage_GetFileFormat:: file C:\Users\gvozz\Pictures\Work\Phone photos\IMG_20190810_100904644.jpg does not exist - cannot get format
2020-10-29 19:01:54.199 | DxO.PhotoLab - 10640 - 358 | DxOFramework - Error | LoadImageError: In Block DxO::LoadFullImage::<lambda_cb6e3a5eb9c334f30d750a90534a80d5>::operator () [ path=C:\Users\gvozz\Pictures\Work\Phone photos\IMG_20190810_100904644.jpg ]

Selecting another image and then selecting the renamed image again allows me to get back to work.

1 Like

I tested it just now and got the same results, except that my viewer never went blank. It is obviously a bug. It also happens when renaming a raw file. I found that with Local Adjustments selected If I select a different image in the image browser and then go back to the file I renamed image Local Adjustments works as it should. I also found that if I change images in the image browser and go back to the renamed image before selecting Local Adjustments, the problem does not occur. It appears that the renaming process doesn’t complete all its tasks when the renamed file is still the current one.

I suspected the same problem might happen with the batch rename, and it does. Local Adjustments hang…

Mark.

1 Like

Hello guys,

Thank you for the report. I can reproduce it as well. We’ll fix it asap.

Regards,
Svetlana G.

1 Like

Hello guys,

The issue has been fixed and will be delivered with the next release.

Regards,
Svetlana G.