Summary: | Okular crashes when closing it. | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Tony <jodr666> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aacid, eugene.shalygin+bugzilla.kde, fabirosmash |
Priority: | NOR | Keywords: | drkonqi |
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/kwidgetsaddons/commit/2c4e4bdab18e1d590403c96c82efe6ca30b55638 | Version Fixed In: | |
Sentry Crash Report: |
Description
Tony
2021-05-09 03:18:48 UTC
Does the crash happen also on non wayland? Are you running development versions on purpose? Did you compile it by hand or is it some packaged suse stuff? *** Bug 436840 has been marked as a duplicate of this bug. *** (In reply to Albert Astals Cid from comment #1) > Does the crash happen also on non wayland? > > Are you running development versions on purpose? Did you compile it by hand > or is it some packaged suse stuff? Yes, it happens in x11 session as well. Packages from from the Unstable KDE repositories. Git commit 2c4e4bdab18e1d590403c96c82efe6ca30b55638 by Ahmad Samir. Committed on 10/05/2021 at 11:51. Pushed by dfaure into branch 'master'. Fix crash in KSelectAction If the destroyed() signal from QComboBox, which is connected to the comboBoxDeleted() slot, is emitted while the KSelectAction object is being taken down, there is a crash is QList::removeAll(). Fix the issue by disconnecting the signal in the KSelectActionPrivate() destructor. This fixes a crash when closing a window that contains some KSelectAction objects (e.g. KMail composer window, and OKular). Add a comment explaining why the KSelectActionPrivate() destructor is virtual, the comment is taken from an old commit by pino in kdelibs circa 2007 :) Add unit test. M +32 -0 autotests/kselectaction_unittest.cpp M +2 -0 autotests/kselectaction_unittest.h M +4 -0 src/kselectaction_p.h M +2 -1 tests/kselectactiontest.cpp https://invent.kde.org/frameworks/kwidgetsaddons/commit/2c4e4bdab18e1d590403c96c82efe6ca30b55638 *** Bug 436983 has been marked as a duplicate of this bug. *** |