Bug 246212 - Edit problems using transaction form in investment ledger
Summary: Edit problems using transaction form in investment ledger
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: HI normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
: 254503 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-30 09:16 UTC by Thomas Baumgart
Modified: 2011-10-16 06:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.