Summary: | Crash when changing Lens selection in Lens distortion correction dialog | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Frank Steinmetzger <dev-kde> |
Component: | Plugin-Editor-LensCorrection | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caulier.gilles, metzpinguin |
Priority: | NOR | Keywords: | drkonqi |
Version: | 4.10.0 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 5.0.0 | |
Attachments: | Example image that makes the filter crash. First resized with digikam 4.10 and saved, then reopened to do the lens correction. |
Description
Frank Steinmetzger
2015-10-22 22:30:37 UTC
If i remember, it's fixed with more recent releases of digiKam as 4.13.0 or 4.14.0 Maik, can you confirm ? Gilles Caulier A part has already been resolved in digiKam 4.9.0, but another possible crash in the vignetting correction was only fixed in digiKam 4.11.0. Can you share a test image? Maik Created attachment 95126 [details]
Example image that makes the filter crash. First resized with digikam 4.10 and saved, then reopened to do the lens correction.
I was trying to reproduce again. I upgraded the laptop (same KDE setup as the PC that created the original crash report) to Digikam 4.14 and the crash is gone there. But I kept 4.10 on the PC in order to write this.
I can provoke a crash every time if I select a specific lens¹. Your hint with vignetting seems right: with a non-crashing lens, the progress bar goes up twice: the first time until about 40%, the second up to 100% and to completion. If I select an offending lens (I found a second by chance)², the first bar goes to around 40–50% again, but when the second bar should come, the crash happens. Interestingly, the crash only happens if the original metadata are there, probably for the filter to get initial date for the correction. It also does not happen when used on an image taken with another camera and lens.
Unfortunately, I can’t disable the vignetting option with another lens first. The checkbox is selected, but disabled. Speaking of UI quirks: I can’t use arrow keys or Enter when using the selection dropdowns for camera maker, model and lens. Any arrow key quits the lens correction dialog immediately, and pressing enter on an expanded dropdown starts the filter calculation immediately instead of just accepting the selection.
¹
Manufacturer: Olympus Imaging Corp.
Camera: E-M10
Lens: Olympus M.Zuiko Digital 17mm f/1.8
² The 17mm is the actual lens used to take the image, but the “Zuiko Digital 14-150mm f/4.0-5.6” is also afflicted by this bug, while other Zuikos are not.
Problem still reproducible using last digiKam 5.0.0-beta7 ? Gilles Caulier I upgraded the PC from 4.10 to 4.14 a few days after I wrote comment #3. I downloaded the above picture to it and tried a few lenses with/without vignetting correction. As with the laptop, I am unable to reproduce the problem by following my description. I'd say let it rest in peace. |