Bug 390044

Summary: can't add new investment in Investments window
Product: [Applications] kmymoney Reporter: Dave Nelson <merlinux>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: lukasz.wojnilowicz
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dave Nelson 2018-02-07 21:29:59 UTC
Version 5.0.80-09ffa40a

Investments | Equities shows current holdings, but 'New Investment...' option in Investment Options popup is greyed out.

I got around it by duplicating and moving transaction from another account.

Generally KMM is working very well. Thank you.
Comment 1 NSLW 2018-02-20 17:37:42 UTC
I cannot reproduce your bug. Do you have investment account selected in "Select account: " combo box? 
It would be helpful if you could provide screenshots?
Comment 2 Dave Nelson 2018-02-21 03:41:49 UTC
(In reply to NSLW from comment #1)
> I cannot reproduce your bug. Do you have investment account selected in
> "Select account: " combo box? 
> It would be helpful if you could provide screenshots?

Thanks for your help.  In the Investments window the accounts listed under Select Account are only investment accounts.  The problem is that right-clicking on the background under the existing equities brings up the Investment Options popup with the New Investment option disabled.  I have just once seen this option enabled but haven't since been able to reproduce it.  
I'm trying to take a screenshot without the popup disappearing and with my data blacked out.
Comment 3 NSLW 2018-02-21 15:09:54 UTC
(In reply to David Nelson from comment #2)
> (In reply to NSLW from comment #1)
> > I cannot reproduce your bug. Do you have investment account selected in
> > "Select account: " combo box? 
> > It would be helpful if you could provide screenshots?
> 
> Thanks for your help.  In the Investments window the accounts listed under
> Select Account are only investment accounts.  The problem is that
> right-clicking on the background under the existing equities brings up the
> Investment Options popup with the New Investment option disabled.  I have
> just once seen this option enabled but haven't since been able to reproduce
> it.  
> I'm trying to take a screenshot without the popup disappearing and with my
> data blacked out.

Could you check with latest master branch and report here? I changed the code related to "New Investment..." entry because of an other reason.
Comment 4 Dave Nelson 2018-02-21 17:08:53 UTC
This problem has gone away in 5.0.80-7150b4a5.
Thank you very much !

However, in this iteration there is a bigger problem: investments have changed type (mutual fund is now a stock) and the values make no sense.  My accounts are all in Canadian dollar, and all current prices show as $1.000.
Comment 5 NSLW 2018-02-21 19:19:31 UTC
(In reply to David Nelson from comment #4)
> This problem has gone away in 5.0.80-7150b4a5.
> Thank you very much !
> 
> However, in this iteration there is a bigger problem: investments have
> changed type (mutual fund is now a stock) and the values make no sense.  My
> accounts are all in Canadian dollar, and all current prices show as $1.000.

Good. Your next problem is another bug, which needs another report, but it needs to contain more details, because it's unusual that investments changed by their self.