[Kmymoney-devel] [Bug 273669] New: Investment Transaction warning messages

allan agander93 at gmail.com
Thu May 19 21:06:14 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=273669

           Summary: Investment Transaction warning messages
           Product: kmymoney4
           Version: SVN trunk
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
        AssignedTo: kmymoney-devel at kde.org
        ReportedBy: agander93 at gmail.com


Version:           SVN trunk (using KDE 4.6.0) 
OS:                Linux

I've noticed that several messages appear on the console when a
'Reinvest dividend' action is selected.

Unknown QLabel named 'fee-label'
Unknown QLabel named 'interest-label'
Unknown QLabel named 'shares-label'
Unknown QLabel named 'price-label'
Unknown QLabel named 'total-label'

I think they emanate from InvestTransactionEditor::slotUpdateActivity.
I've not noticed them previously, but possibly that's because I normally would
not be launching from console when updating investments.

In fact similar messages occur when any investment type is selected from the
combobox, just with differing content.

I've confirmed that the same behaviour exists on a different, Ubuntu system,
which has KMM v 4.5.2.

I did a little debugging. The first time
InvestTransactionEditor::slotUpdateActivity is called, on creating a
new investment transaction, the labels are present.  Then, when I
select 'Buy', and it is entered again, the messages occur.  I haven't yet 
found the labels being deleted anywhere.


Reproducible: Didn't try

Steps to Reproduce:
Launch KMM from the console.
Open an investment in Ledger view.
Open a new transaction.
Select an investment of any type.
The messages appear.

Actual Results:  
As above.


Expected Results:  
No warning messages.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list