SUMMARY If we press 'esc' to close spectacle, a notification pops up complaining that Spectacle has crashed. STEPS TO REPRODUCE 1. Open spectacle 2. Press 'esc' OBSERVED RESULTS Spectacle exits, but you get a notification complaining that it crashed. EXPECTED RESULTS Spectacle should exit without crashing SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.21.90 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.2 (version reported by package manager is: 5.15.2+kde+r196-1) Kernel Version: 5.12.6-arch1-1 (64-bit) Graphics Platform: X11 Processors: 8 × AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx Memory: 21.5 GiB of RAM Graphics Processor: AMD Radeon™ Vega 8 Graphics ADDITIONAL INFORMATION Backtrace follows: Application: Spectacle (spectacle), signal: Segmentation fault [KCrash Handler] #4 0x00007f419d85f57c in kImageAnnotator::FontPicker::~FontPicker (this=0x557faaccf410, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/widgets/settingsPicker/FontPicker.cpp:40 #5 0x00007f419d85f79d in kImageAnnotator::FontPicker::~FontPicker (this=0x557faaccf410, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/widgets/settingsPicker/FontPicker.cpp:46 #6 0x00007f419d81e4a9 in kImageAnnotator::AnnotationItemSettings::~AnnotationItemSettings (this=0x557faaa45800, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/annotator/settings/AnnotationItemSettings.cpp:49 #7 0x00007f419d81e5dd in kImageAnnotator::AnnotationItemSettings::~AnnotationItemSettings (this=0x557faaa45800, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/annotator/settings/AnnotationItemSettings.cpp:52 #8 0x00007f419d819f02 in kImageAnnotator::AnnotationWidget::~AnnotationWidget (this=0x557faab1f250, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/annotator/AnnotationWidget.cpp:40 #9 0x00007f419d819fad in kImageAnnotator::AnnotationWidget::~AnnotationWidget (this=0x557faab1f250, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/annotator/AnnotationWidget.cpp:44 #10 0x00007f419d81985f in kImageAnnotator::CoreView::~CoreView (this=this@entry=0x557faab11e70, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/CoreView.cpp:51 #11 0x00007f419d818a5b in kImageAnnotator::KImageAnnotatorPrivate::~KImageAnnotatorPrivate (this=0x557faab11de0, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/KImageAnnotator.cpp:53 #12 QScopedPointerDeleter<kImageAnnotator::KImageAnnotatorPrivate>::cleanup (pointer=0x557faab11de0) at /usr/include/qt/QtCore/qscopedpointer.h:60 #13 QScopedPointerDeleter<kImageAnnotator::KImageAnnotatorPrivate>::cleanup (pointer=0x557faab11de0) at /usr/include/qt/QtCore/qscopedpointer.h:52 #14 QScopedPointer<kImageAnnotator::KImageAnnotatorPrivate, QScopedPointerDeleter<kImageAnnotator::KImageAnnotatorPrivate> >::~QScopedPointer (this=0x557faab1a540, __in_chrg=<optimized out>) at /usr/include/qt/QtCore/qscopedpointer.h:107 #15 kImageAnnotator::KImageAnnotator::~KImageAnnotator (this=0x557faab1a510, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/KImageAnnotator.cpp:71 #16 0x00007f419d818a8e in kImageAnnotator::KImageAnnotator::~KImageAnnotator (this=0x557faab1a510, __in_chrg=<optimized out>) at /usr/src/debug/kImageAnnotator-0.5.0/src/gui/KImageAnnotator.cpp:71 #17 0x00007f419bcdd59e in QObjectPrivate::deleteChildren (this=this@entry=0x557faaa5f5e0) at kernel/qobject.cpp:2104 #18 0x00007f419c7df47e in QWidget::~QWidget (this=this@entry=0x557faaa52fc0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522 #19 0x0000557fa8fa4402 in KSWidget::~KSWidget (this=0x557faaa52fc0, __in_chrg=<optimized out>) at /usr/src/debug/build/src/spectacle_autogen/EHIEGSSRCT/../../../../spectacle-21.04.1/src/Gui/KSWidget.h:42 #20 KSWidget::~KSWidget (this=0x557faaa52fc0, __in_chrg=<optimized out>) at /usr/src/debug/build/src/spectacle_autogen/EHIEGSSRCT/../../../../spectacle-21.04.1/src/Gui/KSWidget.h:42 #21 0x00007f419bcdd59e in QObjectPrivate::deleteChildren (this=this@entry=0x557faab16500) at kernel/qobject.cpp:2104 #22 0x00007f419c7df47e in QWidget::~QWidget (this=this@entry=0x557faaa531a0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522 #23 0x00007f419c9b8e60 in QDialog::~QDialog (this=this@entry=0x557faaa531a0, __in_chrg=<optimized out>) at dialogs/qdialog.cpp:426 #24 0x0000557fa8fa56f1 in KSMainWindow::~KSMainWindow (this=0x557faaa531a0, __in_chrg=<optimized out>) at /usr/src/debug/build/src/spectacle_autogen/EHIEGSSRCT/../../../../spectacle-21.04.1/src/Gui/KSMainWindow.h:34 #25 KSMainWindow::~KSMainWindow (this=0x557faaa531a0, __in_chrg=<optimized out>) at /usr/src/debug/build/src/spectacle_autogen/EHIEGSSRCT/../../../../spectacle-21.04.1/src/Gui/KSMainWindow.h:34 #26 std::default_delete<KSMainWindow>::operator() (__ptr=0x557faaa531a0, this=<optimized out>) at /usr/include/c++/11.1.0/bits/unique_ptr.h:85 #27 std::unique_ptr<KSMainWindow, std::default_delete<KSMainWindow> >::~unique_ptr (this=0x7ffe90b5dcd0, __in_chrg=<optimized out>) at /usr/include/c++/11.1.0/bits/unique_ptr.h:361 #28 SpectacleCore::~SpectacleCore (this=0x7ffe90b5dca0, __in_chrg=<optimized out>) at /usr/src/debug/build/src/spectacle_autogen/EWIEGA46WW/../../../../spectacle-21.04.1/src/SpectacleCore.h:40 #29 0x0000557fa8fa050d in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/spectacle-21.04.1/src/Main.cpp:95 [Inferior 1 (process 376586) detached]
*** This bug has been marked as a duplicate of bug 437674 ***