Bug 223071 - Crash after editing data in ledger view
Summary: Crash after editing data in ledger view
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-17 03:46 UTC by gumper1034
Modified: 2010-01-27 19:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Snapshot of message windows (63.88 KB, image/png)
2010-01-17 16:42 UTC, gumper1034
Details
crash report (2.49 KB, application/octet-stream)
2010-01-18 05:03 UTC, gumper1034
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gumper1034 2010-01-17 03:46:42 UTC
Version:           svn 1075687 (using KDE 4.3.4)
OS:                Linux

Working in the ledgers view and trying to edit the "Pay to" information for an entry. After making changes to the pay to info two windows come up. One asking me if I want to add the new payer/receiver and the other window is to cancel transaction edit. After answering both of these windows the program will crash. Not sure why the cancel transaction window shows up as I didn't select the cancel button.  

Running svn 1075687
Comment 1 Alvaro Soliverez 2010-01-17 13:05:33 UTC
I can't reproduce that? Are you sure this happened with the latest SVN? Because there were changes in that area exactly to prevent that from happening.
Comment 2 gumper1034 2010-01-17 15:42:10 UTC
The SVN that I used was from yesterday morning. I will get the latest source and try it again.
Comment 3 gumper1034 2010-01-17 16:42:12 UTC
Created attachment 39978 [details]
Snapshot of message windows
Comment 4 Alvaro Soliverez 2010-01-17 17:16:46 UTC
I need to know the exact keys you press to make this bug happen.
Comment 5 gumper1034 2010-01-17 17:34:33 UTC
Working in the Ledgers view with a checking account. Select a withdrawal entry to edit, select "Edit", modify the "Pay to" information and select the "Enter /checkmark" button. After selecting this button the two windows come up that I attached earlier. It then doesn't matter what I select for either of these, the program crashes either way. 

Using svn 1076094
Comment 6 gumper1034 2010-01-18 05:03:04 UTC
Created attachment 40001 [details]
crash report

Adding the information from the KDE crash handler. Hope it helps.
Comment 7 KMyMoney Devel Mailing List 2010-01-18 11:44:15 UTC
Not really, the stack trace doesn't have any real info, because the problem is way before it crashes, when the windows popup.

I can't reproduce the behaviour with the steps you say, so I'm stuck for now. If anyone else can crash it and send some tip this way, I would appreciate it. -- Alvaro
Comment 8 gumper1034 2010-01-19 03:38:45 UTC
I hope that I might have a little more information for you. I wonder if after you change the information in the "Pay to" field are you then hitting the enter key on your keyboard to accept the change or are you selecting the "checkmark /enter" button in kmymoney? I noticed that if after making the change to the payee I use my keyboard enter key to accept this new entry it doesn't crash. It only crashes if I select the "checkmark / enter" button after making the changes while the cursor is still in the "Pay to" window. 

It also might depend upon whether the "Show transaction form" is selected in the configuration. Mine is checked.
Comment 9 Cristian Oneț 2010-01-20 07:18:18 UTC
SVN commit 1077411 by conet:

BUG: 223071
Fixed crash if the Enter or Cancel button of the transaction form where pressed while the completion of a combobox from the transaction form was still visible.

 M  +3 -2      kgloballedgerview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1077411
Comment 10 Cristian Oneț 2010-01-27 19:30:38 UTC
SVN commit 1081099 by conet:

BUG: 223071
Fixed crash if the Enter or Cancel button of the transaction form where pressed while the completion of a combobox from the transaction form was still visible. Refine the criteria used to popup the transaction edit cancel dialog.

 M  +1 -1      kgloballedgerview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1081099