Summary: | crash while deleting multiple entries in outbox list | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | MK <bugs.m1> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ralf.habacker |
Priority: | NOR | Keywords: | drkonqi |
Version: | 4.8.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kmymoney/f66defd9461bf8b763cbb210f642d9acde8d02f9 | Version Fixed In: | 4.8.1,5.0.0 |
Sentry Crash Report: |
Description
MK
2017-04-26 18:28:36 UTC
I just tried to duplicate this with current 4.8 head and was unable to do so with 12 stored transactions using different selection patterns. Can you duplicate the problem and send an anonymized screenshot how you do that? That would be very helpful. Hi Thomas! I delete all transfers (~50) except of two. In this list of two I _first_ select the _lower_ entry, then the _entry above_. I right click to get the context menu. I keep the right mouse button pressed, go down to "remove" and release the button -> crash. KMM banking plugin works perfectly without a crash if I select the _first_ entry _first_ and then the second entry before removing. Funny. Took me a while to figure out the cause of this once random crash :-) Martin Hi Martin, after many, many tries I figured out how to duplicate the problem. First I thought it is related to the fact that you keep the RMB pressed to reach the context menu action, but that is unrelated. Also, leaving only two entries in the list is unrelated. I got it to crash with all my entries in the list. The cause is the order of selection. Here's how I duplicated it: a) select the last entry in the list using LMB b) holding down Ctrl and select any other entry in the list in addition c) press the remove button on the right of the dialog with LMB -> Boom If you select the very same two entries in reverse order everything works fine. The crash also occurs in KF5 master. Git commit 39f83117b9291fa5e9bbdb2b007b8ec98402874e by Thomas Baumgart. Committed on 01/05/2017 at 12:34. Pushed by tbaumgart into branch 'master'. Fix crash when removing online jobs Whenever more than one entry in the list where selected and the last entry was selected first, the application crashed. FIXED-IN: 5.0 M +4 -7 kmymoney/views/konlinejoboutbox.cpp https://commits.kde.org/kmymoney/39f83117b9291fa5e9bbdb2b007b8ec98402874e Git commit f66defd9461bf8b763cbb210f642d9acde8d02f9 by Thomas Baumgart. Committed on 01/05/2017 at 12:56. Pushed by tbaumgart into branch '4.8'. Fix crash when removing online jobs Whenever more than one entry in the list where selected and the last entry was selected first, the application crashed. FIXED-IN: 4.8.1 M +4 -7 kmymoney/views/konlinejoboutbox.cpp https://commits.kde.org/kmymoney/f66defd9461bf8b763cbb210f642d9acde8d02f9 I did not dig that deep :-) Thanks for fixing it! Martin |