Summary: | Crash while attempting to edit a transaction | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Dawid Wróbel <me> |
Component: | ux-ui | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | git (master) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Dawid Wróbel
2023-03-16 19:44:33 UTC
Immediate error is: Model for "G" loaded with 1 items in 0 ms qt.core.qabstractitemmodel.checkindex: Index QModelIndex(-1,-1,0x0,QObject(0x0)) is not valid (expected valid) ASSERT: "checkIndex(index, CheckIndexOption::IndexIsValid)" in file /Users/cromo/Documents/Sourcecode/vcpkg/buildtrees/qt5-base/src/5.15.7-84bc9f0b01.clean/src/corelib/itemmodels/qconcatenatetablesproxymodel.cpp, line 192 this is a call from: QSortFilterProxyModel::setSourceModel(QAbstractItemModel *) qsortfilterproxymodel.cpp:2151 KTagContainer::setModel(QAbstractItemModel *) ktagcontainer.cpp:175 NewTransactionEditor::NewTransactionEditor(QWidget *, const QString &) newtransactioneditor.cpp:774 NewTransactionEditor::NewTransactionEditor(QWidget *, const QString &) newtransactioneditor.cpp:712 and before that: d->ui->tagContainer->setModel(file->tagsModel()->modelWithEmptyItem()); Git commit 7ba253659a13bc814b716eab4d0491f8194336eb by Thomas Baumgart. Committed on 18/03/2023 at 06:04. Pushed by tbaumgart into branch 'master'. Try to fix crash due to invalid QModelIndex Set source model on QComboBox not before the filter source model is set. M +4 -1 kmymoney/widgets/ktagcontainer.cpp https://invent.kde.org/office/kmymoney/commit/7ba253659a13bc814b716eab4d0491f8194336eb Does this still happen with newer versions? Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |