Bug 322768

Summary: Interest category and amount disappear when new fee entered in Dividend.
Product: [Applications] kmymoney Reporter: allan <agander93>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: onet.cristian
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A patch that make fixes the visibility issue

Description allan 2013-07-24 12:52:09 UTC
As above.

Reproducible: Always

Steps to Reproduce:
1.Open a new Dividend transaction.
2.Enter an interest category and amount.
3.Enter a new fee category.
4.On accepting the new category, the interest category and amount have been cleared.
5.With the fee now entered, the interest details may also be added.

Actual Results:  
As above.

Expected Results:  
The interest details should not get cleared.

I have seen this previously.
Comment 1 Cristian Oneț 2013-09-25 11:30:51 UTC
Allan, please post all widget disappearing related patches and review request for this bug report.
Comment 2 Cristian Oneț 2013-09-25 11:39:25 UTC
Created attachment 82487 [details]
A patch that make fixes the visibility issue

Note that the patch is incomplete since delayed calls to show()/hide() must be replaced with synchronous calls to show()/hide() to avoid flickering on window resize. Allan is working on this.
Comment 3 allan 2013-10-03 09:37:04 UTC
Git commit 6b6aba3f1aaae3c6d7a1466492a8cdb478c10da8 by Allan Anderson.
Committed on 02/10/2013 at 15:33.
Pushed by allananderson into branch 'master'.
Related: bug 112947
when new fee entered in Dividend. Also, fixes for KEditWidget
visibility issues.

M  +16   -12   kmymoney/dialogs/investactivities.cpp
M  +38   -19   kmymoney/dialogs/investtransactioneditor.cpp
M  +2    -0    kmymoney/dialogs/investtransactioneditor.h
M  +1    -1    kmymoney/dialogs/transactioneditor.cpp
M  +11   -0    kmymoney/widgets/transactioneditorcontainer.h

http://commits.kde.org/kmymoney/6b6aba3f1aaae3c6d7a1466492a8cdb478c10da8
Comment 4 Cristian Oneț 2013-10-03 18:05:27 UTC
Git commit 967fa2d7c4f9253d5c8826548f5870f27b738b1f by Cristian Oneț, on behalf of Allan Anderson.
Committed on 02/10/2013 at 15:33.
Pushed by conet into branch '4.6'.
Related: bug 112947
when new fee entered in Dividend. Also, fixes for KEditWidget
visibility issues.
(cherry picked from commit 6b6aba3f1aaae3c6d7a1466492a8cdb478c10da8)

M  +16   -12   kmymoney/dialogs/investactivities.cpp
M  +38   -19   kmymoney/dialogs/investtransactioneditor.cpp
M  +2    -0    kmymoney/dialogs/investtransactioneditor.h
M  +1    -1    kmymoney/dialogs/transactioneditor.cpp
M  +11   -0    kmymoney/widgets/transactioneditorcontainer.h

http://commits.kde.org/kmymoney/967fa2d7c4f9253d5c8826548f5870f27b738b1f
Comment 5 Christoph Feck 2013-10-12 21:22:03 UTC
Please use separate lines for BUG: xxx and REVIEW: xxx in commit messages, otherwise you accidentally modify an unrelated bug (here bug 112947).
Comment 6 allan 2013-10-12 22:50:44 UTC
On Sat, 12 Oct 2013 21:22:03 +0000
Christoph Feck <christoph@maxiom.de> wrote:

> https://bugs.kde.org/show_bug.cgi?id=322768
> 
> --- Comment #5 from Christoph Feck <christoph@maxiom.de> ---
> Please use separate lines for BUG: xxx and REVIEW: xxx in commit
> messages, otherwise you accidentally modify an unrelated bug (here
> bug 112947).
> 

Yes, apologies for my ignorance.  This was actually pointed out to me a
few days ago.

I have done a local one since, which appears to be OK, although when I
did it, it looked as though my return had been ignored.

Allan
Comment 7 Cristian Oneț 2014-09-24 12:15:47 UTC
*** Bug 319461 has been marked as a duplicate of this bug. ***