https://bugs.kde.org/show_bug.cgi?id=506454

            Bug ID: 506454
           Summary: Crash when entering scheduled transaction
    Classification: Applications
           Product: kmymoney
      Version First 5.2.0
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

KMyMoney crashes when trying to enter a due scheduled transaction shown in the
ledger.

STEPS TO REPRODUCE
1. I have a few ledgers open in tabs.
2. Ctrl+7 to switch to Ledgers.
3. Tab Tab Tab ... until first ledger tab (in tab bar) has focus.
4. Right Right ... until ledger with due scheduled transaction has focus.
5. Tab Tab to give focus to list view.
6. Up Down to see last entered transaction. (This is a workaround because the
list view should really scroll to the current/selected transaction.)
7. Down to select scheduled transaction.
8. Ctrl+Shift+Insert to insert scheduled transaction.

CRASH

#0  QAbstractItemView::selectionModel (this=0x0)
    at
/usr/src/debug/qtbase-everywhere-src-6.9.1/src/widgets/itemviews/qabstractitemview.cpp:837
#1  0x00005555556dc734 in KScheduledViewPrivate::selectedSchedule
(this=0x555555fe1850, action=<optimized out>)
    at /usr/src/debug/kmymoney-5.2.0/kmymoney/views/kscheduledview_p.h:386
#2  0x00005555556e5aa6 in KScheduledView::slotEnterSchedule
(this=0x555555e106f0)
    at /usr/src/debug/kmymoney-5.2.0/kmymoney/views/kscheduledview.cpp:245
#3  0x00007ffff54199a1 in QtPrivate::QSlotObjectBase::call
    (this=0x55555607e410, r=<optimized out>, a=0x7fffffffcaa0, this=<optimized
out>, r=<optimized out>, a=<optimized out>)
    at
/usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobjectdefs_impl.h:461
#4  doActivate<false> (sender=0x5555560753d0, signal_index=7,
argv=0x7fffffffcaa0)
    at
/usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobject.cpp:4146
#5  0x00007ffff5fcb8e6 in QMetaObject::activate<void, bool>
    (sender=0x5555560753d0, mo=0x7ffff634cbc0, local_signal_index=4, ret=0x0,
sender=<optimized out>, mo=<optimized out>, local_signal_index=<optimized out>,
ret=<optimized out>) at
/usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobjectdefs.h:306
#6  QAction::triggered (this=this@entry=0x5555560753d0, _t1=<optimized out>)
    at
/usr/src/debug/qtbase-everywhere-src-6.9.1/build/src/gui/Gui_autogen/include/moc_qaction.cpp:372
[...]

Obviously, the selection model is nullptr.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to