Created attachment 163549 [details] Debug Log SUMMARY *** After editing an image the preview of the image disappears *** STEPS TO REPRODUCE 1. View Preview 2. Select Image 3. Image Editor 3.1. Modify Image 3.2 . Save Changes OBSERVED RESULT The preview of the image disappears EXPECTED RESULT The preview show updated content of image SOFTWARE/OS VERSIONS Windows: Windows 10 Version 2009 (x86_64) ADDITIONAL INFORMATION The preview shows the expected content after restarting the app.
Created attachment 163550 [details] Report of locked file
I am aware of the problem with PGF files under Windows. But I think it is a problem within libpgf that a file handler is not closed. But I'll test it again in a few days. Although we use PGF files as thumbnails, an image file is rarely used. Maik
Git commit 250d69eaa5ccfaf353dad98f68748d36976387f2 by Maik Qualmann. Committed on 28/11/2023 at 12:32. Pushed by mqualmann into branch 'master'. adjust share flags for creating PGF images M +2 -1 core/dplugins/dimg/pgf/dimgpgfloader_save.cpp https://invent.kde.org/graphics/digikam/-/commit/250d69eaa5ccfaf353dad98f68748d36976387f2
Git commit 3f7879a62c2a9e6e1ad99abd4af8d6930a88e9e1 by Maik Qualmann. Committed on 28/11/2023 at 22:03. Pushed by mqualmann into branch 'master'. add function for closing the PGF file handle M +15 -0 core/dplugins/dimg/pgf/dimgpgfloader.cpp M +2 -0 core/dplugins/dimg/pgf/dimgpgfloader.h M +14 -30 core/dplugins/dimg/pgf/dimgpgfloader_load.cpp M +3 -19 core/dplugins/dimg/pgf/dimgpgfloader_save.cpp https://invent.kde.org/graphics/digikam/-/commit/3f7879a62c2a9e6e1ad99abd4af8d6930a88e9e1
Git commit 917e8004f39633ddf3b196b6e7f334698c68ce6f by Maik Qualmann. Committed on 28/11/2023 at 22:19. Pushed by mqualmann into branch 'master'. fix missing file close in the loadPGFScaled() function FIXED-IN: 8.2.0 M +25 -0 core/libs/pgfutils/pgfutils.cpp M +0 -1 core/libs/pgfutils/pgfutils.h https://invent.kde.org/graphics/digikam/-/commit/917e8004f39633ddf3b196b6e7f334698c68ce6f
Git commit fcb0199dbe895940ff3f219ac3e7484736939769 by Maik Qualmann. Committed on 28/11/2023 at 22:35. Pushed by mqualmann into branch 'master'. add special case, do not write to PGF with Exiv2, this would destroy the file. M +7 -0 core/libs/metadataengine/engine/metaengine_p.cpp https://invent.kde.org/graphics/digikam/-/commit/fcb0199dbe895940ff3f219ac3e7484736939769