https://bugs.kde.org/show_bug.cgi?id=483266
Bug ID: 483266
Summary: Segfault after deleting an image if the annotation
dialog was previously accepted
Classification: Applications
Product: kphotoalbum
Version: GIT master
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Annotation Dialog
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
STEPS TO REPRODUCE
1. Load the demo database.
2. Click Events, then click fun.
3. Select both images and open the annotation dialog with CTRL-2.
4. Unselect the "fun" event and click Done.
5. Now delete one or more images to trigger the segfault (eg. click Home,
People, and select and delete an image).
OBSERVED RESULT
KPhotoAlbum segfaults.
EXPECTED RESULT
KPhotoAlbum shouldn't segfault.
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version:
KDE Frameworks Version: Version 5.104.0
Qt Version: Version 5.15.3 (built against 5.15.3)
ADDITIONAL INFORMATION
AnnotationDialog::Dialog::slotDiscardFiles() is calling
AnnotationDialog::ImagePreviewWidget::reconfigure() even though the annotation
dialog is closed. AnnotationDialog::Dialog() is not clearing m_origList when
it is accepted.
--
You are receiving this mail because:
You are watching all bug changes.