Bug 225085

Summary: Clicking on category doesn't show that category in ledger view
Product: [Applications] kmymoney Reporter: gumper1034
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description gumper1034 2010-02-01 03:07:12 UTC
Version:           svn 1082460 (using KDE 4.3.4)
OS:                Linux
Installed from:    Archlinux Packages

If the option, 'Hide reconciled transactions" is active, double clicking on a category in the Categories window will open up the ledger view but nothing is displayed. If the 'Hide reconciled transactions' is not active, the category will be displayed properly.
Comment 1 Thomas Baumgart 2010-02-06 09:27:06 UTC
What is the status of the transactions in the 'C' column?
Comment 2 gumper1034 2010-02-06 14:04:28 UTC
When I dbl click on the category to open it up the 'C' column is empty for each entry.

If I go and check those entries in the normal ledger view some of the entries are marked with a 'C' or 'R' and some with nothing in that column. Either way nothing will show up when the 'Hide reconciled transactions' is active.
Comment 3 Thomas Baumgart 2010-02-06 16:05:02 UTC
Problem also applies to KMyMoney 1.0.2
Comment 4 Thomas Baumgart 2010-02-06 16:40:04 UTC
Oh, this is tricky. It is caused by pretty ancient code which I don't want to touch right now (MyMoneyTransactionFilter) as it is used by various parts of the application (incl. reporting) and I don't want to break them.

Short term proposal: Ignore the 'hide reconciled transactions' setting when showing a category in the ledger view

Long term proposal: Fix the whole thing.

Thoughts? Should we go for the short term solution?
Comment 5 gumper1034 2010-02-06 16:54:46 UTC
I think your short term solution would be good for now.

Come to think of it, why is it even necessary to ever hide reconciled transactions when showing a category? Doesn't it make more sense to always show all the transactions whether they're reconciled or not? For me I want to see all the entries for a category and I'm not really sure why you would want to filter them by whether they're reconciled or not. I would think that being able to display them by a date range would be a better option.
Comment 6 Thomas Baumgart 2010-02-06 18:19:08 UTC
SVN commit 1086206 by tbaumgart:

Only try to hide reconciled transactions in asset, liability and equity accounts.

BUG: 225085

 M  +2 -1      kgloballedgerview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1086206