Bug 246212

Summary: Edit problems using transaction form in investment ledger
Product: [Applications] kmymoney Reporter: Thomas Baumgart <tbaumgart>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: agander93, nguyenthetoan
Priority: HI    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thomas Baumgart 2010-07-30 09:16:01 UTC
Version:           unspecified (using KDE 4.3.5) 
OS:                Linux

Editing an investment transaction does not hide/show all widgets as expected for the given type of activity. The memo edit widget is not visible.

Reproducible: Always

Steps to Reproduce:
- Select existing dividend transaction (all values are show in form)
- Reselect 'Dividend' in the activity widget -> some widgets disappear
- The memo widget is not visible at all times


Actual Results:  
Hiding / showing widgets based on activity type does not work properly

Expected Results:  
Works as in 1.0.5

Note for devs: Setting m_rowsForm to 8 in the InvestTransaction ctor in widgets/transaction.cpp shows the memo field  but also an empty line at the bottom.
Comment 1 Alvaro Soliverez 2010-08-09 04:48:24 UTC
I tried to reproduce it. Here are my findings:

- I see the memo at all times
- The account widget shows up when editing the transaction. It hides if the activity is reselected.

- The problem seems to be on the constructor of the investtrasactioneditor, but I can't find it
Comment 2 Alvaro Soliverez 2010-10-18 01:04:44 UTC
*** Bug 254503 has been marked as a duplicate of this bug. ***
Comment 3 Thomas Baumgart 2011-09-28 19:03:24 UTC
Didn't we fix this lately?
Comment 4 allan 2011-10-15 15:04:25 UTC
(In reply to comment #3)
> Didn't we fix this lately?

It looks like it, yes.  I thought I had got it working correctly.

Certainly for me, reselecting the Dividend activity doesn't hide either the Account and Memo widgets.

I would say it's fixed.