Summary: | Crash when entering scheduled transaction | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Ingo Klöcker <kloecker> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | 5.2.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/office/kmymoney/-/commit/3765702bf08995056cc73cfa7341bb2052f93ec9 | Version Fixed In: | 5.2.1 |
Sentry Crash Report: |
Description
Ingo Klöcker
2025-07-01 19:21:32 UTC
It doesn't crash if I do 1.-7. as above and then 8. Press menu key (to open context menu on scheduled transaction). 9. Press Down until Enter next transaction 10. Press Return Oh. Very interesting. After successfully entering a scheduled transaction (see previous comment) I went to the next ledger, selected a scheduled transaction with the keyboard and pressed Ctrl+Shift+Insert. Very much to my surprise I'm now offered the next scheduled transaction of the previous ledger. It seems that the selection model (that was 0 when it crashed) is still pointing to the item in the item model belonging to the previous ledger. Apparently, the selection model is not properly initialized/reset when a ledger is entered. I was able to reproduce the problem but only after I assigned that shortcut to the action. Git commit 832128ca75d5ad9e15a86ebf3ae59afae9a01c22 by Thomas Baumgart. Committed on 02/07/2025 at 18:19. Pushed by tbaumgart into branch '5.2'. Figure out the schedule when entering through shortcut FIXED-IN: 5.2.1 M +7 -6 kmymoney/views/kscheduledview.cpp M +16 -6 kmymoney/views/kscheduledview_p.h https://invent.kde.org/office/kmymoney/-/commit/832128ca75d5ad9e15a86ebf3ae59afae9a01c22 Git commit 3765702bf08995056cc73cfa7341bb2052f93ec9 by Thomas Baumgart. Committed on 02/07/2025 at 18:20. Pushed by tbaumgart into branch 'master'. Figure out the schedule when entering through shortcut FIXED-IN: 5.2.1 (cherry picked from commit 832128ca75d5ad9e15a86ebf3ae59afae9a01c22) M +7 -6 kmymoney/views/kscheduledview.cpp M +16 -6 kmymoney/views/kscheduledview_p.h https://invent.kde.org/office/kmymoney/-/commit/3765702bf08995056cc73cfa7341bb2052f93ec9 It's possible that I assigned this shortcut ages ago. Thanks for the quick fix! |