Summary: | Crashes on exit: [~TextEdit → TextEdit::updateRemainingCharsCount] | ||
---|---|---|---|
Product: | [Applications] choqok | Reporter: | Mathias Homann <Mathias.Homann> |
Component: | general | Assignee: | Andrea Scarpino <scarpino> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | fbriere |
Priority: | NOR | Keywords: | drkonqi |
Version: | 1.7.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=400117 https://bugs.kde.org/show_bug.cgi?id=364447 |
||
Latest Commit: | https://invent.kde.org/network/choqok/commit/27fd8ef86b98b0062f3488a3563091ac9afdfe70 | Version Fixed In: |
Description
Mathias Homann
2022-06-20 10:33:34 UTC
FYI, you can currently work around this bug by disabling the automatic spellchecking option. (In reply to Frédéric Brière from comment #1) > FYI, you can currently work around this bug by disabling the automatic > spellchecking option. that actually worked! A possibly relevant merge request was started @ https://invent.kde.org/network/choqok/-/merge_requests/15 Git commit 27fd8ef86b98b0062f3488a3563091ac9afdfe70 by Frédéric Brière. Committed on 21/06/2022 at 13:59. Pushed by scarpino into branch 'master'. Disconnect self-connected signals emitted from a parent class Signals connected from an object to itself should be disconnected in the dtor if said signal is emitted from the parent class. Otherwise, if that signal ends up being emitted in the parent dtor, it will attempt to invoke a method on the now-destroyed child object. (In all fairness, only one of these connections, namely the one to TextEdit::textChanged(), is actually problematic, as all others fall into the "you can no longer click on stuff at this point anyway" category. Still, better safe than sorry.) M +2 -0 choqok/mainwindow.cpp M +4 -0 libchoqok/ui/choqoktextedit.cpp M +1 -0 plugins/betternotify/dummynotification.cpp https://invent.kde.org/network/choqok/commit/27fd8ef86b98b0062f3488a3563091ac9afdfe70 |